Kernal Routines


ACPTR

PreparationTALK, TKSA
Send.Aignored
.Xignored
.Yignored
Stack usage13
Address$FFA5, 65445
Returns.AByte from serial bus
.Xundefined
.Ypreserved


LOAD

PreparationSETLFS, SETNAM
Send.A0 for LOAD, 1 for VERIFY
.XLow byte of loading address (if opened w/relocation)
.YHigh byte of loading address (if opened w/relocation)
Stack usage0
Address$FFD5, 65493
Returns.Aundefined
.XLow byte of ending address
.YHigh byte of ending address


SAVE

PreparationSETLFS, SETNAM
Send.AZero-page location of Starting Address pointer
.XLow byte of Ending Address
.YHigh byte of Ending Address
Stack usage0
Address$FFD8, 65496
Returns.Aundefined
.Xundefined
.Yundefined


OPEN

PreparationSETLFS, SETNAM
Send.Aignored
.Xignored
.Yignored
Stack usage0
Address$FFC0, 65472
Returns.Aundefined
.Xundefined
.Yundefined


SETNAM

Preparationnone
Send.ALength of filename
.XLow byte of address of filename
.YHigh byte of address of filename
Stack usage2
Address$FFBD, 65469
Returns.Apreserved
.Xpreserved
.Ypreserved


SETLFS

Preparationnone
Send.AFile number
.XDevice unit number
.YSecondary address or Command ($FF for no value)
Stack usage2
Address$FFBA, 65466
Returns.Apreserved
.Xpreserved
.Ypreserved


CLOSE

PreparationOPEN

Send.AFile number
.Xignored
.Yignored
Stack usage2
Address$FFC3, 65475
Returns.Aundefined
.Xundefined
.Yundefined


CLALL

Preparation[OPEN]
Send.Aignored
.Xignored
.Yignored
Stack usage11
Address$FFE7, 65511
Returns.Aundefined
.Xundefined
.Ypreserved


CHKIN

PreparationOPEN

Send.Aignored
.XFile number
.Yignored
Stack usage0
Address$FFC6, 65478
Returns.Aundefined
.Xundefined
.Yreserved


CHKOUT

PreparationOPEN
Send.Aignored
.XFile number
.Yignored
Stack usage4+
Address$FFC9, 65481
Returns.Aundefined
.Xundefined
.Ypreserved


CHRIN

Preparation[OPEN, CHKIN]
Send.Aignored
.Xignored
.Yignored
Stack usage7+
Address$FFCF, 65487
Returns.ARetrieved byte
.Xundefined
.Ypreserved


CHROUT

Preparation[OPEN, CHKOUT]
Send.AByte to send
.Xignored
.Yignored
Stack usage8+
Address$FFD2, 65490
Returns.Aundefined
.Xpreserved
.Ypreserved


READST

Preparationnone
Send.Aignored
.Xignored
.Yignored
Stack usage2
Address$FFB7, 65463
Returns.AStatus code
.Xpreserved
.Ypreserved


All pages were generated with a text editor.
All images (except counter art and host ads) are generated, owned and (c) by me.

Home - Files - Super Reference
1