CBM/PET BASIC
Posted: Wed Jan 02, 2008 3:53 pm
A rather detailed memory map of the CBM8032/PET ROM can be found in:
http://www.zimmers.net/anonftp/pub/cbm/ ... t/d/petdis
But what about RAM usage? RAM for BASIC use starts at $0400. Is there somewhere a good/detailed description of how BASIC uses RAM and especially where in RAM the different pointers to "START/END of code" and "START/END of variables" are situated.
I have developped a utility to move data back and forward between a PC and an 8032 using the User Port (Between PET ram and a PC ASCII-HEX file on harddisk) and I would like to use this interface to store BASIC programs on the PC harddisk. I.e. to do what the PET system does when the "load" and "save" commands for casset tape storage are typed! A rather tricky "hacking" deep into the CBM software!
http://www.zimmers.net/anonftp/pub/cbm/ ... t/d/petdis
But what about RAM usage? RAM for BASIC use starts at $0400. Is there somewhere a good/detailed description of how BASIC uses RAM and especially where in RAM the different pointers to "START/END of code" and "START/END of variables" are situated.
I have developped a utility to move data back and forward between a PC and an 8032 using the User Port (Between PET ram and a PC ASCII-HEX file on harddisk) and I would like to use this interface to store BASIC programs on the PC harddisk. I.e. to do what the PET system does when the "load" and "save" commands for casset tape storage are typed! A rather tricky "hacking" deep into the CBM software!