I’m done with DRAM that are not connected directly to the Z80 CPU as in the H89. Going over the H8 external bus to the DRAM board, it is not an easy task. The timing has to be correct.
I’m happy with the static RAM…😊
More information here:
https://sebhc.github.io/sebhc/documentation/supplemental/norberto_6mhz_h8.pdf
Norberto
--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
sebhc+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sebhc/3264e60b-de87-41b7-9aac-f71f4bdf6356n%40googlegroups.com.
On Mar 8, 2023, at 9:32 PM, smb...@gmail.com <smb...@gmail.com> wrote:
For whatever reason I can't seem to let this one go. I'm considering taking another stab at the DRAM board. Did a little bit of research:
--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/fefe2ec3-c62a-4db6-96c8-b6b411dfa098n%40googlegroups.com.
<dramboard6.jpg><dramboard1.jpg>
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/469DCE46-D2D2-474C-AABC-46055344FBC8%40gmail.com.
Just another hare-brained idea... The DRAM board could implement
something similar to the Z80 refresh controller, and time those
refreshes to M1 (just like the Z80 - it only refreshes in M1
cycles). Probably lots of ways that could run afoul, though.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/b067d202-aacc-482e-85c6-fff1ac30ce99n%40googlegroups.com.
Z80 asserts M1 for each opcode fetch, but not for (plain) memory or I/O access cycles. The Z80 does a refresh cycle in every M1 cycle. Z80 instructions with multiple opcode bytes have multiple refresh cycles.
But, it sounds like it's not a viable approach.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/fe30d994-0ec6-4b3b-9b46-c2b848f4c1e5n%40googlegroups.com.
Can you share your schematics and which DRAM controller are you using?
Norberto
From: se...@googlegroups.com <se...@googlegroups.com>
On Behalf Of smb...@gmail.com
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/b067d202-aacc-482e-85c6-fff1ac30ce99n%40googlegroups.com.
Just checking the specs on the D8202A controller, hopefully you are latching the data going into the H8 bus, with the /XACK signal during a read cycle. Also, use the /XACK signal to control the CPU READY pin.
NOR gate MEMR and MEMW on H8 bus to drive /PCS. Then use /PCS to enable the RD/WR to the DRAM and it must be latched. Use the /02 clock to clear the latch once they de-assert.
I’m not sure if you are using a data buffer or not. If using a buffer such as 74LS240/540 or 74LS640, then you will need to keep the buffer “on” as MEMR/MEMW signals de-asserts. Otherwise you have a race condition between MEMR/MEMW signals and the data buffer turning off simultaneously.
The questions are:
Can you share your schematics to provide more feedback?
At DEC I saw the 8085A directly wired to DRAM and no need to use the Intel DRAM controller. The way they refreshed the RAM was to interrupt the 8085A every 2ms with a 555 timer to do this refresh operations. I think this is the best option, but requires changes to the monitors.
Norberto
From: se...@googlegroups.com <se...@googlegroups.com>
On Behalf Of smb...@gmail.com
Sent: Saturday, March 18, 2023 11:22 AM
To: SEBHC <se...@googlegroups.com>
Subject: Re: [sebhc] Re: h8-64k-dram
That's one of the suggestions in the data sheet, though I did not have success with that approach. I also (last month) tried timing it to the Z80 Refresh pin and ran into some unexpected problems and abandoned the approach. I'd really like a solution that's portable across Z80 and 8080.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/fe30d994-0ec6-4b3b-9b46-c2b848f4c1e5n%40googlegroups.com.
Thank you for the feedback. I still have the scars from the 80’s when dealing with Dynamic RAM boards for the H8 system. That pushed me to design my own board using static RAM back then.
Hopefully you will figured out. I will continue working on the Z67-SDC controller to get it working as II want.
Norberto
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/cc071c61-5bf1-4501-8724-54c4a63a294an%40googlegroups.com.
If I'm reading that correctly, it seems more ominous that you're
asserting /WAIT but the CPU ends the MEMW cycle anyway.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/a8c90c4b-67ee-4134-91be-4a90ea7608c1n%40googlegroups.com.
Congratulations. For better performance, please use 74AHCT123 and 74ALS1005 as shown:

Norberto
From: se...@googlegroups.com <se...@googlegroups.com>
On Behalf Of smb...@gmail.com
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/232ec391-6a6f-4d99-8a7e-76167a25d4f0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/SN6PR01MB385592D70E41A64124EE2F1CF78B9%40SN6PR01MB3855.prod.exchangelabs.com.
I think you have the 8080A 64KB memory board. Just set the 8080A to have a gap between both boards. So, on power-on the CPU will see only the 8080A RAM board. Then you can use the front panel to manually test the DRAM board. Or write a program to exercise it.
At least the 8080A 64K board will provide an stable environment to debug the DRAM board.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/5c5ee4f6-a1bb-43eb-a008-22e7605ec6cdn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/SN6PR01MB3855484D0868A7D8FB9BDE18F7929%40SN6PR01MB3855.prod.exchangelabs.com.
I don't know off-hand what the 8080 puts on A8-A15 during I/O
instructions, but it sounds like maybe I/O and memory cycles are
getting confused - as if an I/O read/write is getting turned into
a memory read/write - or even duplicated to a memory read/write.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/203f5468-b11c-4f96-b263-8b92aa1af844n%40googlegroups.com.
Are you using my GAL 444-61 for I/O control? If yes, please use this version: http://koyado.com/heathkit/New-H8-Website/download/z180-444-61%20(1).zip
And it uses the IORQ and MI signals as inputs. For IORQ, I “OR-Gate” I/OR and I/OW.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/fb0607ec-cfb1-4ee8-a47c-7d996749d669n%40googlegroups.com.
I'm starting to think I should embrace Willis's plan of just cloning his DRAM board part-for-part.
This is a good idea at least to have a baseline of a working board. Once you have something working, then you can expand it as needed with new features.
On my boards, I tried to use the original design from Heathkit to get the board working and then I add features to such design. Most of the times, I find schematics issues, which causes debug issues. At least the H89 schematics are more accurate when compared with the H8 schematics.
On the evolution of the Z80, I started by fixing Les Z80 V2.1 design and came with the following progression:
Thanks,
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/3a15a62d-b2d5-4ae9-bcab-ba2cdb7e64een%40googlegroups.com.
You should use same IC’s. On the H89 circuit below, I had to use 74LS as the “S” version failed. Heath did recommend to use the “S” but the H89 will not work. I have three H89’s and they all use the “LS” version.


To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/763cd2c8-225e-4ac2-ac2d-47b9d727a5can%40googlegroups.com.
For the write cycle, can you use this circuit? Just updated to use the /O2 clock on U112 pin 11 and /MEMW on pin 3 of U111. Also check what Trionyx did their Z80 CPU board as they had so many options.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/c7e00da1-dc64-4ce6-933a-0d6d1726e534n%40googlegroups.com.
Your perseverance is incredible/admirable despite all difficulties to achieve the supreme goal of having such board Dynamic memory board work with the 8080A/8085A/Z80 CPU cards.
Thank you,
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/47555c80-6c34-46b9-a1b6-aaec470177cdn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/5be722ae-0a78-4be5-9f2c-5eecaeec718cn%40googlegroups.com.
Congratulations scott. You certainly poured your all into this effort!
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/1f385cad-606e-4d04-af11-eb518b9f9d24n%40googlegroups.com.
WOW! Great to see it working. I will like to get one of the Z80 early write module to do some testing here.
Thanks,
Norberto
Norberto
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/01df01d97634%24aae43600%2400aca200%24%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/SN6PR01MB38556FB27851CA5A838EAD54F7669%40SN6PR01MB3855.prod.exchangelabs.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/92d6ad4f-e204-4b41-9c7d-7b0713d9a50en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/92d6ad4f-e204-4b41-9c7d-7b0713d9a50en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/068aacb7-7379-4319-ad15-b24c8b1b0342n%40googlegroups.com.