Hier die Routine aus OS++ (Atari++ OS)
Unterschied. Benutzt EOR (XOR) anstatt ORA (OR).
Carsten
- Code: Alles auswählen
;; now translate the character from ASCII into the internal representation
lda ScreenByte
ldy GfxMode
ldx Shifter,y ; check whether the indicated mode is a text mode and requires translation
bne gfxmode
rol a
rol a
rol a
rol a
and #$03 ; relevant bits->A
tax
lda ScreenByte ; get the character back
eor XlateMask,x ; translate it
Unterschied. Benutzt EOR (XOR) anstatt ORA (OR).
Carsten