trunk/src/mess/machine/cbmipt.c
| r17746 | r17747 | |
| 408 | 408 | PORT_CONFNAME( 0x10, 0x10, "40 80 Display (switch) (active after a rebooting)") |
| 409 | 409 | PORT_CONFSETTING( 0x00, "40 Columns (DIN/TV)") |
| 410 | 410 | PORT_CONFSETTING( 0x10, "80 Columns (RGBI)") |
| 411 | | PORT_CONFNAME( 0x08, 0x08, "DIN,TV / RGBI Monitor (switch)") PORT_CODE(KEYCODE_ENTER_PAD) |
| 412 | | PORT_CONFSETTING( 0x00, "DIN,TV" ) |
| 413 | | PORT_CONFSETTING( 0x08, "RGBI" ) |
| 414 | 411 | PORT_CONFNAME( 0x06, 0x00, "Main Memory / MMU Version") |
| 415 | 412 | PORT_CONFSETTING( 0x00, "128 KByte" ) |
| 416 | 413 | PORT_CONFSETTING( 0x02, "256 KByte" ) |
trunk/src/mess/machine/c128.c
| r17746 | r17747 | |
| 1082 | 1082 | m_c64mode = 0; |
| 1083 | 1083 | m_vicirq = 0; |
| 1084 | 1084 | |
| 1085 | | m_monitor = -1; |
| 1086 | 1085 | m_cnt1 = 1; |
| 1087 | 1086 | m_sp1 = 1; |
| 1088 | 1087 | cbm_common_init(); |
| r17746 | r17747 | |
| 1149 | 1148 | |
| 1150 | 1149 | state->nmi(); |
| 1151 | 1150 | |
| 1152 | | if ((device->machine().root_device().ioport("SPECIAL")->read() & 0x08) != state->m_monitor) |
| 1153 | | { |
| 1154 | | if (device->machine().root_device().ioport("SPECIAL")->read() & 0x08) |
| 1155 | | { |
| 1156 | | //vic2_set_rastering(vic2e, 0); |
| 1157 | | //vdc8563_set_rastering(vdc8563, 1); |
| 1158 | | device->machine().primary_screen->set_visible_area(0, 655, 0, 215); |
| 1159 | | } |
| 1160 | | else |
| 1161 | | { |
| 1162 | | //vic2_set_rastering(vic2e, 1); |
| 1163 | | //vdc8563_set_rastering(vdc8563, 0); |
| 1164 | | if (state->m_pal) |
| 1165 | | device->machine().primary_screen->set_visible_area(0, VIC6569_VISIBLECOLUMNS - 1, 0, VIC6569_VISIBLELINES - 1); |
| 1166 | | else |
| 1167 | | device->machine().primary_screen->set_visible_area(0, VIC6567_VISIBLECOLUMNS - 1, 0, VIC6567_VISIBLELINES - 1); |
| 1168 | | } |
| 1169 | | state->m_monitor = device->machine().root_device().ioport("SPECIAL")->read() & 0x08; |
| 1170 | | } |
| 1171 | | |
| 1172 | | |
| 1173 | 1151 | /* common keys input ports */ |
| 1174 | 1152 | cbm_common_interrupt(device); |
| 1175 | 1153 | |