|
|
| version 1.18, 2003/12/26 03:41:05 | version 1.19, 2003/12/27 11:55:22 |
|---|---|
| Line 175 void bios_init(void) { | Line 175 void bios_init(void) { |
| mem[0xffff0] = 0xea; | mem[0xffff0] = 0xea; |
| STOREINTELDWORD(mem + 0xffff1, 0xfd800000); | STOREINTELDWORD(mem + 0xffff1, 0xfd800000); |
| CopyMemory(mem + ITF_ADRS, itfrom, sizeof(itfrom)); | |
| mem[ITF_ADRS + 0x7ff0] = 0xea; | |
| STOREINTELDWORD(mem + ITF_ADRS + 0x7ff1, 0xf8000000); | |
| if ((!biosrom) && (!(pc.model & PCMODEL_EPSON))) { | if ((!biosrom) && (!(pc.model & PCMODEL_EPSON))) { |
| CopyMemory(mem + 0xe8dd8, neccheck, 0x25); | CopyMemory(mem + 0xe8dd8, neccheck, 0x25); |
| pos = LOADINTELWORD(itfrom + 2); | pos = LOADINTELWORD(itfrom + 2); |
| Line 196 void bios_init(void) { | Line 192 void bios_init(void) { |
| CopyMemory(mem + 0x0fde00, keytable[0], 0x300); | CopyMemory(mem + 0x0fde00, keytable[0], 0x300); |
| bios0x09_init(); | bios0x09_init(); |
| CopyMemory(mem + ITF_ADRS, itfrom, sizeof(itfrom)); | |
| mem[ITF_ADRS + 0x7ff0] = 0xea; | |
| STOREINTELDWORD(mem + ITF_ADRS + 0x7ff1, 0xf8000000); | |
| if (pc.model & PCMODEL_EPSON) { | |
| mem[ITF_ADRS + 0x7ff1] = 0x04; | |
| } | |
| else if ((pc.model & PCMODELMASK) == PCMODEL_VM) { | |
| mem[ITF_ADRS + 0x7ff1] = 0x08; | |
| } | |
| #else | #else |
| fh = file_open_c("itf.rom"); | fh = file_open_c("itf.rom"); |
| if (fh != FILEH_INVALID) { | if (fh != FILEH_INVALID) { |