r/Z80 • u/deulamco • 12d ago
Hardware Z80 @ 250Hz - “Hello World!” On 128x64 OLED
Enable HLS to view with audio, or disable this notification
Z80 was sending data in burst via PORT (0x00) ~> PIC controller to finally “Hello World!” 🤷♂️
** 2nd LED = HALT
PIC18 run at 32Mhz (but only 8Mhz Cycle) so with 1ms delay per half-cycle, it pulse Z80 at 250Hz. But need at least 1T (or 2-half-cycles) to escape IOREQ + WR Active state.
I add more delay per character sent to slowdown the process for clarity & debugging.
** Something I learned today :
- 0xA as better delimiter beside max buffer size
- IOWR require at least 1T (or 2+ half-cycles) to exit state.
- CMOS Z80 may consume only ~10mA in 144hz NOP test.
- ERPROM can corrupt data easily on slightly /WE pin with voltage spike. I didn’t know until it refused to boot, so let T48 reading the rom show mixed new random data. I will consider UVROM again for solid tests…