On Sat, Dec 29, 2001 at 10:18:40PM +0100, Cor Wessels wrote: > Hello, > > I want to sent some data to the parallel port and give a pulse on one (or > two) of the other pins but can't figure out any more how it works. I had it > working several years ago but lost the source. > I have connected a test PCB with a resistor and LED connected to ground on > the parallel port, but when I sent some data with OUT &H91,A (I also tested > it with call &HA8) RuMSX freezes.
I don't know about emulators, but here's how the printer port works on a real msx: There's 9 bits data out and 1 bit data in. 8 of the output bits are controlled by writing data to port &H90. It goes to pins 2-9 on the connector. The other bit (strobe) is pin 1 on the connector (IIRC) and is controlled by bit 0 of output port &H91. The busy flag (the only input bit) is read from port &H91, on bit 1. The busy bit is pin 10. pin 14 is ground. I might be wrong about the bits/pin numbers. If this is emulated, I guess it is done in the same way. All other status inputs are not connected, I guess. Bye, shevek -- For info, see http://www.stack.nl/~wynke/MSX/listinfo.html
