[Patch] OAK Oti-037 VGA

Post Reply
EluanCM
Posts: 112
Joined: Tue 27 Oct, 2015 2:07 pm
Location: Brazil
Contact:

[Patch] OAK Oti-037 VGA

Post by EluanCM »

While the Oti-037 has fewer capabilities than the already emulated Oti-067, its BIOS is somewhat pickier and did some tests that PCem didn't pass yet with the Oti-067 code, including enabling/disabling the controller, color diagnostic reading and reading from undocumented registers.
The diagnostic test using the Color Plane Enable and the Input Status Register required some changes to this code in PCem, which used a heuristic previously. Now the information is copied from the Overscan Color Register, which, while technically more correct, may break other VGAs because I don't have BIOSes for every card that PCem emulates to test.
Also perhaps some things like the VGA Enable register should be moved to the generic vid_svga.c.

This is the last component needed to emulate my old Hyundai SUPER-286TR (Award 286 Clone/SCAT Chipset/12.5mhz, 1MB RAM, Oak Oti-037)
Attachments
oak_oti-037_2018_02_20.diff.txt
(20.28 KiB) Downloaded 357 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] OAK Oti-037 VGA

Post by SarahWalker »

Committed at rev 1065.
Post Reply