···13131414 jp eventhandler
15151616- .dw (icon) ; icon location (in this page)
1616+ .dw (icons) ; icon location (in this page)
1717 .dw (caption)
1818 .dw (dunno)
1919-2019dunno:
2120 .db #0
2222-zip:
2323- .db #0
2424-zilch:
2525- .db #0
2121+xpos:
2222+ .dw #0
2323+ypos:
2424+ .dw #0
2625caption:
2726 .dw #0x0001 ; ?????
2827 .dw (endcap - caption - 6) ; end of chars
2929- .dw #0006 ; offset to first char
2828+ .dw #0x0006 ; offset to first char
3029 .ascii "Code Dump" ; the caption string
3130endcap:
32313333-icon:
3232+icons:
3333+ .dw #0 ; size icon0
3434+ .dw (icon0 - icons) ; offset to icon0
3535+ .dw #0 ; size icon1
3636+ .dw (icon1 - icons) ; offset to icon1 (0x00b5)
3737+icon0:
3838+ .dw #0 ; icon width
3939+ .db #0 ; icon height
4040+icon1:
4141+ .dw #0 ; icon width
4242+ .db #0 ; icon height
4343+34443545 .equ bsendbyte, #0x802D ; raises busy & sends byte.
3646 ; We use the existing sendbyte from
+17-8
datadump.asm
···14141515 jp eventhandler
16161717- .dw (icon) ; icon location (in this page)
1717+ .dw (icons) ; icon location (in this page)
1818 .dw (caption)
1919 .dw (dunno)
2020-2120dunno:
2221 .db #0
2323-zip:
2424- .db #0
2525-zilch:
2626- .db #0
2222+xpos:
2323+ .dw #0
2424+ypos:
2525+ .dw #0
2726caption:
2827 .dw #0x0001 ; ?????
2928 .dw (endcap - caption - 6) ; end of chars
3030- .dw #0006 ; offset to first char
2929+ .dw #0x0006 ; offset to first char
3130 .ascii "Data Dump" ; the caption string
3231endcap:
33323434-icon:
3333+icons:
3434+ .dw #0 ; size icon0
3535+ .dw (icon0 - icons) ; offset to icon0
3636+ .dw #0 ; size icon1
3737+ .dw (icon1 - icons) ; offset to icon1 (0x00b5)
3838+icon0:
3939+ .dw #0 ; icon width
4040+ .db #0 ; icon height
4141+icon1:
4242+ .dw #0 ; icon width
4343+ .db #0 ; icon height
35443645 .equ bsendbyte, #0x802D ; raises busy & sends byte.
3746 ; We use the existing sendbyte from
+12-3
loader.asm
···27272828 jp eventhandler ; Jump to the start of our code.
29293030- .dw (icon) ; The following is data about the app
3030+ .dw (icons) ; The following is data about the app
3131 .dw (caption) ; itself, most of which we won't even
3232 .dw (dunno) ; worry about.
3333-3433dunno:
3534 .db #0
3635zip:
···4443 .ascii "Loader" ; the caption string
4544endcap:
46454747-icon:
4646+icons:
4747+ .dw #0 ; size icon0
4848+ .dw (icon0 - icons) ; offset to icon0
4949+ .dw #0 ; size icon1
5050+ .dw (icon1 - icons) ; offset to icon1 (0x00b5)
5151+icon0:
5252+ .dw #0 ; icon width
5353+ .db #0 ; icon height
5454+icon1:
5555+ .dw #0 ; icon width
5656+ .db #0 ; icon height
48574958 .equ brecvbyte, #0x8027 ; Firmware function in codeflash page 1. Attempts
5059 ; to receive a byte. Upon returning, if a = 0, it