joncampbell123 / doslib

Hackipedia DOSLIB, a general collection of useful libraries for writing MS-DOS software
GNU Lesser General Public License v2.1
205 stars 17 forks source link

VGA: Tandy detection assumes Tandy graphics #36

Open joncampbell123 opened 6 years ago

joncampbell123 commented 6 years ago

Though Tandy systems are normally associated with PCjr and CGA like video modes, later Tandy systems have VGA graphics, though they still have the sound chip.

The existing code assumes that if INT 1Ah reveals the Tandy 3-voice chip, that it's Tandy graphics.

The VGA library needs a better way to detect Tandy systems (if one is available), and it needs a way to distinguish between Tandy graphics and a Tandy with VGA graphics.

joncampbell123 commented 6 years ago

Also need to separate PCjr detection from Tandy detection, since PCjr detection is based on the BIOS model byte.