fixes to LOAD, some documentation updates

This commit is contained in:
FeralChild64 committed 2019-10-04 20:24:13 +02:00
1 parent e75ceae3f1
commit af9e6abb8f
14 files changed
+50 -32

No files matched your search

+33 -22
View File
@@ -105,43 +105,51 @@
.label BUFPNT = $A6 // -- NOT IMPLEMENTED --
.label INBIT = $A7 // -- NOT IMPLEMENTED --
// #if CONFIG_EXTENDED_SCNKEY
#if CONFIG_EXTENDED_SCNKEY
// Reuse RS232 variables, since they should not be used by other things.
// Carefully avoid $A7 which is used by 64NET
.label KeyQuantity = $A8 // 1 byte
.label BufferNew = $A9 // 3 bytes
// #endif // CONFIG_EXTENDED_SCNKEY
// .label BITCI = $A8 // -- NOT IMPLEMENTED --
// .label RINONE = $A9 // -- NOT IMPLEMENTED --
// .label RIDDATA = $AA // -- NOT IMPLEMENTED --
// .label RIPRTY = $AB // -- NOT IMPLEMENTED --
#else
.label BITCI = $A8 // -- NOT IMPLEMENTED --
.label RINONE = $A9 // -- NOT IMPLEMENTED --
.label RIDDATA = $AA // -- NOT IMPLEMENTED --
.label RIPRTY = $AB // -- NOT IMPLEMENTED --
#endif
.label SAL = $AC // $AC-$AD -- NOT IMPLEMENTED -- (implemented screen part)
.label EAL = $AE // $AE-$AF -- NOT IMPLEMENTED -- [!] used also by screen editor, for temporary color storage when scrolling
.label CMP0 = $B0 // $B0-$B1 temporary tape storage, [!] here used for BRK instruction address
.label TAPE1 = $B2 // $B2-$B3 tape buffer pointer
// #if CONFIG_EXTENDED_SCNKEY
#if CONFIG_EXTENDED_SCNKEY
// Reuse RS232 variables, since they should not be used by other things.
// This one should be initialized in cinit to $FF
.label BufferQuantity = $B4 // 1 byte
// #endif // CONFIG_EXTENDED_SCNKEY
// .label BITTS = $B4 // -- NOT IMPLEMENTED --
#else
.label BITTS = $B4 // -- NOT IMPLEMENTED --
#endif
.label NXTBIT = $B5 // -- NOT IMPLEMENTED --
// #if CONFIG_EXTENDED_SCNKEY
#if CONFIG_EXTENDED_SCNKEY
// Reuse RS232 variables, since they should not be used by other things.
// Carefully avoiding $A7 which is used by 64NET
.label TempZP = $B6 // 1 byte
// #endif // CONFIG_EXTENDED_SCNKEY
// .label RODATA = $B6 // -- NOT IMPLEMENTED --
#else
.label RODATA = $B6 // -- NOT IMPLEMENTED --
#endif
.label FNLEN = $B7 // current file name length
.label LA = $B8 // current logical_file number
@@ -192,13 +200,13 @@
.label BUF = $200 // $200-$250, BASIC line editor input buffer (81 bytes)
// #if CONFIG_EXTENDED_SCNKEY
#if CONFIG_EXTENDED_SCNKEY
// $250-$258 is the 81st - 88th characters in BASIC input, a carry over from VIC-20
// and not used on C64, so safe for us to use, probably.
.label ScanResult = $250 // 8 bytes
// #endif // CONFIG_EXTENDED_SCNKEY
#endif
// [!] XXX document $251-$258 usage
.label LAT = $259 // $259-$262, logical file numbers (table, 10 bytes)
@@ -221,20 +229,23 @@
.label MODE = $291 // flag, is case switch allowed
.label AUTODN = $292 // -- NOT IMPLEMENTED -- screen scroll disable
// #if CONFIG_EXTENDED_SCNKEY
#if CONFIG_EXTENDED_SCNKEY
// Reuse RS232 variables, since they should not be used by other things.
// This one should be initialized in cinit to $FF
.label BufferOld = $293 // 3 bytes
.label Buffer = $297 // 4 bytes
// #endif // CONFIG_EXTENDED_SCNKEY
// .label M51CRT = $293 // -- NOT IMPLEMENTED -- mock 6551
// .label M51CDR = $294 // -- NOT IMPLEMENTED -- mock 6551
// .label M51AJB = $295 // $295-$296 -- NOT IMPLEMENTED -- mock 6551
// .label RSSTAT = $297 // -- NOT IMPLEMENTED -- mock 6551, RS-232 status
// .label BITNUM = $298 // -- NOT IMPLEMENTED --
// .label BAUDOF = $299 // $299-$29A -- NOT IMPLEMENTED --
#else
.label M51CRT = $293 // -- NOT IMPLEMENTED -- mock 6551
.label M51CDR = $294 // -- NOT IMPLEMENTED -- mock 6551
.label M51AJB = $295 // $295-$296 -- NOT IMPLEMENTED -- mock 6551
.label RSSTAT = $297 // -- NOT IMPLEMENTED -- mock 6551, RS-232 status
.label BITNUM = $298 // -- NOT IMPLEMENTED --
.label BAUDOF = $299 // $299-$29A -- NOT IMPLEMENTED --
#endif
.label RIDBE = $29B // -- NOT IMPLEMENTED --
.label RIDBS = $29C // -- NOT IMPLEMENTED --