[Coco] Color BASIC BREAK CHECK RAM hook ($17c)

Allen Huffman alsplace at pobox.com
Sat Jun 18 20:41:28 EDT 2022


And … I think I found it.

The BREAK CHECK code does not always use that entry point, which adds the RAM Hook. Some spots directly call the break check, bypassing the RAM Hook completely.  Because of this, it does not look like this RAM Hook can be used to disable break checks except when dealing with files/devices.

* MAIN COMMAND INTERPRETATION LOOP
LAD9E JSR RVEC20    HOOK INTO RAM
   ANDCC #$AF   ENABLE IRQ,FIRQ
   BSR LADEB   CHECK FOR KEYBOARD BREAK

That is one example I found, jumping directly to LADEB, which is where the RAM Hook code goes to.

Mystery solved.

		— Allen



More information about the Coco mailing list