@@ -839,11 +839,11 @@ void apple2gs_state::machine_reset()
839
839
m_ramrd = false ;
840
840
m_ramwrt = false ;
841
841
m_ioudis = true ;
842
- m_video->set_newvideo (0x01 ); // verified on ROM03 hardware
842
+ m_video->set_newvideo (0x01 ); // verified on ROM03 hardware
843
843
m_clock_frame = 0 ;
844
844
m_slot_irq = false ;
845
845
m_clkdata = 0 ;
846
- m_clock_control =0 ;
846
+ m_clock_control = 0 ;
847
847
848
848
m_shadow = 0x00 ;
849
849
m_speed = 0x80 ;
@@ -1214,20 +1214,20 @@ void apple2gs_state::lc_update(int offset, bool writing)
1214
1214
{
1215
1215
bool old_lcram = m_lcram;
1216
1216
1217
- // any even access disables pre-write and writing
1217
+ // any even access disables pre-write and writing
1218
1218
if ((offset & 1 ) == 0 )
1219
1219
{
1220
1220
m_lcprewrite = false ;
1221
1221
m_lcwriteenable = false ;
1222
1222
}
1223
1223
1224
- // any write disables pre-write
1225
- // has no effect on write-enable if writing was enabled already
1224
+ // any write disables pre-write
1225
+ // has no effect on write-enable if writing was enabled already
1226
1226
if (writing == true )
1227
1227
{
1228
1228
m_lcprewrite = false ;
1229
1229
}
1230
- // first odd read enables pre-write, second one enables writing
1230
+ // first odd read enables pre-write, second one enables writing
1231
1231
else if ((offset & 1 ) == 1 )
1232
1232
{
1233
1233
if (m_lcprewrite == false )
@@ -1315,7 +1315,7 @@ void apple2gs_state::do_io(int offset)
1315
1315
case 0x20 :
1316
1316
break ;
1317
1317
1318
- case 0x28 : // ROMSWITCH - not used by the IIgs firmware or SSW, but does exist at least on ROM 0/1 (need to test on ROM 3 hw)
1318
+ case 0x28 : // ROMSWITCH - not used by the IIgs firmware or SSW, but does exist at least on ROM 0/1 (need to test on ROM 3 hw)
1319
1319
if (!m_is_rom3)
1320
1320
{
1321
1321
m_romswitch = !m_romswitch;
@@ -2226,7 +2226,7 @@ u8 apple2gs_state::c080_r(offs_t offset)
2226
2226
2227
2227
slow_cycle ();
2228
2228
2229
- offset &= 0x7F ;
2229
+ offset &= 0x7f ;
2230
2230
slot = offset / 0x10 ;
2231
2231
2232
2232
if (slot == 0 )
@@ -2281,7 +2281,7 @@ void apple2gs_state::c080_w(offs_t offset, u8 data)
2281
2281
2282
2282
slow_cycle ();
2283
2283
2284
- offset &= 0x7F ;
2284
+ offset &= 0x7f ;
2285
2285
slot = offset / 0x10 ;
2286
2286
2287
2287
if (slot == 0 )
@@ -3177,8 +3177,8 @@ void apple2gs_state::apple2gs_map(address_map &map)
3177
3177
3178
3178
map (0x000400 , 0x0007ff ).view (m_b0_0400bank);
3179
3179
m_b0_0400bank[0 ](0x0400 , 0x07ff ).rw (FUNC (apple2gs_state::b0ram0400_r), FUNC (apple2gs_state::b0ram0400_w)); // wr 0 rd 0
3180
- m_b0_0400bank[1 ](0x0400 , 0x07ff ).rw (FUNC (apple2gs_state::b1ram0400_r), FUNC (apple2gs_state::b0ram0400_w)); // wr 0 rd 1
3181
- m_b0_0400bank[2 ](0x0400 , 0x07ff ).rw (FUNC (apple2gs_state::b0ram0400_r), FUNC (apple2gs_state::b1ram0400_w)); // wr 1 rd 0
3180
+ m_b0_0400bank[1 ](0x0400 , 0x07ff ).rw (FUNC (apple2gs_state::b1ram0400_r), FUNC (apple2gs_state::b0ram0400_w)); // wr 0 rd 1
3181
+ m_b0_0400bank[2 ](0x0400 , 0x07ff ).rw (FUNC (apple2gs_state::b0ram0400_r), FUNC (apple2gs_state::b1ram0400_w)); // wr 1 rd 0
3182
3182
m_b0_0400bank[3 ](0x0400 , 0x07ff ).rw (FUNC (apple2gs_state::b1ram0400_r), FUNC (apple2gs_state::b1ram0400_w)); // wr 1 rd 1
3183
3183
3184
3184
map (0x000800 , 0x001fff ).view (m_b0_0800bank);
@@ -4025,11 +4025,11 @@ ROM_END
4025
4025
} // Anonymous namespace
4026
4026
4027
4027
4028
- /* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME */
4028
+ /* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME */
4029
4029
COMP ( 1989 , apple2gs, 0 , apple2, apple2gs, apple2gsrom3, apple2gs_state, rom3_init, " Apple Computer" , " Apple IIgs (ROM03)" , MACHINE_SUPPORTS_SAVE )
4030
4030
COMP( 198 ?, apple2gsr3p, apple2gs, 0 , apple2gs, apple2gsrom3, apple2gs_state, rom3_init, " Apple Computer" , " Apple IIgs (ROM03 prototype)" , MACHINE_NOT_WORKING )
4031
- COMP( 1987 , apple2gsr1, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM01)" , MACHINE_SUPPORTS_SAVE )
4032
- COMP( 1986 , apple2gsr0, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM00)" , MACHINE_SUPPORTS_SAVE )
4033
- COMP( 1986 , apple2gsr0p, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM00 prototype 6/19/1986)" , MACHINE_SUPPORTS_SAVE )
4034
- COMP( 1986 , apple2gsr0p2, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM00 prototype 3/10/1986)" , MACHINE_SUPPORTS_SAVE )
4031
+ COMP( 1987 , apple2gsr1, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM01)" , MACHINE_SUPPORTS_SAVE )
4032
+ COMP( 1986 , apple2gsr0, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM00)" , MACHINE_SUPPORTS_SAVE )
4033
+ COMP( 1986 , apple2gsr0p, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM00 prototype 6/19/1986)" , MACHINE_SUPPORTS_SAVE )
4034
+ COMP( 1986 , apple2gsr0p2, apple2gs, 0 , apple2gsr1, apple2gs, apple2gs_state, rom1_init, " Apple Computer" , " Apple IIgs (ROM00 prototype 3/10/1986)" , MACHINE_SUPPORTS_SAVE )
4035
4035
COMP( 1991 , apple2gsmt, apple2gs, 0 , apple2gsmt, apple2gsrom3, apple2gs_state, rom3_init, " Apple Computer" , " Apple IIgs (1991 Mark Twain prototype)" , MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE )
0 commit comments