mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-09 11:29:53 +00:00
Added LC2UC conversion for the Apple ][ and replaced column-setting-hack with printing a carriage return.
This commit is contained in:
parent
bc17aefbfe
commit
7c3235b5bb
@ -17,13 +17,16 @@ screen_current_row = $25 ; CV - Vertical cursor-position (0-23)
|
||||
; outputs: none
|
||||
print_a:
|
||||
ora #$80 ; turn ASCII into Apple 2 screen codes
|
||||
cmp #$8A ; is it a line feed?
|
||||
cmp #$e0 ; is it lower case?
|
||||
bcc @check_line_feed
|
||||
ldx $fbb3 ; check machine version
|
||||
cpx #$06 ; is it at least an //e?
|
||||
beq @check_line_feed
|
||||
and #$df ; convert to upper case
|
||||
@check_line_feed:
|
||||
cmp #$8a ; is it a line feed?
|
||||
bne @not_line_feed
|
||||
; jmp print_cr
|
||||
pha
|
||||
lda #$0
|
||||
sta screen_current_col
|
||||
pla
|
||||
lda #$8d ; replace with a carriage return
|
||||
@not_line_feed:
|
||||
jmp $fded
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user