|
|
| version 1.13, 2003/12/10 13:52:57 | version 1.16, 2003/12/25 03:02:40 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "dosio.h" | #include "dosio.h" |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "memory.h" | |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "bios.h" | #include "bios.h" |
| Line 82 static void bios_reinitbyswitch(void) { | Line 81 static void bios_reinitbyswitch(void) { |
| } | } |
| gdcs.textdisp |= GDCSCRN_EXT; | gdcs.textdisp |= GDCSCRN_EXT; |
| if ((pc.model >= PCMODEL_VX) && (usesound & 0x7e)) { | if (((pc.model & PCMODELMASK) >= PCMODEL_VX) && (usesound & 0x7e)) { |
| iocore_out8(0x188, 0x27); | iocore_out8(0x188, 0x27); |
| iocore_out8(0x18a, 0x3f); | iocore_out8(0x18a, 0x3f); |
| } | } |
| Line 191 if (fh != FILEH_INVALID) { | Line 190 if (fh != FILEH_INVALID) { |
| file_close(fh); | file_close(fh); |
| } | } |
| #endif | #endif |
| if (!biosrom) { | if ((!biosrom) && (!(pc.model & PCMODEL_EPSON))) { |
| CopyMemory(mem + 0xe8dd8, neccheck, 0x25); | CopyMemory(mem + 0xe8dd8, neccheck, 0x25); |
| pos = LOADINTELWORD(itfrom + 2); | pos = LOADINTELWORD(itfrom + 2); |
| CopyMemory(mem + 0xf538e, itfrom + pos, 0x27); | CopyMemory(mem + 0xf538e, itfrom + pos, 0x27); |