mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 04:29:59 +00:00
fix DOS 3.2 writing of compressed RWTS
This commit is contained in:
parent
4278a70f23
commit
b23817a769
@ -508,23 +508,27 @@ StartWithUniv
|
||||
; note: execution falls through here
|
||||
|
||||
CopyUniversal
|
||||
lda #$B8
|
||||
CopyUniversalAnywhere
|
||||
sta dst+1
|
||||
clc
|
||||
adc #$02
|
||||
sta .cu+2
|
||||
lda #$00
|
||||
sta dst
|
||||
lda #>universalrwts
|
||||
sta src+1
|
||||
lda #<universalrwts
|
||||
sta src
|
||||
lda #$B8
|
||||
sta dst+1
|
||||
lda #0
|
||||
sta dst
|
||||
jsr Unpack
|
||||
sta callrwts+1
|
||||
lda #$BD
|
||||
sta callrwts+2
|
||||
ldy #$96
|
||||
- lda nibtable,y
|
||||
sta $BA00,y
|
||||
.culoop lda nibtable,y
|
||||
.cu sta $d100,y ; set at runtime
|
||||
iny
|
||||
bne -
|
||||
bne .culoop
|
||||
rts
|
||||
|
||||
Cancel
|
||||
|
@ -10,10 +10,8 @@
|
||||
|
||||
; sectors 2-9
|
||||
|
||||
lda #>universalrwts
|
||||
ldx #$12 ; #BASEPAGE+2
|
||||
ldy #$08
|
||||
jsr CopyMemory
|
||||
lda #$12 ; #BASEPAGE+2
|
||||
jsr CopyUniversalAnywhere
|
||||
lda #$38
|
||||
sta $1656 ; #BASEPAGE+6
|
||||
|
||||
|
@ -230,7 +230,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2017-09-07",$00
|
||||
!text "Passport by 4am 2017-09-08",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user