more sane directory name, updated binaries
This commit is contained in:
1 parent
d4d32095d1
commit
76aaf298b8
697 files changed
+56
-56
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
|
||||
// Initialise screen editor
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp CINT
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
|
||||
// Initialise input/output
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp IOINIT
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Initialise RAM, allocate tape buffer, set screen to $0400
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp RAMTAS
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Restore default IO vectors
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp RESTOR
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Read/set vectored I/O
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp VECTOR
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Control KERNAL messages
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SETMSG
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Send secondary address after LISTEN
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SECOND
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Send secondary address after talk
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp TKSA
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// read/set the top of memory
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp MEMTOP
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// read/set the bottom of memory
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp MEMBOT
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Scan keyboard
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SCNKEY
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Set timeout on serial bus
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SETTMO
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Input byte from serial port
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp ACPTR
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Output byte to serial port
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp CIOUT
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Command serial bus to UNTALK
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp UNTLK
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Command serial bus to UNLISTEN
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp UNLSN
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Command devices on the serial bus to listen
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp LISTEN
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Command serial bus device to talk
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp TALK
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Read I/O statusjmp
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp READST
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Set logical, first and second addresses
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SETFLS
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Set file name
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SETNAM
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// open a logical file
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (IOPEN)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// close a specified logical file
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (ICLOSE)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Open channel for input
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (ICHKIN)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Open channel for output
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (ICKOUT)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// close input and output channels
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (ICLRCH)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Input character from channel
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (IBASIN)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Output character to channel
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (IBSOUT)
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// load RAM from a device
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
|
||||
jmp LOAD_PREP
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// SAVE RAM to device
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SAVE_PREP
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Set realtime clock
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp SETTIM
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Read real time clock
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
|
||||
jmp RDTIM
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Scan stop key
|
||||
// C64 Programmers Reference Guide Page 273
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (ISTOP)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// Get character from keyboard queue (keyboard buffer)
|
||||
// C64 Programmers Reference Guide Page 272
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (IGETIN)
|
||||
@@ -0,0 +1,9 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// $FFE7 - Close all files vector
|
||||
// (http://codebase64.org/doku.php?id=base:kernalreference)
|
||||
// According to Computes Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
|
||||
jmp (ICLALL)
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// $FFEA - Update jiffy clock vector
|
||||
// (http://codebase64.org/doku.php?id=base:kernalreference)
|
||||
|
||||
jmp UDTIM
|
||||
@@ -0,0 +1,8 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// $FFED - Return screen size (X=columns, Y=rows)
|
||||
// (http://codebase64.org/doku.php?id=base:kernalreference)
|
||||
|
||||
jmp SCREEN
|
||||
@@ -0,0 +1,10 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
// $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
|
||||
@@ -0,0 +1,36 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * KERNAL_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Official Kernal routine, described in:
|
||||
//
|
||||
// - [RG64] C64 Programmers Reference Guide - page 284
|
||||
// - [CM64] Computes 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.
|
||||
|
||||
// iobase: - commented out to prevent label naming conflict
|
||||
|
||||
#if CONFIG_PLATFORM_COMMODORE_64
|
||||
|
||||
ldy #$DC
|
||||
ldx #$00
|
||||
|
||||
#elif CONFIG_PLATFORM_COMMANDER_X16
|
||||
|
||||
ldy #$9F
|
||||
ldx #$60
|
||||
|
||||
#else
|
||||
|
||||
.error "Please fill-in IOBASE"
|
||||
|
||||
#endif
|
||||
|
||||
rts
|
||||
Reference in new issue
Block a user