src/mess/machine/pokemini.c
| r15250 | r15251 | |
| 175 | 175 | } |
| 176 | 176 | else |
| 177 | 177 | { |
| 178 | | static const int levels[4] = { 0, 1, 1, 2 }; |
| 179 | | int level = levels[ state->m_pm_reg[0x71] & 0x03 ]; |
| 178 | ///static const int levels[4] = { 0, 1, 1, 2 }; |
| 179 | int level; /// silence clang warning/// = levels[ state->m_pm_reg[0x71] & 0x03 ]; |
| 180 | 180 | |
| 181 | 181 | // if ( ( ( state->m_pm_reg[0x48] & 0x80 ) && ( state->m_pm_reg[0x4E] | ( state->m_pm_reg[0x4F] << 8 ) ) > ( state->m_pm_reg[0x4C] | ( state->m_pm_reg[0x4D] << 8 ) ) ) |
| 182 | 182 | // || ( ( state->m_pm_reg[0x48] & 0x80 ) && state->m_pm_reg[0x4F] > state->m_pm_reg[0x4D] ) ) |
src/mess/machine/kaypro.c
| r15250 | r15251 | |
| 229 | 229 | |
| 230 | 230 | WRITE8_MEMBER( kaypro_state::kaypro_baud_a_w ) /* channel A - RS232C */ |
| 231 | 231 | { |
| 232 | | data &= 0x0f; |
| 232 | // data &= 0x0f; |
| 233 | 233 | |
| 234 | 234 | // z80sio_set_rx_clock( m_sio, baud_clock[data], 0); |
| 235 | 235 | // z80sio_set_tx_clock( m_sio, baud_clock[data], 0); |
| r15250 | r15251 | |
| 237 | 237 | |
| 238 | 238 | WRITE8_MEMBER( kaypro_state::kayproii_baud_b_w ) /* Channel B - Keyboard - only usable speed is 300 baud */ |
| 239 | 239 | { |
| 240 | | data &= 0x0f; |
| 240 | // data &= 0x0f; |
| 241 | 241 | |
| 242 | 242 | // z80sio_set_rx_clock( m_sio, baud_clock[data], 1); |
| 243 | 243 | // z80sio_set_tx_clock( m_sio, baud_clock[data], 1); |
| r15250 | r15251 | |
| 245 | 245 | |
| 246 | 246 | WRITE8_MEMBER( kaypro_state::kaypro2x_baud_a_w ) /* Channel A on 2nd SIO - Serial Printer */ |
| 247 | 247 | { |
| 248 | | data &= 0x0f; |
| 248 | // data &= 0x0f; |
| 249 | 249 | |
| 250 | 250 | // z80sio_set_rx_clock( m_sio2x, baud_clock[data], 0); |
| 251 | 251 | // z80sio_set_tx_clock( m_sio2x, baud_clock[data], 0); |
src/mess/drivers/mes.c
| r15250 | r15251 | |
| 18 | 18 | public: |
| 19 | 19 | mes_state(const machine_config &mconfig, device_type type, const char *tag) |
| 20 | 20 | : driver_device(mconfig, type, tag), |
| 21 | | m_maincpu(*this, "maincpu") |
| 22 | | , |
| 23 | | m_p_videoram(*this, "p_videoram"){ } |
| 21 | m_maincpu(*this, "maincpu"), |
| 22 | m_p_videoram(*this, "p_videoram"){ } |
| 24 | 23 | |
| 25 | 24 | required_device<cpu_device> m_maincpu; |
| 26 | 25 | const UINT8 *m_p_chargen; |
| r15250 | r15251 | |
| 87 | 86 | if (chr & 0x80) // ignore attribute bytes |
| 88 | 87 | x--; |
| 89 | 88 | else |
| 90 | | { |
| 91 | 89 | gfx = m_p_chargen[(chr<<4) | ra ]; |
| 92 | | |
| 93 | | /* Display a scanline of a character */ |
| 94 | | *p++ = BIT(gfx, 7); |
| 95 | | *p++ = BIT(gfx, 6); |
| 96 | | *p++ = BIT(gfx, 5); |
| 97 | | *p++ = BIT(gfx, 4); |
| 98 | | *p++ = BIT(gfx, 3); |
| 99 | | *p++ = BIT(gfx, 2); |
| 100 | | *p++ = BIT(gfx, 1); |
| 101 | | *p++ = BIT(gfx, 0); |
| 102 | | } |
| 103 | 90 | } |
| 91 | /* Display a scanline of a character */ |
| 92 | *p++ = BIT(gfx, 7); |
| 93 | *p++ = BIT(gfx, 6); |
| 94 | *p++ = BIT(gfx, 5); |
| 95 | *p++ = BIT(gfx, 4); |
| 96 | *p++ = BIT(gfx, 3); |
| 97 | *p++ = BIT(gfx, 2); |
| 98 | *p++ = BIT(gfx, 1); |
| 99 | *p++ = BIT(gfx, 0); |
| 104 | 100 | } |
| 105 | 101 | } |
| 106 | 102 | ma+=80; |
| r15250 | r15251 | |
| 141 | 137 | |
| 142 | 138 | /* Driver */ |
| 143 | 139 | |
| 144 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 145 | | COMP( 198?, mes, 0, 0, mes, mes, 0, "Schleicher", "MES", GAME_NOT_WORKING | GAME_NO_SOUND) |
| 140 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 141 | COMP( 198?, mes, 0, 0, mes, mes, 0, "Schleicher", "MES", GAME_NOT_WORKING | GAME_NO_SOUND) |
src/mess/drivers/c10.c
| r15250 | r15251 | |
| 22 | 22 | public: |
| 23 | 23 | c10_state(const machine_config &mconfig, device_type type, const char *tag) |
| 24 | 24 | : driver_device(mconfig, type, tag), |
| 25 | | m_maincpu(*this, "maincpu") |
| 26 | | , |
| 27 | | m_p_videoram(*this, "p_videoram"){ } |
| 25 | m_maincpu(*this, "maincpu"), |
| 26 | m_p_videoram(*this, "p_videoram"){ } |
| 28 | 27 | |
| 29 | 28 | required_device<cpu_device> m_maincpu; |
| 30 | 29 | const UINT8 *m_p_chargen; |
| r15250 | r15251 | |
| 102 | 101 | if BIT(chr, 7) // ignore attribute bytes |
| 103 | 102 | x--; |
| 104 | 103 | else |
| 105 | | { |
| 106 | 104 | gfx = m_p_chargen[(chr<<4) | ra ]; |
| 107 | | |
| 108 | | /* Display a scanline of a character */ |
| 109 | | *p++ = BIT(gfx, 7); |
| 110 | | *p++ = BIT(gfx, 6); |
| 111 | | *p++ = BIT(gfx, 5); |
| 112 | | *p++ = BIT(gfx, 4); |
| 113 | | *p++ = BIT(gfx, 3); |
| 114 | | *p++ = BIT(gfx, 2); |
| 115 | | *p++ = BIT(gfx, 1); |
| 116 | | *p++ = BIT(gfx, 0); |
| 117 | | } |
| 118 | 105 | } |
| 106 | /* Display a scanline of a character */ |
| 107 | *p++ = BIT(gfx, 7); |
| 108 | *p++ = BIT(gfx, 6); |
| 109 | *p++ = BIT(gfx, 5); |
| 110 | *p++ = BIT(gfx, 4); |
| 111 | *p++ = BIT(gfx, 3); |
| 112 | *p++ = BIT(gfx, 2); |
| 113 | *p++ = BIT(gfx, 1); |
| 114 | *p++ = BIT(gfx, 0); |
| 119 | 115 | } |
| 120 | 116 | } |
| 121 | 117 | ma+=96; |
| r15250 | r15251 | |
| 178 | 174 | |
| 179 | 175 | /* Driver */ |
| 180 | 176 | |
| 181 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 182 | | COMP( 1982, c10, 0, 0, c10, c10, c10, "Cromemco", "C-10", GAME_NOT_WORKING | GAME_NO_SOUND) |
| 177 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 178 | COMP( 1982, c10, 0, 0, c10, c10, c10, "Cromemco", "C-10", GAME_NOT_WORKING | GAME_NO_SOUND) |
src/mess/drivers/pegasus.c
| r15250 | r15251 | |
| 57 | 57 | m_maincpu(*this, "maincpu"), |
| 58 | 58 | m_cass(*this, CASSETTE_TAG), |
| 59 | 59 | m_pia_s(*this, "pia_s"), |
| 60 | | m_pia_u(*this, "pia_u") |
| 61 | | , |
| 62 | | m_p_videoram(*this, "p_videoram"){ } |
| 60 | m_pia_u(*this, "pia_u"), |
| 61 | m_p_videoram(*this, "p_videoram"){ } |
| 63 | 62 | |
| 64 | 63 | required_device<cpu_device> m_maincpu; |
| 65 | 64 | required_device<cassette_image_device> m_cass; |
| r15250 | r15251 | |
| 351 | 350 | for(x = ma; x < ma + 32; x++ ) |
| 352 | 351 | { |
| 353 | 352 | inv = 0xff; |
| 354 | | gfx = 0; |
| 355 | 353 | chr = m_p_videoram[x]; |
| 356 | 354 | |
| 357 | 355 | if (BIT(chr, 7)) |
| r15250 | r15251 | |
| 575 | 573 | /* Driver */ |
| 576 | 574 | |
| 577 | 575 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
| 578 | | COMP( 1981, pegasus, 0, 0, pegasus, pegasus, pegasus, "Technosys", "Aamber Pegasus", GAME_NO_SOUND_HW ) |
| 579 | | COMP( 1981, pegasusm, pegasus, 0, pegasusm, pegasus, pegasus, "Technosys", "Aamber Pegasus with RAM expansion unit", GAME_NO_SOUND_HW ) |
| 580 | | |
| 576 | COMP( 1981, pegasus, 0, 0, pegasus, pegasus, pegasus, "Technosys", "Aamber Pegasus", GAME_NO_SOUND_HW ) |
| 577 | COMP( 1981, pegasusm, pegasus, 0, pegasusm, pegasus, pegasus, "Technosys", "Aamber Pegasus with RAM expansion unit", GAME_NO_SOUND_HW ) |
src/mess/drivers/ptcsol.c
| r15250 | r15251 | |
| 135 | 135 | m_cass1(*this, CASSETTE_TAG), |
| 136 | 136 | m_cass2(*this, CASSETTE2_TAG), |
| 137 | 137 | m_uart(*this, "uart"), |
| 138 | | m_uart_s(*this, "uart_s") |
| 139 | | , |
| 140 | | m_p_videoram(*this, "p_videoram"){ } |
| 138 | m_uart_s(*this, "uart_s"), |
| 139 | m_p_videoram(*this, "p_videoram"){ } |
| 141 | 140 | |
| 142 | 141 | required_device<cpu_device> m_maincpu; |
| 143 | 142 | required_device<cassette_image_device> m_cass1; |
| r15250 | r15251 | |
| 638 | 637 | inv ^= 0xff; |
| 639 | 638 | |
| 640 | 639 | chr &= 0x7f; |
| 641 | | gfx = 0; |
| 642 | 640 | |
| 643 | 641 | if ((ra == 0) || ((s1 & 4) && (chr < 0x20))) |
| 644 | 642 | gfx = inv; |