<<Cheats >>

Home Page

Projects...
PC Controller Box
Joystick Switch Box
c128D Refurb

Programs...
Byte Simulator
Cheat 'O Matic
GEOS

Collections...
3D Models
Book Collection

Information...
My BASIC Notes
Web Links

eMail Me

Note: You must add uk to the end of the address, it's to help prevent spam.

My BASIC Notes

Basic2 Commands
Disk Drives
ASCII and CHR$ Codes
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite

Disk Access Commands

OPEN fn,dn,sn
Open a file channel to Tape: OPEN fn, dn, sn, "name"
Open a file channel to Disk Drive: OPEN fn, dn, sn, "name, ft, di"
goto OPEN.

COMMAND
DESCRIPTION
DETALES
fn
unique number for that file to use with INPUT#, GET#, PRINT#.
dn
the device number of the drive 1= Tape deck
8 to 30 = Disk drives
sn
secondary number 0 = Tape read
1 = Tape write
2 = Tape write with End-of-tape marker
4 = Printer
5 to 14 = Is used for the Disk Drives
15 = Disc Drive error channel
"name"
File Name. (16 charites Max)
ft
File Type (Disk only) S = Sequential
P = Program
U = User
A = Append
L = Length (Relative file)
di
Direction (Disk only) R = read
W = write
M = modify


INPUT#fn,data
Retrieve a string data from file, goto INPUT#.

PRINT#fn,data
Write string data to file, goto PRINT#.

GET#fn,data
Reads data from the file one Byte at a time, goto GET#.


Commodore Cheetah made by Allen Monks, started in the year 2000.