main
Line | |
---|
1 | .module picture.s
|
---|
2 | ; .area .text
|
---|
3 |
|
---|
4 | ; INCLUDEBIN POI01.CRU
|
---|
5 | ;forme
|
---|
6 | ; INCLUDEBIN POI03.CRU
|
---|
7 | ;couleur
|
---|
8 |
|
---|
9 | ; .globl _main
|
---|
10 | ;_main
|
---|
11 | ; LDU #couleur-1
|
---|
12 | ; LDX #forme-1
|
---|
13 | ; LBRA decrunchpic
|
---|
14 |
|
---|
15 | .area .text.dp
|
---|
16 |
|
---|
17 | .globl exo2
|
---|
18 | INCLUDE ../../../../_TOOLS/exomizer206/rawdecrs/6809/exo2_final.asm
|
---|
19 | ; INPUT
|
---|
20 | ; X = PTR to FORME (last byte)
|
---|
21 | ; U = PTR to COULEUR (last byte)
|
---|
22 |
|
---|
23 | .globl decrunchpic
|
---|
24 | decrunchpic
|
---|
25 | PSHS A
|
---|
26 |
|
---|
27 | LDA 0xA7C0
|
---|
28 | ORA #1
|
---|
29 | STA 0xA7C0
|
---|
30 |
|
---|
31 | PULS A
|
---|
32 |
|
---|
33 | LDY #8000
|
---|
34 | LBSR exo2
|
---|
35 |
|
---|
36 | DEC 0xA7C0
|
---|
37 |
|
---|
38 | TFR X,U
|
---|
39 | LDY #8000
|
---|
40 | LBRA exo2
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.