OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / fp1100 / rompack.h
1 /*
2         CASIO FP-1100 Emulator 'eFP-1100'
3
4         Author : Takeda.Toshiya
5         Date   : 2010.06.18-
6
7         [ rom pack ]
8 */
9
10 #ifndef _ROMPACK_H_
11 #define _ROMPACK_H_
12
13 #include "../vm.h"
14 #include "../../emu.h"
15 #include "../device.h"
16
17 namespace FP1100 {
18         
19 class ROMPACK : public DEVICE
20 {
21 private:
22         uint8_t rom[0x8000];
23         
24 public:
25         ROMPACK(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
26         {
27                 set_device_name(_T("ROM Pack"));
28         }
29         ~ROMPACK() {}
30         
31         // common functions
32         void initialize();
33         uint32_t read_io8(uint32_t addr);
34 };
35
36 }
37 #endif