|
|
| version 1.26, 2004/01/15 07:23:35 | version 1.27, 2004/01/15 17:42:57 |
|---|---|
| Line 180 void bios_init(void) { | Line 180 void bios_init(void) { |
| for (i=0; i<8; i+=2) { | for (i=0; i<8; i+=2) { |
| STOREINTELWORD(mem + 0xfd800 + 0x1aaf + i, 0x1ab7); | STOREINTELWORD(mem + 0xfd800 + 0x1aaf + i, 0x1ab7); |
| STOREINTELWORD(mem + 0xfd800 + 0x1ad7 + i, 0x1adf); | STOREINTELWORD(mem + 0xfd800 + 0x1ad7 + i, 0x1adf); |
| STOREINTELWORD(mem + 0xfd800 + 0x2361 + i, 0x1980); // ver0.31 | STOREINTELWORD(mem + 0xfd800 + 0x2361 + i, 0x1980); |
| } | } |
| CopyMemory(mem + 0xfd800 + 0x1ab7, fdfmt2hd, sizeof(fdfmt2hd)); | CopyMemory(mem + 0xfd800 + 0x1ab7, fdfmt2hd, sizeof(fdfmt2hd)); |
| CopyMemory(mem + 0xfd800 + 0x1adf, fdfmt2dd, sizeof(fdfmt2dd)); | CopyMemory(mem + 0xfd800 + 0x1adf, fdfmt2dd, sizeof(fdfmt2dd)); |
| CopyMemory(mem + 0xfd800 + 0x1980, fdfmt144, sizeof(fdfmt144)); // ver0.31 | CopyMemory(mem + 0xfd800 + 0x1980, fdfmt144, sizeof(fdfmt144)); |
| CopyMemory(mem + 0xfd800 + 0x2400, biosboot, sizeof(biosboot)); // ver0.73 | |
| SETBIOSMEM16(0xfffe8, 0xcb90); | SETBIOSMEM16(0xfffe8, 0xcb90); |
| SETBIOSMEM16(0xfffec, 0xcb90); | SETBIOSMEM16(0xfffec, 0xcb90); |
| Line 219 void bios_init(void) { | Line 218 void bios_init(void) { |
| else if ((pccore.model & PCMODELMASK) == PCMODEL_VM) { | else if ((pccore.model & PCMODELMASK) == PCMODEL_VM) { |
| mem[ITF_ADRS + 0x7ff1] = 0x08; | mem[ITF_ADRS + 0x7ff1] = 0x08; |
| } | } |
| CopyMemory(mem + 0xfd800 + 0x2400, biosboot, sizeof(biosboot)); | |
| #else | #else |
| fh = file_open_c("itf.rom"); | fh = file_open_c("itf.rom"); |
| if (fh != FILEH_INVALID) { | if (fh != FILEH_INVALID) { |