OSDN Git Service

[VM][PC9801][DISPLAY] Fix crash with Jyusin-Rogus.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 29 May 2019 18:10:35 +0000 (03:10 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 29 May 2019 18:10:35 +0000 (03:10 +0900)
[VM][PC9801][MEMBUS] Around sound bios rom.

source/src/vm/pc9801/display.cpp
source/src/vm/pc9801/membus.cpp

index f325e0d..64b4f95 100644 (file)
@@ -2744,7 +2744,8 @@ void DISPLAY::draw_chr_screen()
                if((ytop += len) >= 25) break;
        }
        uint32_t *addr = &gdc_addr[0][0];
-       uint32_t *addr2 = addr + 160 * (sur + sdr);
+//     uint32_t *addr2 = addr + 160 * (sur + sdr);
+       uint32_t *addr2 = addr + 80 * (sur + sdr);
        
        uint32_t cursor_addr = d_gdc_chr->cursor_addr(0x1fff);
        int cursor_top = d_gdc_chr->cursor_top();
index 075fb6b..9932d65 100644 (file)
@@ -466,7 +466,7 @@ void MEMBUS::write_io8(uint32_t addr, uint32_t data)
                {
                        bool result = false;
                        bool _bak;
-
+/*
   //Note: THIS is disabled due to enable bios at startup.
 #if !defined(SUPPORT_HIRESO) // 20190521 K.O 
                        if(sound_bios_load && (using_sound_bios)) {
@@ -476,7 +476,7 @@ void MEMBUS::write_io8(uint32_t addr, uint32_t data)
                                out_debug_log("SOUND BIOS=%s (053Dh)", (sound_bios_selected) ? "YES" : "NO");
                        }
 #endif
-
+*/
 #if defined(SUPPORT_SASI_IF)
                        {
                                _bak = sasi_bios_selected;