check_email: patch the inverse version back to plain text when done

This commit is contained in:
Vince Weaver 2018-09-29 22:07:18 -04:00
parent 0752063d44
commit dc4adbdd1a
5 changed files with 21 additions and 7 deletions

View File

@ -62,5 +62,5 @@ Apple IIe: Apple II+
3 ***** * 3 ***** *
4 * ***** 4 * *****
5 * * 5 * *
6 ****** * 6 ***** *
7 ***** 7 *****

View File

@ -27,6 +27,16 @@ bird_mountain:
; setup scrolling letters ; setup scrolling letters
;========================= ;=========================
; Patch the inverse values out (as used by check_email)
lda #39
sta ml_patch_dest+1
lda #$80
sta ml_patch_or+1
lda #$09
sta ml_patch_or
lda #' '|$80
sta ml_patch_space+1
lda #<letters_bm lda #<letters_bm
sta LETTERL sta LETTERL
lda #>letters_bm lda #>letters_bm

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -25,8 +25,6 @@ apple_iie:
;=================== ;===================
jsr HOME jsr HOME
jsr check_email
; C64 Opening Sequence ; C64 Opening Sequence
jsr c64_opener jsr c64_opener
@ -40,7 +38,6 @@ apple_iie:
; E-mail arriving ; E-mail arriving
jsr check_email jsr check_email
; Leaving house ; Leaving house
; Riding bird ; Riding bird

View File

@ -72,14 +72,18 @@ letter_erase:
nop ; nop ; 5 nop ; nop ; 5
ldy #0 ; erase old char with space ; 2 ldy #0 ; erase old char with space ; 2
lda #' '|$80 ; 2 ml_patch_space:
; lda #' '|$80 ; 2
lda #' '|$00 ; 2
ldy LETTERX ; 3 ldy LETTERX ; 3
sta (BASL),Y ; 6 sta (BASL),Y ; 6
dey ; draw new char ; 2 dey ; draw new char ; 2
sty LETTERX ; 3 sty LETTERX ; 3
lda LETTER ; 3 lda LETTER ; 3
ora #$80 ; 2 ml_patch_or:
; ora #$80 ; 2
and #$3f ; 2
ldy LETTERX ; 3 ldy LETTERX ; 3
sta (BASL),Y ; 6 sta (BASL),Y ; 6
@ -105,7 +109,10 @@ letter_next:
sta LETTERH ; 3 sta LETTERH ; 3
inc LETTERD ; inc destination X ; 5 inc LETTERD ; inc destination X ; 5
lda #39 ; start at right of screen ; 2 start_destination:
ml_patch_dest:
; lda #39 ; start at right of screen ; 2
lda #18 ; start at right of screen ; 2
sta LETTERX ; 3 sta LETTERX ; 3
rts ; 6 rts ; 6
;=========== ;===========