3 ms·
That design is badly missing some registers (D-type flip-flops) -- the whole "let's read/write multiple bytes and discard the first one because the ESP is not r
by theamk 5y ago
That design is badly missing some registers (D-type flip-flops) -- the whole "let's read/write multiple bytes and discard the first one because the ESP is not ready yet" seems like a super hacky solution.
A pair of something like 74574's would make this so much easier. When sending to ESP, register latches the last byte written and then ESP can read it at its leisure. When reading from ESP, ESP pre-loads the data into register, and then gameboy reads data from the register. This generates interrupt which ESP uses to load next byte into register.
Moreover, there might be a right logical series which will be compatible with both 3.3 and 5V busses. Then one could replace the level converters with register, keeping the overall complexity about the same.
- monocasa 5y agoThat's the first thing that popped out to me reading this too, bit then ended up on 'there's a perfectly good SPI bus on the link cable". With it hooked up there, you can power the esp with its own battery, and switch out carts (or more likely roms on a flash cart) for the application you want to run. IRC and Gopher ROMs can just share a wifi module.
- pezezin 5y agoI'm not an expert, but I think a better solution would be to use a dual ported RAM that both the ESP and the Gameboy can access. The Gameboy has a dedicated memory area for cartridge RAM, A000 to BFFF.