adjusted some addresses, added more stubs

This commit is contained in:
FeralChild64 committed 2019-10-20 11:44:06 +02:00
1 parent b73e9fbb7d
commit a8e80ee2b1
25 files changed
+108 -6

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
//
// Official Kernal routine, described in:
//
// - [RG64] C64 Programmer's Reference Guide - page 288
// - [CM64] Compute's Mapping the Commodore 64 - page 240
//
// CPU registers that has to be preserved (see [RG64]): .A
//
MEMTOP:
bcc memtop_set
ldy MEMSIZK+1
ldx MEMSIZK+0
// FALLTROUGH
memtop_set:
sty MEMSIZK+1
stx MEMSIZK+0
rts