mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-17 07:31:19 +00:00
move font data out of LC2
This commit is contained in:
parent
6ffc9c7aac
commit
d234aa0bcd
@ -184,15 +184,12 @@ COPYSRC = *
|
||||
!if LCRAM2_END >= DisableAccelerator {
|
||||
!error "code is too large: ends at ", LCRAM2_END
|
||||
}
|
||||
FONTDST = (LCRAM2_END + 255) and -256
|
||||
FONTDST = $E000
|
||||
}
|
||||
EvenLasterMover
|
||||
FONTSRC = *
|
||||
!pseudopc FONTDST {
|
||||
!source "src/ui.font.data.lc2.a"
|
||||
!if * > $E000 {
|
||||
!error "code is too large: ends at ", *
|
||||
}
|
||||
}
|
||||
!if RELBASE = $2000 {
|
||||
!ifdef PASS2 {
|
||||
|
@ -181,7 +181,7 @@
|
||||
|
||||
ldy #4
|
||||
@ELM lda FONTSRC,x
|
||||
; relocate font data to RAM bank 2
|
||||
; relocate font data to $E000
|
||||
sta FONTDST,x
|
||||
inx
|
||||
bne @ELM
|
||||
|
@ -8,6 +8,8 @@
|
||||
; LC RAM BANK 1
|
||||
; D000..DFDE - persistent data structures (gGlobalPrefsStore, gGamesListStore)
|
||||
; ...unused...
|
||||
; E000..E3FF - HGR font data
|
||||
; ...unused...
|
||||
; EA23..FFEE - main program code
|
||||
; FFEF..FFF9 - API functions and global constants available for main program
|
||||
; code, prelaunchers, transition effects, &c.
|
||||
@ -21,7 +23,7 @@
|
||||
; DB92..DB98 - backup of stack (during gameplay and self-running demos)
|
||||
; ...unused...
|
||||
; DBB4..DBFF - (de)acceleration function
|
||||
; DC00..DFFF - HGR font data
|
||||
; DC00..DFFF - unused
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
!ifndef _CONSTANTS_ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user