|
|
| version 1.38, 2004/02/16 05:09:00 | version 1.39, 2004/02/18 02:03:36 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "strres.h" | |
| #include "dosio.h" | #include "dosio.h" |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "pccore.h" | #include "pccore.h" |
| Line 20 | Line 21 |
| BOOL biosrom = FALSE; | BOOL biosrom = FALSE; |
| static const char file_biosrom[] = "bios.rom"; | |
| static const char neccheck[] = "Copyright (C) 1983 by NEC Corporation"; | static const char neccheck[] = "Copyright (C) 1983 by NEC Corporation"; |
| // 00/05/18 MS-DOS6.2 on PC-9801VX calling proc | // 00/05/18 MS-DOS6.2 on PC-9801VX calling proc |
| Line 174 void bios_init(void) { | Line 173 void bios_init(void) { |
| // まぁDISK BASIC動くようになるからいいんじゃないですか? | // まぁDISK BASIC動くようになるからいいんじゃないですか? |
| // BASIC BIOSは 8086コードのように見えるけど… | // BASIC BIOSは 8086コードのように見えるけど… |
| getbiospath(path, file_biosrom, sizeof(path)); | getbiospath(path, str_biosrom, sizeof(path)); |
| fh = file_open_rb(path); | fh = file_open_rb(path); |
| if (fh != FILEH_INVALID) { | if (fh != FILEH_INVALID) { |
| if (file_read(fh, mem + 0x0e8000, 0x18000) == 0x18000) { | if (file_read(fh, mem + 0x0e8000, 0x18000) == 0x18000) { |