Home 

IBM 5162  -  Cassette BASIC


This is the BASIC that is built into the IBM 5162 motherboard.

The 5162 motherboard will boot to cassette BASIC if it cannot find a disk that it can boot from.

On the 5162 motherboard, it resides together with the BIOS in chips U34 and U35.

Yes, this is pretty much the same 'cassette BASIC' found in the 5162's predecessors.  And it has the same limitation of not being able to write/read BASIC files to/from floppy disks (or hard disk drives).  If you require disk support, then use the BASIC or BASICA included in IBM PC DOS (or the BASIC in MS-DOS).


Version

When cassette BASIC starts, one of the things displayed is the version number.
In a 5162, it will be version C1.10
The 'C' portion is an indicator that the BASIC is the 'cassette' version.


RAM usage

Although cassette BASIC runs from ROM, it uses RAM (for itself, to hold your program, for variables, etc.)

When cassette BASIC starts:
• it uses 64 KB of whatever RAM is fitted on your 5162 motherboard; then
• reserves some of that 64 KB for itself; then
• displays the free amount, e.g. "62940 Bytes free".


Alias

In the 5162 Technical Reference manual, both 'cassette BASIC' and 'resident BASIC' are used.