1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-23 08:32:39 +00:00

Added some word fragments

This commit is contained in:
jespergravgaard 2019-07-21 21:08:49 +02:00
parent e968cb6de7
commit ca8d68891c
7 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,6 @@
clc
adc {z1}
sta {z1}
lda {z1}+1
adc #0
sta {z1}+1

View File

@ -0,0 +1,7 @@
sec
lda {c1},x
sbc {z2}
sta {z1}
lda {c1}+1,x
sbc {z2}+1
sta {z1}+1

View File

@ -0,0 +1,7 @@
sec
lda {c1},y
sbc {z2}
sta {z1}
lda {c1}+1,y
sbc {z2}+1
sta {z1}+1

View File

@ -0,0 +1,7 @@
sec
lda #<{c1}
sbc {z2}
sta {z1}
lda #>{c1}
sbc {z2}+1
sta {z1}+1

View File

@ -0,0 +1,6 @@
lda {z1}+1
cmp {c1}+1,x
bne {la1}
lda {z1}
cmp {c1},x
bne {la1}

View File

@ -0,0 +1,6 @@
lda {z1}+1
cmp {c1}+1,y
bne {la1}
lda {z1}
cmp {c1},y
bne {la1}

View File

@ -59,7 +59,7 @@ lines: // Draw a number of lines th make up a letter
jsr line jsr line
jmp lines jmp lines
line: // Draw a single line line: // Draw a single line using uint[5.3] fixed point additions to xpos & ypos
lda line_xpos lda line_xpos
lsr lsr
lsr lsr