[comp.sys.apple] ProDOS warm re-hook

mdavis@pro-sol.cts.COM (Morgan Davis) (02/14/88)

You can install a custom input routine with BASIC.SYSTEM under ProDOS by
putting your assembly code somewhere safe in memory ($300 is okay if it's less
than 200 bytes).  Then all you do is:

        PRINT CHR$(4)"IN# A$300"

Make sure your routine modifies only the accumulator, and the beginning of
your routine should start with a CLD instruction.  See Apple's BASIC
Programming Reference (ProDOS) for more details.