1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

Modify to load test program and punch it to PTP, test it

This commit is contained in:
Ross Wilson 2016-03-15 15:39:33 +10:00
parent ff5f4c1eea
commit b894ccfc79

View File

@ -1,10 +1,11 @@
# run the "blockpunch" program
bootrom ptr; mount ptr blockpunch.ptp; trace 03540,03677; setreg pc 040; rununtil 0
mount ttyout xyzzy.out
bootrom ptr; mount ptr dumpmem_test.ptp; setreg pc 040; rununtil 0 # load the test program into 0100-0110
mount ptr blockpunch.ptp; setreg pc 040; rununtil 0 # then load blockpunch
mount ttyout xyzzy.ptp # punch the test program to xyzzy.ptp
setreg pc 03660; rununtil 0 # punch leader
setreg pc 03640; rununtil 0 # punch block loader
setreg pc 03660; rununtil 0 # punch leader
setreg ds 040; rununtil 0 # feed in start address 040
setreg ds 077; rununtil 0 # and end address 077
setreg ds 040; rununtil 0 # feed in start address 0100
setreg ds 077; rununtil 0 # and end address 0110
setreg pc 03670; rununtil 0 # punch memory and end leader