1
0
mirror of https://github.com/livingcomputermuseum/cpus-pdp8.git synced 2026-01-13 15:37:04 +00:00
This commit is contained in:
brad 2010-04-23 19:59:24 +00:00
parent 53474c6c70
commit d7e30422b3
2 changed files with 36 additions and 5 deletions

View File

@ -1,11 +1,11 @@
all: rom.mem
all: rom.mem uart.mem
rom.bin: rom.pal
../utils/macro/macro8x rom.pal
%.bin: %.pal
../utils/macro/macro8x $<
rom.mem: rom.bin
../utils/showbin/showbin rom.bin >rom.mem
%.mem: %.bin
../utils/showbin/showbin $< >$@
clean:
rm -rf *.lst *.bin *.mem

31
rom/uart.pal Normal file
View File

@ -0,0 +1,31 @@
/ ROM IS ONE PAGE AT 7400 - 7577
*7400
/ test uart
CLA CMA
TAD KMSG
DCA 10
TAD KLEN
DCA 7
LOOP,
CLA
TAD I 10
TLS
TSF
JMP .-1
ISZ 7
JMP LOOP
DONE, JMP DONE
KMSG, MSG
KLEN, -12
MSG, 215;212;"H;"E;"L;"L;"O;"!;215;212