|
|
| version 1.9, 2008/03/22 04:03:07 | version 1.11, 2011/12/21 18:02:47 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2003 NONAKA Kimihiro | * Copyright (c) 2003 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| Line 32 | Line 30 |
| #include "iocore.h" | #include "iocore.h" |
| #include "memory.h" | #include "memory.h" |
| static void IOOUTCALL check_io(UINT port, UINT len); | static void CPUCALL check_io(UINT port, UINT len); |
| static void IOOUTCALL | static void CPUCALL |
| check_io(UINT port, UINT len) | check_io(UINT port, UINT len) |
| { | { |
| UINT off; | UINT off; |
| Line 64 check_io(UINT port, UINT len) | Line 62 check_io(UINT port, UINT len) |
| } | } |
| } | } |
| UINT8 | UINT8 IOINPCALL |
| cpu_in(UINT port) | cpu_in(UINT port) |
| { | { |
| Line 74 cpu_in(UINT port) | Line 72 cpu_in(UINT port) |
| return iocore_inp8(port); | return iocore_inp8(port); |
| } | } |
| UINT16 | UINT16 IOINPCALL |
| cpu_in_w(UINT port) | cpu_in_w(UINT port) |
| { | { |
| Line 84 cpu_in_w(UINT port) | Line 82 cpu_in_w(UINT port) |
| return iocore_inp16(port); | return iocore_inp16(port); |
| } | } |
| UINT32 | UINT32 IOINPCALL |
| cpu_in_d(UINT port) | cpu_in_d(UINT port) |
| { | { |
| Line 94 cpu_in_d(UINT port) | Line 92 cpu_in_d(UINT port) |
| return iocore_inp32(port); | return iocore_inp32(port); |
| } | } |
| void | void IOOUTCALL |
| cpu_out(UINT port, UINT8 data) | cpu_out(UINT port, UINT8 data) |
| { | { |
| Line 104 cpu_out(UINT port, UINT8 data) | Line 102 cpu_out(UINT port, UINT8 data) |
| iocore_out8(port, data); | iocore_out8(port, data); |
| } | } |
| void | void IOOUTCALL |
| cpu_out_w(UINT port, UINT16 data) | cpu_out_w(UINT port, UINT16 data) |
| { | { |
| Line 114 cpu_out_w(UINT port, UINT16 data) | Line 112 cpu_out_w(UINT port, UINT16 data) |
| iocore_out16(port, data); | iocore_out16(port, data); |
| } | } |
| void | void IOOUTCALL |
| cpu_out_d(UINT port, UINT32 data) | cpu_out_d(UINT port, UINT32 data) |
| { | { |