2 FUJITSU FMR-30 Emulator 'eFMR-30'
3 FUJITSU FMR-50 Emulator 'eFMR-50'
4 FUJITSU FMR-60 Emulator 'eFMR-60'
6 Author : Takeda.Toshiya
16 #include "../../emu.h"
17 #include "../device.h"
21 class BIOS : public DEVICE
25 DISK *disk[MAX_DRIVE];
28 uint8 *cmos, *vram, *cvram;
37 bool access_fdd[MAX_DRIVE], access_scsi;
38 int scsi_blocks[MAX_SCSI];
39 _TCHAR scsi_path[MAX_SCSI][_MAX_PATH];
40 int memcard_blocks[MAX_MEMCARD];
41 bool memcard_protected[MAX_MEMCARD];
42 _TCHAR memcard_path[MAX_SCSI][_MAX_PATH];
43 uint8 buffer[0x10000];
48 uint32 disk_pc1, disk_pc2, cmos_pc, wait_pc;
51 BIOS(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
58 bool bios_call(uint32 PC, uint16 regs[], uint16 sregs[], int32* ZeroFlag, int32* CarryFlag);
59 bool bios_int(int intnum, uint16 regs[], uint16 sregs[], int32* ZeroFlag, int32* CarryFlag);
60 uint32 read_signal(int ch);
63 void set_context_mem(DEVICE* device)
67 void set_context_io(DEVICE* device)
71 void set_disk_handler(int drv, DISK* dsk)
75 void set_cmos_ptr(uint8* ptr)
79 void set_vram_ptr(uint8* ptr)
83 void set_cvram_ptr(uint8* ptr)
88 void set_avram_ptr(uint8* ptr)
93 void set_kvram_ptr(uint8* ptr)