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)
}
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/prodos.impl.a"
!if LAST_ADDR > $DFFF {
!error "code is too large: LAST_ADDR = ", LAST_ADDR
!warn *
!if * > $DEFF {
!error "code is too large: ends at ", *
}
}
EvenLasterMover
!if RELBASE = $2000 {

View File

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

View File

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