Dear visitor, welcome to Forum64. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 |
nowrap sta line1+$27 ora #$40 ; Inverts($80) / Shifted($40) / Beides($c0) sta line2+$27 inc read+1 lda read+1 cmp #$00 bne endscroll inc read+2 |
Achso. Naja, zumindest, wenn man seinen Charset so organisiert (bzw. mit welchem Editor man das macht). Da gibt es ja keine festen Vorgaben.Ich meine natürlich ein ORA #$40.
Wenn man das zum Zeichen-Code des auszugebenden Zeichen der ersten Zeile hinzuaddiert hat man automatisch den Zeichencode für die 2te Linie.
|
|
Source code |
1 2 3 4 5 6 7 8 |
ldx #$00 wrapmsg lda line1+1,x sta line1,x lda line2+1,x sta line2,x inx cpx #$28 bne wrapmsg |
|
|
Source code |
1 2 3 4 5 6 7 8 |
ldx #$00 wrapmsg lda line1+1,x sta line1,x ora #$40 sta line2,x inx cpx #$26 bne wrapmsg |
Ich liebe den Sound vom C64ér This post has been edited 1 times, last edit by "TheRyk" (Sep 23rd 2010, 1:07am)
Ich liebe den Sound vom C64ér Forum Software: Burning Board® 3.1.7, developed by WoltLab® GmbH