Changes

Jump to: navigation, search

FlashGordon

11 bytes added, 08:43, 1 November 2013
/* Calling an RSX from assembler */
<nowiki>
RST &18;
DW table RETtable RETtable DW &C009 ; Address of code to call DB &04 ; Rom number to connect</nowiki>
You can also use CALL &0023 which expects HL to points to a table in the same format.
The search for an RSX is done using the linked list RSX blocks. It starts with the background ROMs from 15 to 0, then the foreground ROMs from 0 to 15, then from 16 until the BASIC ROM is detected. Finally, RAM-based RSXs are searched.
 
==Accessing RAM and ROM==
1,963
edits