OSDN Git Service

[VM][PC9801][SASI_BIOS] .
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 14 Jul 2019 08:18:11 +0000 (17:18 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 14 Jul 2019 08:18:11 +0000 (17:18 +0900)
source/src/vm/pc9801/pc9801.h
source/src/vm/pc9801/sasi_bios.cpp

index b2ff852..542a3f0 100644 (file)
        #define DEVICE_NAME     "NEC PC-9801RA"
        #define CONFIG_NAME     "pc9801ra"
        #define HAS_I386
+//     #define HAS_I486
        #define CPU_CLOCKS              19968120
        #define PIT_CLOCK_5MHZ
 //     #define CPU_CLOCKS              15974496
                #define SUPPORT_EGC
                #define HAS_UPD4990A
        #endif
-       #if !defined(SUPPORT_HIRESO) /*&& !(defined(HAS_I386) || defined(HAS_I486) || defined(HAS_PENTIUM))*/ /*&& !defined(SUPPORT_32BIT_ADDRESS)*/
+       #if !defined(SUPPORT_HIRESO) /*&& !(defined(HAS_I386) || defined(HAS_I486) || defined(HAS_PENTIUM))*/
                #define SUPPORT_NEC_EMS
        #endif
        #define SUPPORT_SASI_IF
index 31958dd..5f6575c 100644 (file)
@@ -182,6 +182,7 @@ bool BIOS::bios_call_far_ia32(uint32_t PC, uint32_t regs[], uint16_t sregs[], in
                                if(seg == 0xd7) goto __next; // To Pseudo SASI BIOS.
                        }
 #endif
+                       return false;
 #ifdef _PSEUDO_BIOS_DEBUG
                        this->out_debug_log(_T("%6x\tDISK BIOS: AH=%2x,AL=%2x,CX=%4x,DX=%4x,BX=%4x,DS=%2x,DI=%2x\n"), get_cpu_pc(0), AH,AL,CX,DX,BX,DS,DI);
 #endif