MDFS::Software.Spectrum.BBCBasic.Docs.info.htm Search  

BBC BASIC for the Sinclair Spectrum

VDU Interface

All BBC MOS VDU codes are queued correctly. Currently, only text VDU codes are acted on.
0NULL   8Cursor left   16    24,x1,x2,y1,y2,x3,x4,y3,y4 
1,n   9Cursor right  17,nCOLOUR n  25,k,x1,x2,y1,y2 
2   10Cursor down  18,a,c   26Reset window
3   11Cursor up  19,l,p,r,g,b   27Escape
4   12CLS  20Reset colours  28,x1,y1,x2,y2 
5   13CR  21Disable VDU  29,x1,x2,y1,y2 
6Enable VDU  14   22,nMODE  30Home cursor
7   15   23,x,a,b,c,d,e,f,g,hDefine character  31,x,yTAB(x,y)

File Interface

Filenames are [d:]filename. If d: is present it can be T: for Tape or 1: to 8: for microdrive 1 to 8. Currently, only T: is supported. Microdrive support is being tested.

MOS Interface

Oscli, Osbyte, Osword

Memory Map

Basic can use all memory from PAGE to HIMEM.

Accessing ZX BASIC

Holding Z on Reset will enter ZX BASIC instead of BBC BASIC.
HOME   BBCBASIC   ZX SPECTRUM   Z80
Hosted by Force9 Internet - Authored by J.G.Harston - Last update: 12-Jul-2006