6262***************************************************************************/
6363
6464typedef struct
65- {
65+ {
6666 UINT16 ram [32 ];
6767 UINT16 acc ;
6868 UINT16 d_latch ;
@@ -74,7 +74,7 @@ typedef struct
7474 UINT8 immflag ;
7575 UINT8 ct ;
7676 UINT8 t ;
77-
77+
7878 /* Instruction latches - current and previous values */
7979 UINT8 l1 , pl1 ;
8080 UINT8 l2 , pl2 ;
@@ -139,7 +139,7 @@ static STATE_POSTLOAD( esrip_postload )
139139
140140//static void esrip_state_register(int index, const char *type)
141141//{
142- // state_save_register_item_pointer(type, index, cpustate->ipt_ram, IPT_RAM_SIZE / 2);
142+ // state_save_register_item_pointer(type, index, cpustate->ipt_ram, IPT_RAM_SIZE / 2);
143143//}
144144
145145
@@ -261,9 +261,9 @@ static CPU_INIT( esrip )
261261 cpustate -> draw = _config -> draw ;
262262
263263 cpustate -> ipt_ram = auto_malloc (IPT_RAM_SIZE );
264- //state_save_register_global_pointer(cpustate->ipt_ram, IPT_RAM_SIZE / 2); // TODO
264+ //state_save_register_global_pointer(cpustate->ipt_ram, IPT_RAM_SIZE / 2); // TODO
265265
266- // esrip_state_register(index, "esrip");
266+ // esrip_state_register(index, "esrip");
267267 cpustate -> device = device ;
268268 cpustate -> program = memory_find_address_space (device , ADDRESS_SPACE_PROGRAM );
269269
@@ -1667,7 +1667,7 @@ static CPU_EXECUTE( esrip )
16671667 am29116_execute (cpustate , (cpustate -> l7 << 8 ) | cpustate -> l6 , BIT (cpustate -> l5 , 2 ));
16681668
16691669 y_bus = cpustate -> result ;
1670-
1670+
16711671 if (BIT (cpustate -> l5 , 0 ))
16721672 cpustate -> d_latch = y_bus ;
16731673 }
@@ -1741,7 +1741,7 @@ static CPU_EXECUTE( esrip )
17411741 cpustate -> l6 = (in_h >> 16 );
17421742 cpustate -> l7 = (in_h >> 24 );
17431743
1744- // if (RISING_EDGE(cpustate->pl7, cpustate->l2, 7))
1744+ // if (RISING_EDGE(cpustate->pl7, cpustate->l2, 7))
17451745
17461746 /* Colour latch */
17471747 if (RISING_EDGE (cpustate -> pl3 , cpustate -> l3 , 0 ))
@@ -1773,7 +1773,7 @@ static CPU_EXECUTE( esrip )
17731773 cpustate -> y_scale = x_bus & 0xff ;
17741774
17751775 /* Unknown */
1776- // if (RISING_EDGE(cpustate->pl4, cpustate->l4, 7))
1776+ // if (RISING_EDGE(cpustate->pl4, cpustate->l4, 7))
17771777
17781778 /* Image ROM address */
17791779 if (RISING_EDGE (cpustate -> pl3 , cpustate -> l3 , 5 ))
@@ -1821,7 +1821,7 @@ static CPU_EXECUTE( esrip )
18211821static CPU_DISASSEMBLE ( esrip )
18221822{
18231823#if 0
1824- static const char * const jmp_types [] =
1824+ static const char * const jmp_types [] =
18251825 {
18261826 "JCT" ,
18271827 "JT1" ,
@@ -1833,7 +1833,7 @@ static CPU_DISASSEMBLE( esrip )
18331833 "JMP" ,
18341834 };
18351835
1836- static const char * const njmp_types [] =
1836+ static const char * const njmp_types [] =
18371837 {
18381838 "JNCT" ,
18391839 "JNT1" ,
@@ -1967,7 +1967,7 @@ CPU_GET_INFO( esrip )
19671967 case CPUINFO_STR_CORE_FILE : strcpy (info -> s , __FILE__ ); break ;
19681968 case CPUINFO_STR_CORE_CREDITS : strcpy (info -> s , "Copyright Philip J Bennett" ); break ;
19691969
1970- case CPUINFO_STR_FLAGS : sprintf (info -> s , "%c%c%c%c%c%c%c%c%c" ,
1970+ case CPUINFO_STR_FLAGS : sprintf (info -> s , "%c%c%c%c%c%c%c%c%c" ,
19711971 cpustate -> status & 0x80 ? '3' : '.' ,
19721972 cpustate -> status & 0x40 ? '2' : '.' ,
19731973 cpustate -> status & 0x20 ? '1' : '.' ,
0 commit comments