Home 

IBM 5160  -  Cassette BASIC


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

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

On the IBM 5160 motherboard, it resides together with the BIOS in chips U18 and U19 (both chips are ROM's).

Yes, this is pretty much the same 'cassette BASIC' found in the 5160's predecessor, the IBM 5150.  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 IBM 5160, 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 in your IBM 5160; then
• reserves some of that 64 KB for itself; then
• displays the free amount, e.g. "62940 Bytes free".


Alias

In the Guide to Operations manuals for the IBM 5160, IBM no longer use 'cassette BASIC'.  IBM BASIC is used instead.
In the IBM 5160 Technical Reference manuals, 'cassette BASIC' and 'resident BASIC' are used.