Permalink
Browse files

INT 15H AH=C0h report PS/2 model 30 if machine=mcga, for Thexder

  • Loading branch information...
joncampbell123 committed Aug 26, 2018
1 parent bd7049b commit 5edfaebb42a562d19a25b77028e1bd6b3e08d463
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/ints/bios.cpp
View
@@ -5986,7 +5986,11 @@ class BIOS:public Module_base{
/* Tandy doesn't have a 2nd PIC, left as is for now */
phys_writeb(data+5,(1<<6)|(1<<5)|(1<<4)); // Feature Byte 1
} else {
if (PS1AudioCard) { /* FIXME: Won't work because BIOS_Init() comes before PS1SOUND_Init() */
if (machine==MCH_MCGA) {
/* PC/2 model 30 model */
phys_writeb(data+2,0xFA);
phys_writeb(data+3,0x00); // Submodel ID (PS/2) model 30
} else if (PS1AudioCard) { /* FIXME: Won't work because BIOS_Init() comes before PS1SOUND_Init() */
phys_writeb(data+2,0xFC); // Model ID (PC)
phys_writeb(data+3,0x0B); // Submodel ID (PS/1).
} else {

0 comments on commit 5edfaeb

Please sign in to comment.