(MESS) c128: Cleanup (nw)

This commit is contained in:
Curt Coder 2012-09-09 09:51:59 +00:00
parent 72e4ffae5e
commit 05bb623169
3 changed files with 0 additions and 26 deletions

View File

@ -166,7 +166,6 @@ public:
int m_sp1;
int m_data_out;
int m_va1617;
int m_monitor;
int m_nmilevel;
DECLARE_DRIVER_INIT(c128pal);
DECLARE_DRIVER_INIT(c128dcrp);

View File

@ -1082,7 +1082,6 @@ DRIVER_INIT_MEMBER(c128_state,c128)
m_c64mode = 0;
m_vicirq = 0;
m_monitor = -1;
m_cnt1 = 1;
m_sp1 = 1;
cbm_common_init();
@ -1149,27 +1148,6 @@ INTERRUPT_GEN( c128_frame_interrupt )
state->nmi();
if ((device->machine().root_device().ioport("SPECIAL")->read() & 0x08) != state->m_monitor)
{
if (device->machine().root_device().ioport("SPECIAL")->read() & 0x08)
{
//vic2_set_rastering(vic2e, 0);
//vdc8563_set_rastering(vdc8563, 1);
device->machine().primary_screen->set_visible_area(0, 655, 0, 215);
}
else
{
//vic2_set_rastering(vic2e, 1);
//vdc8563_set_rastering(vdc8563, 0);
if (state->m_pal)
device->machine().primary_screen->set_visible_area(0, VIC6569_VISIBLECOLUMNS - 1, 0, VIC6569_VISIBLELINES - 1);
else
device->machine().primary_screen->set_visible_area(0, VIC6567_VISIBLECOLUMNS - 1, 0, VIC6567_VISIBLELINES - 1);
}
state->m_monitor = device->machine().root_device().ioport("SPECIAL")->read() & 0x08;
}
/* common keys input ports */
cbm_common_interrupt(device);

View File

@ -408,9 +408,6 @@ INPUT_PORTS_START( c128_special )
PORT_CONFNAME( 0x10, 0x10, "40 80 Display (switch) (active after a rebooting)")
PORT_CONFSETTING( 0x00, "40 Columns (DIN/TV)")
PORT_CONFSETTING( 0x10, "80 Columns (RGBI)")
PORT_CONFNAME( 0x08, 0x08, "DIN,TV / RGBI Monitor (switch)") PORT_CODE(KEYCODE_ENTER_PAD)
PORT_CONFSETTING( 0x00, "DIN,TV" )
PORT_CONFSETTING( 0x08, "RGBI" )
PORT_CONFNAME( 0x06, 0x00, "Main Memory / MMU Version")
PORT_CONFSETTING( 0x00, "128 KByte" )
PORT_CONFSETTING( 0x02, "256 KByte" )