Don
You are correct. the mapping is fixed 64k blocks per unit.
You are also correct the hct595 would be a perfect fit. This is the first pass at this project and I was not certain what the GAL would be called on to do.(first time I did a CF interface)
So I went with a GAL. A second pass board would use the 595
Got it. I've never tried more than 4 units on XXDP (or RT11), so I can't say if DD255: (or DD377: octal?) (or DD8: or above) would even be legal, never tried it. I set TU58EM to support 8 units maximum, and noone has ever complained that was not enough. However, the mapping from unit to image is not fixed in TU58EM, so that is a major difference.
I think a '299 would be a direct drop in, whereas with the '595 you have to contend with the output register, so it may not be completely transparent.
I don't like trying to build an arduino into something. They never look like they fit. Oh... I also have a terminal case of "not invented here" ;-)
This is not intended to slight your TU-58 emulator in any way. I've used it...Works great! I just didn't want to tie up a PC....they always have something else to do.
I'm really glad your looking at the code. My big fear was posting this project and getting nothing but "crickets chirping"
joe
As a young engineer, I had NIH / build it from scratch / rewrite some other code just because I can do it better (or just because) syndrome.
Now as an old fart, the more I can leverage existing projects the better. Time is the most precious variable now over just about anything else.
As to waiting for a response to postings here, it really depends. If you post on a Monday, lots of folks won't read / respond until the next weekend or holiday. Or usually until late at night in their time zone. Only us retired folk read the board during the day
Congratulations on getting your code written and reverse engineering the TU58 ROM, that is a significant effort. And passing the DEC diagnostic as well, that is not easy. I have not tried in a while, but last time I did TU58EM would not pass, likely do to the variability of the response time of the PC running the emulator. Having worked to get my RX02 arduino-based emulator to pass the DEC diagnostics I know how much work that can be.
Don