|
|
| version 1.23, 2005/02/07 14:46:11 | version 1.24, 2005/02/08 09:18:59 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "egcmem.h" | |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "memegc.h" | |
| #include "vram.h" | #include "vram.h" |
| #include "font.h" | #include "font.h" |
| Line 174 static void MEMCALL grcg_tdw1(UINT32 add | Line 174 static void MEMCALL grcg_tdw1(UINT32 add |
| static void MEMCALL egc_wt(UINT32 address, REG8 value) { // VRAM | static void MEMCALL egc_wt(UINT32 address, REG8 value) { // VRAM |
| CPU_REMCLOCK -= MEMWAIT_GRCG; | CPU_REMCLOCK -= MEMWAIT_GRCG; |
| egc_write(address, value); | memegc_wr8(address, value); |
| } | } |
| static void MEMCALL emmc_wt(UINT32 address, REG8 value) { // EMS | static void MEMCALL emmc_wt(UINT32 address, REG8 value) { // EMS |
| Line 286 const UINT8 *vram; | Line 286 const UINT8 *vram; |
| static REG8 MEMCALL egc_rd(UINT32 address) { // VRAM | static REG8 MEMCALL egc_rd(UINT32 address) { // VRAM |
| CPU_REMCLOCK -= MEMWAIT_GRCG; | CPU_REMCLOCK -= MEMWAIT_GRCG; |
| return(egc_read(address)); | return(memegc_rd8(address)); |
| } | } |
| static REG8 MEMCALL emmc_rd(UINT32 address) { // EMS | static REG8 MEMCALL emmc_rd(UINT32 address) { // EMS |
| Line 451 static void MEMCALL grcgw_tdw1(UINT32 ad | Line 451 static void MEMCALL grcgw_tdw1(UINT32 ad |
| static void MEMCALL egcw_wt(UINT32 address, REG16 value) { | static void MEMCALL egcw_wt(UINT32 address, REG16 value) { |
| CPU_REMCLOCK -= MEMWAIT_GRCG; | CPU_REMCLOCK -= MEMWAIT_GRCG; |
| egc_write_w(address, value); | memegc_wr16(address, value); |
| } | } |
| static void MEMCALL emmcw_wt(UINT32 address, REG16 value) { | static void MEMCALL emmcw_wt(UINT32 address, REG16 value) { |
| Line 605 static REG16 MEMCALL grcgw_tcr1(UINT32 a | Line 605 static REG16 MEMCALL grcgw_tcr1(UINT32 a |
| static REG16 MEMCALL egcw_rd(UINT32 address) { | static REG16 MEMCALL egcw_rd(UINT32 address) { |
| CPU_REMCLOCK -= MEMWAIT_GRCG; | CPU_REMCLOCK -= MEMWAIT_GRCG; |
| return(egc_read_w(address)); | return(memegc_rd16(address)); |
| } | } |
| static REG16 MEMCALL emmcw_rd(UINT32 address) { | static REG16 MEMCALL emmcw_rd(UINT32 address) { |