VOGONS


8BIT ISA SERIAL I/O TO PS2 MOUSE

Topic actions

First post, by Madowax

User metadata
Rank Newbie
Rank
Newbie

This is a a serial interface 8bit ISA card with the Matze79 + Felmar Loyd PS/2 to Serial Mouse Adapter integrated on it.

PS/2 to Microsoft Serialmouse Adapter Converter / Updated First Post / Firmware Update added <--Matze and Felmar work is already well documented in this thread.

The board it's ready and it has been tested with almost every motherboard in my collection from 386 to Pentium III. It can be configured as COM1 through COM4 using jumpers, also it can be configured to use IRQ 3, 4, 5 or 7.

Picture of the Prototype:
u0G8Tg2.jpg

Render of the final PCB:
8dW6tcn.png

I'm producing few final boards and I will send them to very kind people that will trash a lot of time 😉 testing them in their systems for compatibility and issues 😢 . Let me know what you think about this project, any suggestion is welcome. Thanks.

Reply 1 of 98, by keropi

User metadata
Rank l33t++
Rank
l33t++

I approve of this , I really liked the idea from the beginning 😀

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 2 of 98, by root42

User metadata
Rank l33t
Rank
l33t

Love it, however the number of slots in my system is getting fewer all the time. What is the PLCC chip? Some Atmel MCU? Does it do the UART and PS/2 translation?

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 3 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
root42 wrote:

Love it, however the number of slots in my system is getting fewer all the time. What is the PLCC chip? Some Atmel MCU? Does it do the UART and PS/2 translation?

The PLCC chip is a classic 16c550 UART, a lot of users here, I'm sure, remember it in its DIP-40 package. Isa i/o cards usally have one or more on them.

221919d8eaa1c0d07fe796311e75faa4.jpg
Isa Serial with two 16c550 DIP-40 ICs:
ISA2S550.B.jpg

The AVR MCU is the dip-20 on the right (IC3 on the rendered board), since UART and MCU are on the same board no RS-232 Driver ICs are needed and they directly communicate at TTL-232 level.

Reply 4 of 98, by Deunan

User metadata
Rank Oldbie
Rank
Oldbie

That's a great project, I had to hunt down a NOS serial mouse which, being a ball one, is not exatly great by today's standards. Still more comfortable than my first 3-button Genius.

But I have to ask, wouldn't it be easier to put a 5V Cortex-M on that PCB, connect it directly to both ISA and PS/2 port, and then write a custom mouse driver based on CTMOUSE sources? Are there any games or programs that talk directly to the mouse and bypass int 33h? I can't remember any. And a 48MHz Cortex-M should be able to handle ISA bus at full speed with interrupts alone. Literally one chip solution. If not, a small PAL/GAL would just assert WAIT until the MCU can process the read/write.

For even bigger project why not use Cortex-M4 at 120MHz with USB host, that would require voltage translation at ISA but the possibilities...

Reply 5 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
Deunan wrote:

That's a great project, I had to hunt down a NOS serial mouse which, being a ball one, is not exatly great by today's standards. Still more comfortable than my first 3-button Genius.

But I have to ask, wouldn't it be easier to put a 5V Cortex-M on that PCB, connect it directly to both ISA and PS/2 port, and then write a custom mouse driver based on CTMOUSE sources? Are there any games or programs that talk directly to the mouse and bypass int 33h? I can't remember any. And a 48MHz Cortex-M should be able to handle ISA bus at full speed with interrupts alone. Literally one chip solution. If not, a small PAL/GAL would just assert WAIT until the MCU can process the read/write.

For even bigger project why not use Cortex-M4 at 120MHz with USB host, that would require voltage translation at ISA but the possibilities...

That's another approach and probably it would be a great solution, but it was much easier for me to simply take the already working matze79 adapter and the most used/compatible uart ISA interface on the planet and to combine them in one single board. Matze79 and Felmar Loyd have recently released their new firmware version 1.1 for the ATTiny2313 which adds support for wheel mouse, they have already written the dos and wfw3.11 drivers and utility. Basically I tried to build something simple and very compatible, this kind of serial interface is standard since XT, in this way the project is already finished and working fine in all initial tests. Any change in the firmware, like the uart/MCU communication baud rate is already supported and future updates could be easily implemented simply reflashing the MCU.
Basically I'm a lazy guy. 🤣

Reply 6 of 98, by root42

User metadata
Rank l33t
Rank
l33t

You could probably even add another UART for a second, standard RS232 port, saving a slot on ancient machines...

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 7 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
root42 wrote:

You could probably even add another UART for a second, standard RS232 port, saving a slot on ancient machines...

A 16552 Dual UART variant which support 2 serial ports in a single IC can be used in the design: 1 for the adapter and 1 could be used as a standard Serial port, but I don't think it's very common nowdays to use a serial port in retro builds if not for the mouse, unless you are using a 3com sportster modem to show off. 😉 So if you are going to use this board for the mouse you don't need a serial i/o card anymore.

Reply 8 of 98, by GigAHerZ

User metadata
Rank Oldbie
Rank
Oldbie

Serial ports are great!

It's fun to play around with (emulated) modems over serial port and link computers with null-modem cables...

"640K ought to be enough for anybody." - And i intend to get every last bit out of it even after loading every damn driver!

Reply 9 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
GigAHerZ wrote:

Serial ports are great!

It's fun to play around with (emulated) modems over serial port and link computers with null-modem cables...

Playing Doom multiplayer mode, that's nice indeed 😀 well then the second port is a suggestion to consider, thanks.

Reply 10 of 98, by dionb

User metadata
Rank l33t++
Rank
l33t++

Great idea. I'd be happy to help too - my love of old computers does not extend to old pointing devices, and whereas I can get my preferred trackballs down to PS/2, they don't talk native serial. Also, PS/2 plays nice with my KVM-switch. All in all lots of PS/2 things I could plug into it to check behaviour. Also have boards down to 8086 to stick them into.

Reply 11 of 98, by root42

User metadata
Rank l33t
Rank
l33t

There are lots of serial devices apart from modems and mice. Stuff like Wacom pads come to mind or vintage handheld devices from Palm or Casio. Probably there is lots more.

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 12 of 98, by gerwin

User metadata
Rank l33t
Rank
l33t

Great idea!
I suppose that 486 systems never lack COM ports, since they come with the IDE interface, either on the motherboard or on a card. But in certain builds or test setups this may be more tidy and easier to install.

Don't you think a green or gold PCB would match a little better with these old motherboards? Or is the white PCB some prototype stage consideration?

--> ISA Soundcard Overview // Doom MBF 2.04 // SetMul

Reply 13 of 98, by keropi

User metadata
Rank l33t++
Rank
l33t++

I also agree an extra port on this particular card would be a waste somewhat , allow me to explain
a. XT situation: either onboard ports or the user has installed one of these floppy/serial/lpt cards which are the most common
b. AT situation: same as above, either onboard ports or a 16bit I/O card that already has serial ports

I just don't see a more complex design to include a 2nd serial port getting much use... XT systems for example have 8 ISA slots and OEM ones have onboard ones so I don't think the slot count will be an issue?

Also yes, one can port all that to an arm core and re-invent the wheel in some sense, it just does not worth the time investment IMHO

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 14 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
root42 wrote:

There are lots of serial devices apart from modems and mice. Stuff like Wacom pads come to mind or vintage handheld devices from Palm or Casio. Probably there is lots more.

That's true, I must admit I didn't consider them in retro builds, but it's still a possibility and someone might be interested.

gerwin wrote:

Great idea!
I suppose that 486 systems never lack COM ports, since they come with the IDE interface, either on the motherboard or on a card. But in certain builds or test setups this may be more tidy and easier to install.

Don't you think a green or gold PCB would match a little better with these old motherboards? Or is the white PCB some prototype stage consideration?

You can always use COM3/COM4 settings and still install this card in a late 486 PCI with serial I/O already onboard and active without any conflicts. I can also redesign it with 1 serial port, 1 parallel port and 1 PS/2 port, in this way it can replace any ISA I/O card that we usually install in our builds, but the board will be more expensive and I'm here to decide with you if it's really necessary. For the color I would really like to use the classic brown/copper. I really like it, but I am open to suggestions.

Reply 15 of 98, by root42

User metadata
Rank l33t
Rank
l33t

Maybe just offer two boards? One with only one, the other with two ports? Of course the best card would be multi IO with serial, PS/2, floppy, HD XT IDE and maybe even a parallel port on a breakout. 😉

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 16 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
root42 wrote:

Maybe just offer two boards? One with only one, the other with two ports? Of course the best card would be multi IO with serial, PS/2, floppy, HD XT IDE and maybe even a parallel port on a breakout. 😉

The best I can do without big problems is: floppy+1x parallel+1x serial+1x ps/2 but at that point maybe it's better a standard I/O board with the matze79 adapter by itself mounted on the 3d printed bracket. I thought it could be useful to keep it simple, just for those who want ps/2 mouse on old motherboards without it.

Reply 17 of 98, by gerwin

User metadata
Rank l33t
Rank
l33t
Madowax wrote:

You can always use COM3/COM4 settings and still install this card in a late 486 PCI with serial I/O already onboard and active without any conflicts. I can also redesign it with 1 serial port, 1 parallel port and 1 PS/2 port, in this way it can replace any ISA I/O card that we usually install in our builds, but the board will be more expensive and I'm here to decide with you if it's really necessary. For the color I would really like to use the classic brown/copper. I really like it, but I am open to suggestions.

What I wrote was with the background of having a non-PS2 port 486, and the original PS2-mouse-adapter and also your new ISA card at hand. Both PS2 adapters achieve their primary purpose just fine, so that is a luxury decision. But not an easy decision.
The original adapter has the advantage of communicating with an existing com port, though in older systems lacking com ports this may very well be a disadvantage.
The ISA card has the advantage of connecting to the ISA slot: It takes power from there, and it is also automatically fixated in your PC case.
Personally I have no desire for additional COM/LPT ports in a 486 system. The three VLB/ISA IDE Cards I have here all have the usual 2xCOM/1xLPT integrated. Often I disable LPT1 to free IRQ 7 for sound. (But let me not spoil the party for people with even older systems, or for people with one of these interesting dreamblaster LPT sound devices.)

Classic brown/copper PCB, that sounds good.

--> ISA Soundcard Overview // Doom MBF 2.04 // SetMul

Reply 18 of 98, by Madowax

User metadata
Rank Newbie
Rank
Newbie
gerwin wrote:
What I wrote was with the background of having a non-PS2 port 486, and the original PS2-mouse-adapter and also your new ISA card […]
Show full quote

What I wrote was with the background of having a non-PS2 port 486, and the original PS2-mouse-adapter and also your new ISA card at hand. Both PS2 adapters achieve their primary purpose just fine, so that is a luxury decision. But not an easy decision.
The original adapter has the advantage of communicating with an existing com port, though in older systems lacking com ports this may very well be a disadvantage.
The ISA card has the advantage of connecting to the ISA slot: It takes power from there, and it is also automatically fixated in your PC case.
Personally I have no desire for additional COM/LPT ports in a 486 system. The three VLB/ISA IDE Cards I have here all have the usual 2xCOM/1xLPT integrated. Often I disable LPT1 to free IRQ 7 for sound. (But let me not spoil the party for people with even older systems, or for people with one of these interesting dreamblaster LPT sound devices.)

Classic brown/copper PCB, that sounds good.

Indeed you are right, my board doesn't want to replace matze79 adapter, in a late PCI 486 with integrated I/O and using a floppy Molex for power it up, It would be just perfect. It connects to the serial header of one of the onboard serial and you are good to go, no ISA slot consumed. I designed this board for 8086/286/386/early 486. In these systems you usually got a lot of ISA slots and the need of at least 1 serial I/o card for a mice. I must confess I based this project on my usual EISA/ISA/VLB retro builds:
1x Graphics card
1x Sound card
1x midi card (optional)
1x aha-1542 / buslogic VLB SCSI / aha-2742w eisa (floppy+SCSI HDD)
1x ISA serial to ps/2 mouse
1x Nic (optional)
4, 5 or 6 ISA slots in total.
Done!
But that's my opinion of course, I really like to collect yours. 😀

Reply 19 of 98, by GigAHerZ

User metadata
Rank Oldbie
Rank
Oldbie

Why not to keep it really simple? Having a PS/2 port + another COM port just because it can be had almost for free? (As there are dual serial controllers around) Other stuff needs additional chips and make it more complicated... no need for than with this nice little 8bit card.

"640K ought to be enough for anybody." - And i intend to get every last bit out of it even after loading every damn driver!