Tools for working with Cidco Mailstations

Add a Makefile and binary versions of loader, codedump, and datadump

These can easily be viewed with 'hexdump -C' and typed into the
Mailstation's hex editor.

+48
+1
.gitignore
··· 1 + obj/
+47
Makefile
··· 1 + # 2 + # Requires SDCC and its ASZ80 assembler 3 + # http://sdcc.sourceforge.net/ 4 + # 5 + # Requires hex2bin 6 + # https://sourceforge.net/projects/hex2bin/files/hex2bin/ 7 + # 8 + 9 + ASZ80 ?= sdasz80 -l 10 + SDCC ?= sdcc -mz80 11 + 12 + OBJ ?= obj/ 13 + 14 + all: loader.bin codedump.bin datadump.bin 15 + 16 + clean: 17 + rm -f *.{map,bin,ihx,lst,rel,sym,lk,noi} 18 + 19 + # parallel loader 20 + loader.rel: loader.asm 21 + $(ASZ80) -o $@ $> 22 + 23 + loader.ihx: loader.rel 24 + $(SDCC) --no-std-crt0 -o $@ $> 25 + 26 + loader.bin: loader.ihx 27 + hex2bin $> >/dev/null 28 + 29 + 30 + # parallel dumpers, codeflash and dataflash 31 + codedump.rel: codedump.asm 32 + $(ASZ80) -o $@ $> 33 + 34 + codedump.ihx: codedump.rel 35 + $(SDCC) --no-std-crt0 -o $@ $> 36 + 37 + codedump.bin: codedump.ihx 38 + hex2bin $> >/dev/null 39 + 40 + datadump.rel: datadump.asm 41 + $(ASZ80) -o $@ $> 42 + 43 + datadump.ihx: datadump.rel 44 + $(SDCC) --no-std-crt0 -o $@ $> 45 + 46 + datadump.bin: datadump.ihx 47 + hex2bin $> >/dev/null
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.