User Tools

Site Tools


base:using_a_running_vice_session_for_development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
base:using_a_running_vice_session_for_development [2016-06-30 11:18] – corrections in Makefile snippets compyxbase:using_a_running_vice_session_for_development [2016-06-30 14:43] compyx
Line 235: Line 235:
 Since we bypass the C64's OS (the BASIC interpreter), when we execute code using the above method, the C64 doesn't know we executed a program and keeps the IRQ of the interpreter running, resulting in a nice blinking cursor. Since we bypass the C64's OS (the BASIC interpreter), when we execute code using the above method, the C64 doesn't know we executed a program and keeps the IRQ of the interpreter running, resulting in a nice blinking cursor.
  
-So we need a way to do a proper 'RUN' after injecting our program. We can do this with a simple SYS line and some tweaking of the BASIC end-of-program pointer and keyboard buffer.+So we need a way to do a proper 'RUN' after injecting our program. We can do this with a simple SYS line and some tweaking of the <del>BASIC end-of-program pointer and</de> keyboard buffer.
  
 Let's assume our demo.s looks like this: Let's assume our demo.s looks like this:
Line 262: Line 262:
 # load binary # load binary
 echo 'l "demo.prg" 0' localhost 6510 echo 'l "demo.prg" 0' localhost 6510
-# patch end-of-basic pointer 
-echo 'f 002d 002e 0d 08' | netcat localhost 6510 
 # put 'RUN\r' into the keyboard buffer # put 'RUN\r' into the keyboard buffer
 echo 'f 0277 027a 52 55 4e 0d' | netcat localhost 6510 echo 'f 0277 027a 52 55 4e 0d' | netcat localhost 6510
Line 304: Line 302:
         # load demo.prg from the virtual FS, our host OS         # load demo.prg from the virtual FS, our host OS
         echo 'l "demo.prg 0"' | netcat localhost 6510         echo 'l "demo.prg 0"' | netcat localhost 6510
-        # set end-of-basic pointer 
-        echo 'f 002d 002e 0d 08' | netcat localhost 6510 
         # put 'RUN\r' into the keyboard buffer         # put 'RUN\r' into the keyboard buffer
         echo 'f 0277 027a 52 55 4e 0d' | netcat localhost 6510         echo 'f 0277 027a 52 55 4e 0d' | netcat localhost 6510
base/using_a_running_vice_session_for_development.txt · Last modified: 2016-07-01 13:35 by compyx