mirror of
https://github.com/livingcomputermuseum/cpus-pdp8.git
synced 2026-01-13 15:37:04 +00:00
This commit is contained in:
parent
53474c6c70
commit
d7e30422b3
10
rom/Makefile
10
rom/Makefile
@ -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
31
rom/uart.pal
Normal 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user