Tools for working with Cidco Mailstations

asm: fix header padding to match official apps

+47 -19
+18 -8
codedump.asm
··· 13 13 14 14 jp eventhandler 15 15 16 - .dw (icon) ; icon location (in this page) 16 + .dw (icons) ; icon location (in this page) 17 17 .dw (caption) 18 18 .dw (dunno) 19 - 20 19 dunno: 21 20 .db #0 22 - zip: 23 - .db #0 24 - zilch: 25 - .db #0 21 + xpos: 22 + .dw #0 23 + ypos: 24 + .dw #0 26 25 caption: 27 26 .dw #0x0001 ; ????? 28 27 .dw (endcap - caption - 6) ; end of chars 29 - .dw #0006 ; offset to first char 28 + .dw #0x0006 ; offset to first char 30 29 .ascii "Code Dump" ; the caption string 31 30 endcap: 32 31 33 - icon: 32 + icons: 33 + .dw #0 ; size icon0 34 + .dw (icon0 - icons) ; offset to icon0 35 + .dw #0 ; size icon1 36 + .dw (icon1 - icons) ; offset to icon1 (0x00b5) 37 + icon0: 38 + .dw #0 ; icon width 39 + .db #0 ; icon height 40 + icon1: 41 + .dw #0 ; icon width 42 + .db #0 ; icon height 43 + 34 44 35 45 .equ bsendbyte, #0x802D ; raises busy & sends byte. 36 46 ; We use the existing sendbyte from
+17 -8
datadump.asm
··· 14 14 15 15 jp eventhandler 16 16 17 - .dw (icon) ; icon location (in this page) 17 + .dw (icons) ; icon location (in this page) 18 18 .dw (caption) 19 19 .dw (dunno) 20 - 21 20 dunno: 22 21 .db #0 23 - zip: 24 - .db #0 25 - zilch: 26 - .db #0 22 + xpos: 23 + .dw #0 24 + ypos: 25 + .dw #0 27 26 caption: 28 27 .dw #0x0001 ; ????? 29 28 .dw (endcap - caption - 6) ; end of chars 30 - .dw #0006 ; offset to first char 29 + .dw #0x0006 ; offset to first char 31 30 .ascii "Data Dump" ; the caption string 32 31 endcap: 33 32 34 - icon: 33 + icons: 34 + .dw #0 ; size icon0 35 + .dw (icon0 - icons) ; offset to icon0 36 + .dw #0 ; size icon1 37 + .dw (icon1 - icons) ; offset to icon1 (0x00b5) 38 + icon0: 39 + .dw #0 ; icon width 40 + .db #0 ; icon height 41 + icon1: 42 + .dw #0 ; icon width 43 + .db #0 ; icon height 35 44 36 45 .equ bsendbyte, #0x802D ; raises busy & sends byte. 37 46 ; We use the existing sendbyte from
+12 -3
loader.asm
··· 27 27 28 28 jp eventhandler ; Jump to the start of our code. 29 29 30 - .dw (icon) ; The following is data about the app 30 + .dw (icons) ; The following is data about the app 31 31 .dw (caption) ; itself, most of which we won't even 32 32 .dw (dunno) ; worry about. 33 - 34 33 dunno: 35 34 .db #0 36 35 zip: ··· 44 43 .ascii "Loader" ; the caption string 45 44 endcap: 46 45 47 - icon: 46 + icons: 47 + .dw #0 ; size icon0 48 + .dw (icon0 - icons) ; offset to icon0 49 + .dw #0 ; size icon1 50 + .dw (icon1 - icons) ; offset to icon1 (0x00b5) 51 + icon0: 52 + .dw #0 ; icon width 53 + .db #0 ; icon height 54 + icon1: 55 + .dw #0 ; icon width 56 + .db #0 ; icon height 48 57 49 58 .equ brecvbyte, #0x8027 ; Firmware function in codeflash page 1. Attempts 50 59 ; to receive a byte. Upon returning, if a = 0, it
z80/codedump.bin

This is a binary file and will not be displayed.

z80/datadump.bin

This is a binary file and will not be displayed.

z80/loader.bin

This is a binary file and will not be displayed.