BASIC and the KIM-1

From: Philip.Belben_at_powertech.co.uk <(Philip.Belben_at_powertech.co.uk)>
Date: Mon Jul 12 06:42:00 1999

>> That would be cool (though a commented disassembly would be even better,
>> if that's available from anyone). I'm really particularly interested in
>> *any* small BASIC implementation on the 6502 (Commodore BASIC doesn't
>> count -- *you* try wading through 16K of uncommented disassembly ;-).
>
> Appendix F of "PET/CBM Personal Computer Guide" by Adam Osborne/Carroll S
> Donahue consists of about 40 pages of lists of entry points and
> addresses/labels for routines in the BASIC ROMs. It's not a disassembly,
> but it would be great help to anyone trying to interpret one.


IMHO the best guide to PET internals is "Programming the PET/CBM" by Raeto West.
Pages and pages of guide to the ROMs (though no commented disassembly, I'm
afraid), comparing different versions, and explaining the bugs in early
versions.

ISTR the PET has 14K (on early PETS, 7 * 2K byte chips) of ROM (except for 4000
series and later) of which roughly 8K is BASIC and 6K is Kernal. In PETs with 4
* 4K chips, the remaining 2K is permanently paged out to make room for I/O
stuff.

And not all that 8K is machine code - you've got tables of reserved words and
addresses and things too.

Philip.





**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

Power Technology Centre, Ratcliffe-on-Soar,
Nottingham, NG11 0EE, UK
Tel: +44 (0)115 936 2000
http://www.powertech.co.uk
**********************************************************************
Received on Mon Jul 12 1999 - 06:42:00 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:32:11 BST