Hi! > 2) is there a way in BASIC to detect if the program is running on a C16 or > Plus/4? I'd assume I just look into the ROM somewhere, but where ??? There is no difference between the C16 and Plus/4 ROM. Instead, the Reset routine checks the available RAM amount by the method Marko wrote (writes to $ffx0...$ffff, then checks if $3fx0, then $7fx0 is the same). Actually, it can detect three different memory sizes (16K, 32K and 64K) - there was a prototype in this series, the 232 which was somehow equipped with 32K of RAM. (Sometimes the Reset routine gets confused. Copy the $ff40...$ffff ROM to $3f40 in Monitor and press Reset. You'll see it starting with 12277 bytes free...). L. - This message was sent through the cbm-hackers mailing list. To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.
Archive generated by hypermail 2.1.1.