The last months I have been trying to get a stable serial connection between a FT232 module and my MSX (NMS8245).
I believe it is working now. It is still a very basic driver: just sending and receiving bytes at 57600 bps. Pin1 is RX (input) and pin6 is TX (output).
The code is avialable here: link
It should work on a 'normal' MSX with a 3.58 MHz Z80.
The key trick was fast polling for the start bit followed by a strict 62 cycles loop to read all data bits.
The Z80+M1 table from Grauw was extremely useful here!
The next step in this mini-project is creating file I/O routines.
Login or register to post comments