[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to pause an EXEC?



I suspect what is happeneing is that EXEC uses the same ZP addresses as
the LOAD function.  If this is the case, you could point EXEC to use
different ZP addresses to avoid conflicts.

Another option is to reimplement the EXEC routine.  :-)   Point the
line input routine to your own buffer-driven routine and when you reach
EOF in your data, set the input routine back to the default one.  Doing
so, you could bypass the nastiness of your current situation -- but it
would require a little assembler to pull it off.  The main loop would
be pretty easy, just copy a line to the memory in $200 and then call
the same routine that processes the CR keypress to interpret the line.
There is probably a more straightforward way to do this, but emulating
the keypress routine is probably the least difficult.

A third option is to copy/paste the text file into the emulator window
of applewin, which doesn't care one way or another about what the
virtual computer is doing. ;-)