dml@loral.UUCP (Dave Lewis) (03/16/87)
-------------------------------
I have just finished modifying a George Indorf/Intronics CoCo EPROM
programmer to run under OS-9. If there's any interest out there, I could
post the details -- it involves some extensive hardware mods in addition
to completely new software.
The software consists of three command programs. Each of them computes
and displays a checksum when it finishes, and they even agree!
Epread - reads a whole EPROM into a disk file
Epblank - checks an EPROM for erasure (all FF's) and displays the number of
unerased bytes found. There's a "-e" option to cause it to display the
non-blank bytes as: 023C 30 023D 01 023E 86 ...
Eprogram - programs a specified file into an EPROM and verifies the data.
A "-o" option causes it to start programming at a specified offset
("-o200" would make it start at $0200 in the EPROM), and there is a
"-v" option for verify only, no program. All verification failures
are displayed as: 0040 27 26 (address, source data, bad data) and a
total verification error count is displayed at the end. The inner
programming loop calls F$SLEEP for a few ticks after initiating each
program cycle, so it runs well in the background.
The hardware mods involve adding two one-shots and some XOR gates, and
patching them into the EPROM chip select and VPP gate circuits. It won't
work with its original software afterward.
Finally, here's a skeleton driver for the Multi-pak under OS-9:
SET_SLOT PSHS CC (and any other registers you want to save)
LDB #SLOT-1 Slot is 1, 2, 3 or 4...the slot you want to activate
ORCC #INTMASKS Disable the interrupts - VERY important
STB >$FF7F The desired slot is now selected
~
Do whatever you want with the device in the selected slot
~
LDB #3 Reselect slot 4 when you're all done
STB >$FF7F Disk controller is now selected
PULS CC Now it's safe to enable the interrupts
-------------------------------
Dave Lewis Loral Instrumentation San Diego
hp-sdd --\ ihnp4 --\
sdcrdcf --\ bang --\ kontron -\
csndvax ---\ calmasd -->-->!crash --\
celerity --->------->!sdcsvax!sdcc3 --->--->!loral!dml (uucp)
dcdwest ---/ gould9 --/
"I was sure I'd stumbled into my favorite nightmare, where everyone
around me goes insane and starts gibbering at me. Then I decided that
I'd gone crazy too, which somehow made everything all right."
-------------------------------