make LC2 management a bit easier

This commit is contained in:
Peter Ferrie 2019-09-09 18:40:59 -07:00
parent 859efc70f0
commit 68fab1ddc2
3 changed files with 5 additions and 6 deletions

View File

@ -101,11 +101,13 @@ gGamesListStore
!word Reenter ; IRQ vector ($FFFE-F) !word Reenter ; IRQ vector ($FFFE-F)
} }
LastMover LastMover
;the last routine in this list must define LAST_ADDR to keep track of LC bank 2 use !pseudopc $D600 {
!source "src/ui.font.data.a" !source "src/ui.font.data.a"
!source "src/prodos.impl.a" !source "src/prodos.impl.a"
!if LAST_ADDR > $DFFF { !warn *
!error "code is too large: LAST_ADDR = ", LAST_ADDR !if * > $DEFF {
!error "code is too large: ends at ", *
}
} }
EvenLasterMover EvenLasterMover
!if RELBASE = $2000 { !if RELBASE = $2000 {

View File

@ -547,5 +547,4 @@ ProDOS_prefix=$bfd0
} }
end_promote end_promote
LAST_ADDR = *
} }

View File

@ -4,7 +4,6 @@
; 'Circuitous' hi-res font data ; 'Circuitous' hi-res font data
; ;
!pseudopc $D600 {
FontDataRow0 FontDataRow0
!byte $80 !byte $80
!byte $80 !byte $80
@ -1037,4 +1036,3 @@ FontDataRow7
!byte $86 !byte $86
!byte $80 !byte $80
!byte $FF !byte $FF
}