|
|
| version 1.60, 2004/03/19 00:30:00 | version 1.61, 2004/03/22 05:38:47 |
|---|---|
| Line 8 | Line 8 |
| #include "biosmem.h" | #include "biosmem.h" |
| #include "sxsibios.h" | #include "sxsibios.h" |
| #include "lio.h" | #include "lio.h" |
| #include "vram.h" | |
| #include "fddfile.h" | #include "fddfile.h" |
| #include "fdd_mtr.h" | #include "fdd_mtr.h" |
| #include "fdfmt.h" | #include "fdfmt.h" |
| Line 66 const IODATA *pterm; | Line 67 const IODATA *pterm; |
| static void bios_memclear(void) { | static void bios_memclear(void) { |
| ZeroMemory(mem + 0x400, 0xa0000 - 0x400); | ZeroMemory(mem, 0xa0000); |
| ZeroMemory(mem + 0x100000, 0x10000); | ZeroMemory(mem + 0x100000, 0x10000); |
| if (CPU_EXTMEM) { | if (CPU_EXTMEM) { |
| ZeroMemory(CPU_EXTMEM, CPU_EXTMEMSIZE); | ZeroMemory(CPU_EXTMEM, CPU_EXTMEMSIZE); |
| Line 76 static void bios_memclear(void) { | Line 77 static void bios_memclear(void) { |
| ZeroMemory(mem + VRAM0_E, 0x08000); | ZeroMemory(mem + VRAM0_E, 0x08000); |
| ZeroMemory(mem + VRAM1_B, 0x18000); | ZeroMemory(mem + VRAM1_B, 0x18000); |
| ZeroMemory(mem + VRAM1_E, 0x08000); | ZeroMemory(mem + VRAM1_E, 0x08000); |
| #if defined(SUPPORT_PC9821) | |
| ZeroMemory(vramex, sizeof(vramex)); | |
| #endif | |
| } | } |
| static void bios_reinitbyswitch(void) { | static void bios_reinitbyswitch(void) { |