align writes in Promote, fix Championship Lode Runner

This commit is contained in:
Peter Ferrie 2019-06-27 13:04:00 -07:00
parent 6a966d6dc6
commit 1785bf0dfb
2 changed files with 14 additions and 3 deletions

View File

@ -612,12 +612,23 @@ ProDOS_enter
rts
@imp_read
lda #cmdread
!byte $2c
clc
@imp_write
lda #cmdwrite
php
lda #cmdread
adc #0
sta reqcmd
jsr @set_rdwrbuff
plp
bcc @skip_align
lda sizelo
adc #$fe
lda sizehi
adc #1
and #$fe
sta sizehi
@skip_align
jsr hddrdwrpart
ldy #6
lda sizelo2