OSDN Git Service

[General] Convert sourcecode's CRLF format: DOS(WINDOWS) to Unix, to apply patches...
[csp-qt/common_source_project-fm7.git] / source / src / vm / j3100 / slsystem.cpp
1 /*
2         TOSHIBA J-3100SL Emulator 'eJ-3100SL'
3
4         Author : Takeda.Toshiya
5         Date   : 2011.08.16-
6
7         [ system ]
8 */
9
10 #include "slsystem.h"
11
12 void SYSTEM::initialize()
13 {
14         nmi_mask = 0;
15 }
16
17 /*
18 e3      out     word    ff5a
19 e4      in      byte    ??
20 e5      out     word    865a/ff5a/d55a
21 e6      in      byte    ??
22 e8      out     byte    5a
23 e9      out     byte    bf/9f
24 ea      out     byte    5a
25 eb      out     byte    e0
26 */
27
28 void SYSTEM::write_io8(uint32 addr, uint32 data)
29 {
30         switch(addr & 0xffff) {
31         case 0xa0:
32                 nmi_mask = data;
33                 break;
34         }
35 }
36
37 uint32 SYSTEM::read_io8(uint32 addr)
38 {
39         return 0xff;
40 }
41