more work on external BASIC ROM support
This commit is contained in:
1 parent
1183aab005
commit
11bf202c81
3 files changed
+68
No files matched your search
@@ -0,0 +1,28 @@
|
||||
// #LAYOUT# M65 BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// ROM mapping routines for Mega65
|
||||
//
|
||||
|
||||
// Available memory maps:
|
||||
// - NORMAL - nothing mapped in (taken from Kernal)
|
||||
// - BASIC_1 - for calling KERNAL_1 segment code
|
||||
|
||||
|
||||
map_BASIC_1:
|
||||
|
||||
php
|
||||
pha
|
||||
phx
|
||||
phy
|
||||
phz
|
||||
|
||||
lda #$00
|
||||
tay
|
||||
taz
|
||||
|
||||
lda #$20
|
||||
ldx #$42 // 0x4000 <- map 8KB from 0x22000
|
||||
|
||||
jmp map_end
|
||||
Reference in new issue
Block a user