trunk/src/mame/drivers/murogem.c
| r245719 | r245720 | |
| 84 | 84 | - Added "Las Vegas, Nevada" (hack). |
| 85 | 85 | - Added the missing 74s288 dump (32x8 PROM located at 1B) from the new set. |
| 86 | 86 | - Confirmed the MC6845 at $4000/$4001. |
| 87 | | - Corrected screen size acording to MC6845 registers. |
| 88 | | - Corrected visible area acording to MC6845 registers. The last characters line looks odd, but should be visible. |
| 87 | - Corrected screen size according to MC6845 registers. |
| 88 | - Corrected visible area according to MC6845 registers. The last characters line looks odd, but should be visible. |
| 89 | 89 | - There are not illegal opcodes. The above mentioned are in fact strings (plain ASCII text). |
| 90 | 90 | |
| 91 | 91 | MC6845 registers: |
| r245719 | r245720 | |
| 115 | 115 | public: |
| 116 | 116 | murogem_state(const machine_config &mconfig, device_type type, const char *tag) |
| 117 | 117 | : driver_device(mconfig, type, tag), |
| 118 | | m_videoram(*this, "videoram"), |
| 119 | 118 | m_maincpu(*this, "maincpu"), |
| 120 | 119 | m_dac(*this, "dac"), |
| 121 | 120 | m_gfxdecode(*this, "gfxdecode"), |
| 122 | | m_palette(*this, "palette") { } |
| 121 | m_palette(*this, "palette"), |
| 122 | m_videoram(*this, "videoram") { } |
| 123 | 123 | |
| 124 | | required_shared_ptr<UINT8> m_videoram; |
| 125 | | DECLARE_WRITE8_MEMBER(outport_w); |
| 126 | | DECLARE_PALETTE_INIT(murogem); |
| 127 | | UINT32 screen_update_murogem(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 128 | 124 | required_device<cpu_device> m_maincpu; |
| 129 | 125 | required_device<dac_device> m_dac; |
| 130 | 126 | required_device<gfxdecode_device> m_gfxdecode; |
| 131 | 127 | required_device<palette_device> m_palette; |
| 128 | |
| 129 | required_shared_ptr<UINT8> m_videoram; |
| 130 | |
| 131 | DECLARE_WRITE8_MEMBER(outport_w); |
| 132 | DECLARE_PALETTE_INIT(murogem); |
| 133 | |
| 134 | UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 132 | 135 | }; |
| 133 | 136 | |
| 134 | 137 | |
| r245719 | r245720 | |
| 211 | 214 | PALETTE_INIT_MEMBER(murogem_state, murogem) |
| 212 | 215 | {} |
| 213 | 216 | |
| 214 | | UINT32 murogem_state::screen_update_murogem(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 217 | UINT32 murogem_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 215 | 218 | { |
| 216 | 219 | int xx,yy,count; |
| 217 | 220 | count = 0x000; |
| r245719 | r245720 | |
| 249 | 252 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 250 | 253 | MCFG_SCREEN_SIZE((39+1)*8, (38+1)*8) |
| 251 | 254 | MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1) |
| 252 | | MCFG_SCREEN_UPDATE_DRIVER(murogem_state, screen_update_murogem) |
| 255 | MCFG_SCREEN_UPDATE_DRIVER(murogem_state, screen_update) |
| 253 | 256 | MCFG_SCREEN_PALETTE("palette") |
| 254 | 257 | |
| 255 | 258 | MCFG_GFXDECODE_ADD("gfxdecode", "palette", murogem) |
| r245719 | r245720 | |
| 323 | 326 | ROM_LOAD( "a3.1b", 0x0000, 0x0020, CRC(abddfb6b) SHA1(ed78b93701b5a3bf2053d2584e9a354fb6cec203) ) /* 74s288 at 1B */ |
| 324 | 327 | ROM_END |
| 325 | 328 | |
| 326 | | GAME( 198?, murogem, 0, murogem, murogem, driver_device, 0, ROT0, "<unknown>", "Muroge Monaco (set 1)", GAME_WRONG_COLORS ) |
| 327 | | GAME( 198?, murogema, murogem, murogem, murogem, driver_device, 0, ROT0, "<unknown>", "Muroge Monaco (set 2)", GAME_WRONG_COLORS ) |
| 328 | | GAME( 198?, murogemb, murogem, murogem, murogem, driver_device, 0, ROT0, "<unknown>", "Muroge Monaco (set 3)", GAME_WRONG_COLORS ) |
| 329 | | GAME( 198?, lasvegas, murogem, murogem, murogem, driver_device, 0, ROT0, "hack", "Las Vegas, Nevada", GAME_WRONG_COLORS ) |
| 329 | GAME( 198?, murogem, 0, murogem, murogem, driver_device, 0, ROT0, "<unknown>", "Muroge Monaco (set 1)", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
| 330 | GAME( 198?, murogema, murogem, murogem, murogem, driver_device, 0, ROT0, "<unknown>", "Muroge Monaco (set 2)", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
| 331 | GAME( 198?, murogemb, murogem, murogem, murogem, driver_device, 0, ROT0, "<unknown>", "Muroge Monaco (set 3)", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
| 332 | GAME( 198?, lasvegas, murogem, murogem, murogem, driver_device, 0, ROT0, "hack", "Las Vegas, Nevada", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
trunk/src/mame/drivers/murogmbl.c
| r245719 | r245720 | |
| 45 | 45 | public: |
| 46 | 46 | murogmbl_state(const machine_config &mconfig, device_type type, const char *tag) |
| 47 | 47 | : driver_device(mconfig, type, tag), |
| 48 | | m_video(*this, "video"), |
| 49 | 48 | m_maincpu(*this, "maincpu"), |
| 50 | 49 | m_gfxdecode(*this, "gfxdecode"), |
| 51 | | m_palette(*this, "palette") { } |
| 50 | m_palette(*this, "palette"), |
| 51 | m_video(*this, "video") { } |
| 52 | 52 | |
| 53 | required_device<cpu_device> m_maincpu; |
| 54 | required_device<gfxdecode_device> m_gfxdecode; |
| 55 | required_device<palette_device> m_palette; |
| 56 | |
| 53 | 57 | required_shared_ptr<UINT8> m_video; |
| 58 | |
| 54 | 59 | virtual void video_start(); |
| 55 | 60 | DECLARE_PALETTE_INIT(murogmbl); |
| 56 | | UINT32 screen_update_murogmbl(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 57 | | required_device<cpu_device> m_maincpu; |
| 58 | | required_device<gfxdecode_device> m_gfxdecode; |
| 59 | | required_device<palette_device> m_palette; |
| 61 | |
| 62 | UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 60 | 63 | }; |
| 61 | 64 | |
| 62 | 65 | |
| r245719 | r245720 | |
| 102 | 105 | { |
| 103 | 106 | } |
| 104 | 107 | |
| 105 | | UINT32 murogmbl_state::screen_update_murogmbl(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 108 | UINT32 murogmbl_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 106 | 109 | { |
| 107 | 110 | gfx_element *gfx = m_gfxdecode->gfx(0); |
| 108 | 111 | int count = 0; |
| r245719 | r245720 | |
| 201 | 204 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 202 | 205 | MCFG_SCREEN_SIZE(64*8, 32*8) |
| 203 | 206 | MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1) |
| 204 | | MCFG_SCREEN_UPDATE_DRIVER(murogmbl_state, screen_update_murogmbl) |
| 207 | MCFG_SCREEN_UPDATE_DRIVER(murogmbl_state, screen_update) |
| 205 | 208 | MCFG_SCREEN_PALETTE("palette") |
| 206 | 209 | |
| 207 | 210 | MCFG_PALETTE_ADD("palette", 0x100) |
| r245719 | r245720 | |
| 227 | 230 | ROM_LOAD( "74s288.a8", 0x0000, 0x0020, CRC(fc35201c) SHA1(4549e228c48992e0d10957f029b89a547392e72b) ) |
| 228 | 231 | ROM_END |
| 229 | 232 | |
| 230 | | GAME( 1982, murogmbl, murogem, murogmbl, murogmbl, driver_device, 0, ROT0, "bootleg?", "Muroge Monaco (bootleg?)", GAME_NO_SOUND ) |
| 233 | GAME( 1982, murogmbl, murogem, murogmbl, murogmbl, driver_device, 0, ROT0, "bootleg?", "Muroge Monaco (bootleg?)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) |