adapted to Kick Assembler, some documentation update

This commit is contained in:
FeralChild64 committed 2019-09-07 12:35:21 +02:00
1 parent ae23dbae7b
commit de27124b4f
198 files changed
+4181 -3976

No files matched your search

+4 -3
View File
@@ -1,3 +1,4 @@
; Initialise screen editor
; C64 Programmer's Reference Guide Page 272
jmp cint
// Initialise screen editor
// C64 Programmer's Reference Guide Page 272
jmp CINT
+4 -3
View File
@@ -1,3 +1,4 @@
; Initialise input/output
; C64 Programmer's Reference Guide Page 272
jmp ioinit
// Initialise input/output
// C64 Programmer's Reference Guide Page 272
jmp IOINIT
+4 -3
View File
@@ -1,3 +1,4 @@
; Initialise RAM, allocate tape buffer, set screen to $0400
; C64 Programmer's Reference Guide Page 273
jmp ramtas
// Initialise RAM, allocate tape buffer, set screen to $0400
// C64 Programmer's Reference Guide Page 273
jmp RAMTAS
+4 -3
View File
@@ -1,3 +1,4 @@
; Restore default IO vectors
; C64 Programmer's Reference Guide Page 273
jmp restor
// Restore default IO vectors
// C64 Programmer's Reference Guide Page 273
jmp RESTOR
+4 -3
View File
@@ -1,3 +1,4 @@
; Read/set vectored I/O
; C64 Programmer's Reference Guide Page 273
jmp vector
// Read/set vectored I/O
// C64 Programmer's Reference Guide Page 273
jmp VECTOR
+4 -3
View File
@@ -1,3 +1,4 @@
; Control KERNAL messages
; C64 Programmer's Reference Guide Page 273
jmp setmsg
// Control KERNAL messages
// C64 Programmer's Reference Guide Page 273
jmp SETMSG
+4 -3
View File
@@ -1,3 +1,4 @@
; SEnd secondary address after LISTEN
; C64 Programmer's Reference Guide Page 273
jmp second
// Send secondary address after LISTEN
// C64 Programmer's Reference Guide Page 273
jmp SECOND
+4 -3
View File
@@ -1,3 +1,4 @@
; Send secondary address after talk
; C64 Programmer's Reference Guide Page 273
jmp tksa
// Send secondary address after talk
// C64 Programmer's Reference Guide Page 273
jmp TKSA
+4 -3
View File
@@ -1,3 +1,4 @@
; read/set the top of memory
; C64 Programmer's Reference Guide Page 272
jmp memtop
// read/set the top of memory
// C64 Programmer's Reference Guide Page 272
jmp MEMTOP
+4 -3
View File
@@ -1,3 +1,4 @@
; read/set the bottom of memory
; C64 Programmer's Reference Guide Page 272
jmp membot
// read/set the bottom of memory
// C64 Programmer's Reference Guide Page 272
jmp MEMBOT
+3 -2
View File
@@ -1,3 +1,4 @@
; Scan keyboard
; C64 Programmer's Reference Guide Page 273
// Scan keyboard
// C64 Programmer's Reference Guide Page 273
jmp SCNKEY
+4 -3
View File
@@ -1,3 +1,4 @@
; Set timeout on serial bus
; C64 Programmer's Reference Guide Page 273
jmp settmo
// Set timeout on serial bus
// C64 Programmer's Reference Guide Page 273
jmp SETTMO
+4 -3
View File
@@ -1,3 +1,4 @@
; Input byte from serial port
; C64 Programmer's Reference Guide Page 272
jmp acptr
// Input byte from serial port
// C64 Programmer's Reference Guide Page 272
jmp ACPTR
+4 -3
View File
@@ -1,3 +1,4 @@
; Output byte to serial port
; C64 Programmer's Reference Guide Page 272
jmp ciout
// Output byte to serial port
// C64 Programmer's Reference Guide Page 272
jmp CIOUT
+4 -3
View File
@@ -1,3 +1,4 @@
; Command serial bus to UNTALK
; C64 Programmer's Reference Guide Page 273
jmp untlk
// Command serial bus to UNTALK
// C64 Programmer's Reference Guide Page 273
jmp UNTLK
+4 -3
View File
@@ -1,3 +1,4 @@
; Command serial bus to UNLISTEN
; C64 Programmer's Reference Guide Page 273
jmp unlsn
// Command serial bus to UNLISTEN
// C64 Programmer's Reference Guide Page 273
jmp UNLSN
+4 -3
View File
@@ -1,3 +1,4 @@
; Command devices on the serial bus to listen
; C64 Programmer's Reference Guide Page 272
jmp listen
// Command devices on the serial bus to listen
// C64 Programmer's Reference Guide Page 272
jmp LISTEN
+4 -3
View File
@@ -1,3 +1,4 @@
; Command serial bus device to talk
; C64 Programmer's Reference Guide Page 273
jmp talk
// Command serial bus device to talk
// C64 Programmer's Reference Guide Page 273
jmp TALK
+4 -3
View File
@@ -1,3 +1,4 @@
; Read I/O statusjmp
; C64 Programmer's Reference Guide Page 273
jmp readst
// Read I/O statusjmp
// C64 Programmer's Reference Guide Page 273
jmp READST
+4 -3
View File
@@ -1,3 +1,4 @@
; Set logical, first and second addresses
; C64 Programmer's Reference Guide Page 273
jmp setfls
// Set logical, first and second addresses
// C64 Programmer's Reference Guide Page 273
jmp SETFLS
+4 -3
View File
@@ -1,3 +1,4 @@
; Set file name
; C64 Programmer's Reference Guide Page 273
jmp setnam
// Set file name
// C64 Programmer's Reference Guide Page 273
jmp SETNAM
+4 -3
View File
@@ -1,4 +1,5 @@
; open a logical file
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// open a logical file
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (IOPEN)
+4 -3
View File
@@ -1,4 +1,5 @@
; close a specified logical file
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// close a specified logical file
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (ICLOSE)
+4 -3
View File
@@ -1,4 +1,5 @@
; Open channel for input
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// Open channel for input
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (ICHKIN)
+4 -3
View File
@@ -1,4 +1,5 @@
; Open channel for output
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// Open channel for output
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (ICKOUT)
+4 -3
View File
@@ -1,4 +1,5 @@
; close input and output channels
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// close input and output channels
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (ICLRCH)
+4 -3
View File
@@ -1,4 +1,5 @@
; Input character from channel
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// Input character from channel
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (IBASIN)
+4 -3
View File
@@ -1,4 +1,5 @@
; Output character to channel
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// Output character to channel
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (IBSOUT)
+4 -3
View File
@@ -1,3 +1,4 @@
; load RAM from a device
; C64 Programmer's Reference Guide Page 272
jmp load
// load RAM from a device
// C64 Programmer's Reference Guide Page 272
jmp LOAD
+4 -3
View File
@@ -1,3 +1,4 @@
; SAVE RAM to device
; C64 Programmer's Reference Guide Page 273
jmp save
// SAVE RAM to device
// C64 Programmer's Reference Guide Page 273
jmp SAVE
+4 -3
View File
@@ -1,3 +1,4 @@
; Set realtime clock
; C64 Programmer's Reference Guide Page 273
jmp settim
// Set realtime clock
// C64 Programmer's Reference Guide Page 273
jmp SETTIM
+4 -3
View File
@@ -1,3 +1,4 @@
; Read real time clock
; C64 Programmer's Reference Guide Page 273
jmp rdtim
// Read real time clock
// C64 Programmer's Reference Guide Page 273
jmp RDTIM
+4 -3
View File
@@ -1,4 +1,5 @@
; Scan stop key
; C64 Programmer's Reference Guide Page 273
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// Scan stop key
// C64 Programmer's Reference Guide Page 273
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (ISTOP)
+4 -3
View File
@@ -1,4 +1,5 @@
; Get character from keyboard queue (keyboard buffer)
; C64 Programmer's Reference Guide Page 272
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// Get character from keyboard queue (keyboard buffer)
// C64 Programmer's Reference Guide Page 272
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (IGETIN)
+4 -3
View File
@@ -1,4 +1,5 @@
; $FFE7 - Close all files vector
; (http://codebase64.org/doku.php?id=base:kernalreference)
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
// $FFE7 - Close all files vector
// (http://codebase64.org/doku.php?id=base:kernalreference)
// According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
jmp (ICLALL)
+2 -2
View File
@@ -1,4 +1,4 @@
; $FFEA - Update jiffy clock vector
; (http://codebase64.org/doku.php?id=base:kernalreference)
// $FFEA - Update jiffy clock vector
// (http://codebase64.org/doku.php?id=base:kernalreference)
jmp UDTIM
+3 -3
View File
@@ -1,4 +1,4 @@
; $FFED - Return screen size (X=columns, Y=rows)
; (http://codebase64.org/doku.php?id=base:kernalreference)
// $FFED - Return screen size (X=columns, Y=rows)
// (http://codebase64.org/doku.php?id=base:kernalreference)
jmp screen
jmp SCREEN
+5 -5
View File
@@ -1,6 +1,6 @@
; $FFF0 - Get/Set cursor location vector
; (http://codebase64.org/doku.php?id=base:kernalreference)
; To set: C=0, to get, C=1
; X=row, Y=column
// $FFF0 - Get/Set cursor location vector
// (http://codebase64.org/doku.php?id=base:kernalreference)
// To set: C=0, to get, C=1
// X=row, Y=column
jmp plot
jmp PLOT
+10 -10
View File
@@ -1,16 +1,16 @@
;;
;; Official Kernal routine, described in:
;;
;; - [RG64] C64 Programmer's Reference Guide - page 284
;; - [CM64] Compute's Mapping the Commodore 64 - page 214
;; - http://codebase64.org/doku.php?id=base:kernalreference (original source)
;;
;; CPU registers that has to be preserved (see [RG64]): .A
;;
//
// Official Kernal routine, described in:
//
// - [RG64] C64 Programmer's Reference Guide - page 284
// - [CM64] Compute's Mapping the Commodore 64 - page 214
// - http://codebase64.org/doku.php?id=base:kernalreference (original source)
//
// CPU registers that has to be preserved (see [RG64]): .A
//
;; As there is nothing between here and $FFFA, we can just hard code this in place.
// As there is nothing between here and $FFFA, we can just hard code this in place.
iobase:
ldy #$DC