Re: Plus/4 C16 Questions

From: Levente Hársfalvi (
Date: 2000-02-23 11:56:03


> 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...).

This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail

Archive generated by hypermail 2.1.1.