Fix bug when zero page address was $00.
Chris Pressey
4 years ago
25 | 25 |
byte luminosity @ $81
|
26 | 26 |
byte joystick_delay @ $82
|
27 | 27 |
|
28 | |
byte table[8] image_data : "ZZZZUUUU" // [126, 129, 153, 165, 129, 165, 129, 126]
|
|
28 |
byte table[8] image_data : 126, 129, 153, 165, 129, 165, 129, 126
|
29 | 29 |
// %01111110
|
30 | 30 |
// %10000001
|
31 | 31 |
// %10011001
|
5 | 5 |
dcc6502 -o 0xf000 -m 200 atari-2600-example.bin > atari-2600-example.bin.disasm.txt
|
6 | 6 |
dcc6502 -o 0xf000 -m 200 atari-2600-example-60p.bin > atari-2600-example-60p.bin.disasm.txt
|
7 | 7 |
paste atari-2600-example.bin.disasm.txt atari-2600-example-60p.bin.disasm.txt | pr -t -e24
|
|
8 |
#diff -ru atari-2600-example.bin.disasm.txt atari-2600-example-60p.bin.disasm.txt
|
8 | 9 |
fi
|
67 | 67 |
return self.labels[name]
|
68 | 68 |
|
69 | 69 |
def absolute_or_zero_page(self, label):
|
70 | |
if label.addr and label.addr < 256:
|
|
70 |
if label.addr is not None and label.addr < 256:
|
71 | 71 |
return ZeroPage(label)
|
72 | 72 |
else:
|
73 | 73 |
return Absolute(label)
|