This commit is contained in:
Paul Gardner-Stephen committed 2019-04-19 21:42:05 +09:30
1 parent e538bfee0e
commit e80df3ff53
3 files changed
+23 -5

No files matched your search

+10 -2
View File
@@ -2,6 +2,14 @@
memtop:
; p288 C64 Programmer's reference guide
; but for now we only support reading it
LDX #<$9FFF
LDY #>$9FFF
;; http://unusedino.de/ec64/technical/project64/mapping_c64.html
bcc memtop_set
LDX MEMSIZ+0
LDY MEMSIZ+1
rts
memtop_set:
stx MEMSIZ+0
stx MEMSIZ+1
rts