VOGONS


First post, by zyga64

User metadata
Rank Oldbie
Rank
Oldbie

Hello everyone,

Some time ago I've bought interesting 286 motherboard without CPU, BIOS, and memory. Fortunately after some googling i was able to find the BIOS image here, CPU on ebay (there are still plenty of 20Mhz 286 made by Harris - very cheap), and I replaced SIPP sockets with SIMM. After setting up jumpers, according to wikipedia and adding necessary cards - board comes to life 😀

board.JPG
Filename
board.JPG
File size
112.4 KiB
Views
668 views
File license
Fair use/fair dealing exception

This motherboard (probably made by Biostar - according to BIOS vendor string 1223) is based on late highly integrated chipset from VLSI. There are only two chips VL82c311L and VL82c113. There are no separate RTC clock nor keyboard controller - both are integrated in smaller vl82c113 chip. After reading its datasheet, it turned out that keyboard controller can work in two modes: AT and PS2, and in PS2 mode mouse is supported !
I've looked on motherboard and there necessary pins (mouse clock, mouse data, and mouse IRQ) were unconnected.

1.) This was the first step - make the connections. I've connected vl82c113 pin 66 (mouse IRQ) to vl82c311l pin 7 (IRQ12), and soldered terminals to pins 63 (mouse data) and 69 (mouse clock) of vl82c113a.

modification.JPG
Filename
modification.JPG
File size
103.04 KiB
Views
668 views
File license
Fair use/fair dealing exception
vl82c311l.png
Filename
vl82c311l.png
File size
20.02 KiB
Views
668 views
File license
Fair use/fair dealing exception
vl82c113.png
Filename
vl82c113.png
File size
85.1 KiB
Views
668 views
File license
Fair use/fair dealing exception

2.) Second step is software part. I have to switch keyboard controller to PS/2 mode and enable necessary pins. This requires to clear two bits in KBDCTRL register. This ended up in little program in tasm:

.model tiny

.code
org 100h

start:
mov al, 01dh
out 0ech, al
in al, 0edh
and al, 11111001b
out 0edh, al
ret
end start
registers.png
Filename
registers.png
File size
57.02 KiB
Views
668 views
File license
Fair use/fair dealing exception

Order is as follows:
- my small program
- ps2suppc.com (copyright by Rio444)
- mouse driver

I've connected directly vl82c113 pins to mouse pins (without any passive elements), this is probably not the safest way. I should look on some motherboard schematics how to do it properly, and I problably will.
Sometimes keyboard controller hangs (after ps2suppc), I don't know why.
Mouse is working fine in DOS, games, and Windows 3.1

I would like to thank Rio444 for his ps2suppc.com !

Last edited by zyga64 on 2019-07-01, 06:50. Edited 1 time in total.

1) VLSI SCAMP /286@20 /4M /CL-GD5422 /CMI8330
2) i420EX /486DX33 /16M /TGUI9440 /GUS+ALS100+MT32PI
3) i430FX /K6-2@400 /64M /Rage Pro PCI /ES1370+YMF718
4) i440BX /P!!!750 /256M /MX440 /SBLive!
5) iB75 /3470s /4G /HD7750 /HDA

Reply 1 of 2, by zyga64

User metadata
Rank Oldbie
Rank
Oldbie

Here is small (11 bytes) com file, which switches keyboard controller to PS/2 mode.

Attachments

  • Filename
    ps2scamp.zip
    File size
    133 Bytes
    Downloads
    61 downloads
    File license
    Fair use/fair dealing exception

1) VLSI SCAMP /286@20 /4M /CL-GD5422 /CMI8330
2) i420EX /486DX33 /16M /TGUI9440 /GUS+ALS100+MT32PI
3) i430FX /K6-2@400 /64M /Rage Pro PCI /ES1370+YMF718
4) i440BX /P!!!750 /256M /MX440 /SBLive!
5) iB75 /3470s /4G /HD7750 /HDA

Reply 2 of 2, by Deksor

User metadata
Rank l33t
Rank
l33t

Very nice ! I have two 386SX with a similar or maybe identical chipset, so I might give a look at this !

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative