VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

Does the Compaq Deskpro 386 have a PS/2 mouse port? It probably has a PS/2 keyboard, but is a PS/2 mouse port installed as well? When I try to use UniPCemu, which uses a PS/2 mouse instead of a serial mouse on Compaq Deskpro 386 and PS/2 architectures, Cutemouse won't detect the PS/2 mouse(on the second PS/2 port)? The keyboard works without problems(also PS/2, on the first PS/2 port with scancode set translation optional in the PS/2 controller, which is still a bug in the current release of UniPCemu(it will also translate data of the PS/2 mouse the same way)).

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 2 of 4, by superfury

User metadata
Rank l33t++
Rank
l33t++

OK. Changed the PS/2 mouse to be disabled and used a serial mouse on all supported architectures(XT, AT, PS/2 and Compaq Deskpro 386). What was the first 386-based Compaq Deskpro 386-compatible 'modern-style' PC with PS/2 mouse support(on the Second PS/2 port)?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 3 of 4, by vladstamate

User metadata
Rank Oldbie
Rank
Oldbie
SarahWalker wrote:

Deskpro 386 predates the PS/2 and hence does not have PS/2 ports.

I agree, however they were both launched in the same year. Compaq Deskpro 386 was launched in 1987 and the IBM PS/2 port appear in 1987. So my guess would be any of the next 386 OEMs started to have them. Are you looking for a BIOS support?

YouTube channel: https://www.youtube.com/channel/UC7HbC_nq8t1S9l7qGYL0mTA
Collection: http://www.digiloguemuseum.com/index.html
Emulator: https://sites.google.com/site/capex86/
Raytracer: https://sites.google.com/site/opaqueraytracer/

Reply 4 of 4, by superfury

User metadata
Rank l33t++
Rank
l33t++

@vladstamate: Yes. I've implemented a simply non-cycle accurate PS/2 mouse(the PS/2 keyboard uses timings, the PS/2 mouse doesn't yet). The PS/2 mouse still doesn't report any other thing with timings, like the PS/2 keyboard does, but does currently(not in released versions, just the development version) support timing on the reset command(same timings as the PS/2 keyboard reset). When reset, it will report the same data as the PS/2 keyboard (0xFA, 0xAA), but adds a third stage in which it adds a 0x00 byte for mouse ID by software. All other commands aren't timed at all and immediately respond with data in their input/output buffer when the command and/or parameter is received(the PS/2 keyboard does this after some delays on each command/response(s)). But the Deskpro 386 BIOS doesn't use it and the mouse driver I'm using(cutemouse) doesn't even try to detect it. Oddly enough, I do see that it's turning off and on the first PS/2 port after receiving any key from the PS/2 keyboard? It's toggling it off and back on(8042 commands 0xAD&0xAE)?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io