summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/i8x41
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-24 04:10:18 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-24 04:10:18 +0000
commit1d05ea60893bc1a1e10a18e20b50dff7974a3b5d (patch)
tree78c3c6e8e6de60afa2685149c67ec33b84d39b76 /src/emu/cpu/i8x41
parentc1374de9c32c7d22eac53b1109792193a695ca4b (diff)
Cleanups and version bump for 0.128u4.mame0128u4
Diffstat (limited to 'src/emu/cpu/i8x41')
-rw-r--r--src/emu/cpu/i8x41/i8x41.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/cpu/i8x41/i8x41.c b/src/emu/cpu/i8x41/i8x41.c
index 3fa04de5332..1ad3b1aa211 100644
--- a/src/emu/cpu/i8x41/i8x41.c
+++ b/src/emu/cpu/i8x41/i8x41.c
@@ -103,14 +103,14 @@
*****************************************************************************/
/*
- Chip RAM ROM
- ---- --- ---
+ Chip RAM ROM
+ ---- --- ---
8041 128 1k (ROM)
8741 128 1k (EPROM)
8042 256 2k (ROM)
8742 256 2k (EPROM)
- http://cpucharts.wallsoferyx.net/icmatrix0.html
+ http://cpucharts.wallsoferyx.net/icmatrix0.html
*/
@@ -839,7 +839,7 @@ static const UINT8 i8x41_cycles[] = {
static CPU_INIT( i8x41 )
{
upi41_state_t *upi41_state = device->token;
-
+
upi41_state->irq_callback = irqcallback;
upi41_state->device = device;
upi41_state->program = memory_find_address_space(device, ADDRESS_SPACE_PROGRAM);
@@ -882,7 +882,7 @@ static CPU_INIT( i8042 )
static CPU_RESET( i8x41 )
{
upi41_state_t *upi41_state = device->token;
-
+
upi41_state->ppc = 0;
upi41_state->pc = 0;
upi41_state->timer = 0;
@@ -891,7 +891,7 @@ static CPU_RESET( i8x41 )
upi41_state->psw = 0;
upi41_state->state = 0;
upi41_state->enable = 0;
-
+
ENABLE = IBFI | TCNTI;
DBBI = 0xff;
DBBO = 0xff;
@@ -1103,7 +1103,7 @@ ADDRESS_MAP_END
static CPU_SET_INFO( i8x41 )
{
upi41_state_t *upi41_state = device->token;
-
+
switch (state)
{
/* --- the following bits of info are set as 64-bit signed integers --- */
@@ -1195,7 +1195,7 @@ static CPU_SET_INFO( i8x41 )
CPU_GET_INFO( i8041 )
{
upi41_state_t *upi41_state = (device != NULL) ? device->token : NULL;
-
+
switch (state)
{
/* --- the following bits of info are returned as 64-bit signed integers --- */