BUGFIX: Corrects runaway after drawing in my first schip rom scroll down, left, right all test with test rom assembler now assembles to the expected output it seems fixes incorrect loading of schip font to memory replaces schip font from new chatgpt feedback
37 lines
2.0 KiB
Plaintext
37 lines
2.0 KiB
Plaintext
CLS ; Bytes [0x00e0] offset [0x0000]
|
|
RET ; Bytes [0x00ee] offset [0x0002]
|
|
SYS 0x0123 ; Bytes [0x0123] offset [0x0004]
|
|
JPA 0x0123 ; Bytes [0x1123] offset [0x0006]
|
|
CALL 0x0123 ; Bytes [0x2123] offset [0x0008]
|
|
SEX 0x01, 0x23 ; Bytes [0x3123] offset [0x000a]
|
|
SNEB 0x01, 0x23 ; Bytes [0x4123] offset [0x000c]
|
|
SEY 0x01, 0x02 ; Bytes [0x5120] offset [0x000e]
|
|
LDR 0x01, 0x23 ; Bytes [0x6123] offset [0x0010]
|
|
ADD 0x01, 0x23 ; Bytes [0x7123] offset [0x0012]
|
|
LDRY 0x01, 0x02 ; Bytes [0x8120] offset [0x0014]
|
|
OR 0x01, 0x02 ; Bytes [0x8121] offset [0x0016]
|
|
AND 0x01, 0x02 ; Bytes [0x8122] offset [0x0018]
|
|
ORY 0x01, 0x02 ; Bytes [0x8123] offset [0x001a]
|
|
ADDR 0x01, 0x02 ; Bytes [0x8124] offset [0x001c]
|
|
SUB 0x01, 0x02 ; Bytes [0x8125] offset [0x001e]
|
|
SHR 0x01, 0x02 ; Bytes [0x8126] offset [0x0020]
|
|
SUBC 0x01, 0x02 ; Bytes [0x8127] offset [0x0022]
|
|
SHL 0x01, 0x02 ; Bytes [0x812e] offset [0x0024]
|
|
SNEY 0x01, 0x02 ; Bytes [0x9120] offset [0x0026]
|
|
LDIA 0x0123 ; Bytes [0xa123] offset [0x0028]
|
|
JPI 0x0123 ; Bytes [0xb123] offset [0x002a]
|
|
RND 0x01, 0x23 ; Bytes [0xc123] offset [0x002c]
|
|
DRW 0x01, 0x02, 0x03 ; Bytes [0xd123] offset [0x002e]
|
|
SKP 0x01 ; Bytes [0xe19e] offset [0x0030]
|
|
SKNP 0x01 ; Bytes [0xe1a1] offset [0x0032]
|
|
LDRD 0x01 ; Bytes [0xf107] offset [0x0034]
|
|
LDRK 0x01 ; Bytes [0xf10a] offset [0x0036]
|
|
LDD 0x01 ; Bytes [0xf115] offset [0x0038]
|
|
LDIS 0x01 ; Bytes [0xf118] offset [0x003a]
|
|
ADDI 0x01 ; Bytes [0xf11e] offset [0x003c]
|
|
LDF 0x01 ; Bytes [0xf129] offset [0x003e]
|
|
BCD 0x01 ; Bytes [0xf133] offset [0x0040]
|
|
LDIX 0x01 ; Bytes [0xf155] offset [0x0042]
|
|
LDRI 0x01 ; Bytes [0xf165] offset [0x0044]
|
|
DW 0xffff ; Bytes [0xffff] offset [0x0046]
|