Skip to content

Commit 8f88e24

Browse files
Update ProDOS system bitmap correctly following e20828c
e20828c updated BASIC_START but not the system bitmap code. Harmless but good to keep in sync.
1 parent 7edf425 commit 8f88e24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intbasic.system.s

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ ZP_SAVE_LEN = $15
145145

146146
IO_BUFFER := $9C00
147147
OUR_HIMEM := IO_BUFFER
148-
BASIC_START := $A000
148+
BASIC_START := $A000 ; Update `BITMAP` code if this changes
149149

150150
PATHBUF := $280
151151
PATH2 := $2C0
@@ -277,9 +277,9 @@ done_banner:
277277
lda #%11001111 ; ZP, Stack, Text Page 1
278278
sta BITMAP
279279

280-
lda #%00111111
281-
sta BITMAP+$A*2 ; Pages $A2-$A7
280+
.assert BASIC_START = $A000, error, "Keep BASIC_START and BITMAP in sync"
282281
lda #%11111111
282+
sta BITMAP+$A*2 ; Pages $A0-$A7
283283
sta BITMAP+$A*2+1 ; Pages $A8-$AF
284284
sta BITMAP+$B*2 ; Pages $B0-$B7
285285
sta BITMAP+$B*2+1 ; Pages $B8-$BF (ProDOS global page)

0 commit comments

Comments
 (0)