summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2022-06-21 18:25:47 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2022-06-21 18:25:47 +0200
commit89d81a5b5163d4ee4fc3f6fc0cc469e066611b13 (patch)
treeadd7f7af7e684f58de5244137658a37a90bbd5e8 /src/mame/drivers
parentdef5e8968e6e517df7c45c9b3c8a7e41444feb20 (diff)
New machines marked as NOT_WORKING
---------------------------------- unknown Zilec game on Blue Print hardware [Andy Walker (of AW Electronics) , Dr. Alan Meades , Hammy, Porchy]
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/blueprnt.cpp323
1 files changed, 283 insertions, 40 deletions
diff --git a/src/mame/drivers/blueprnt.cpp b/src/mame/drivers/blueprnt.cpp
index 458abd6288a..4d025858799 100644
--- a/src/mame/drivers/blueprnt.cpp
+++ b/src/mame/drivers/blueprnt.cpp
@@ -49,16 +49,239 @@
#include "emu.h"
-#include "includes/blueprnt.h"
#include "cpu/z80/z80.h"
+#include "machine/gen_latch.h"
#include "machine/watchdog.h"
#include "sound/ay8910.h"
+#include "emupal.h"
#include "screen.h"
#include "speaker.h"
+#include "tilemap.h"
+namespace {
+
+class blueprnt_state : public driver_device
+{
+public:
+ blueprnt_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
+ m_audiocpu(*this, "audiocpu"),
+ m_gfxdecode(*this, "gfxdecode"),
+ m_palette(*this, "palette"),
+ m_soundlatch(*this, "soundlatch"),
+ m_videoram(*this, "videoram"),
+ m_scrollram(*this, "scrollram"),
+ m_spriteram(*this, "spriteram"),
+ m_colorram(*this, "colorram")
+ { }
+
+ void blueprnt(machine_config &config);
+ void grasspin(machine_config &config);
+
+protected:
+ virtual void machine_start() override;
+ virtual void machine_reset() override;
+ virtual void video_start() override;
+
+private:
+ // device/memory pointers
+ required_device<cpu_device> m_maincpu;
+ required_device<cpu_device> m_audiocpu;
+ required_device<gfxdecode_device> m_gfxdecode;
+ required_device<palette_device> m_palette;
+ required_device<generic_latch_8_device> m_soundlatch;
+ required_shared_ptr<uint8_t> m_videoram;
+ required_shared_ptr<uint8_t> m_scrollram;
+ required_shared_ptr<uint8_t> m_spriteram;
+ required_shared_ptr<uint8_t> m_colorram;
+
+ // video-related
+ tilemap_t *m_bg_tilemap = nullptr;
+ uint8_t m_gfx_bank = 0;
+
+ // misc
+ uint8_t m_dipsw = 0;
+
+ uint8_t blueprnt_sh_dipsw_r();
+ uint8_t grasspin_sh_dipsw_r();
+ void sound_command_w(uint8_t data);
+ void coin_counter_w(uint8_t data);
+ void videoram_w(offs_t offset, uint8_t data);
+ void colorram_w(offs_t offset, uint8_t data);
+ void flipscreen_w(uint8_t data);
+ void dipsw_w(uint8_t data);
+ TILE_GET_INFO_MEMBER(get_bg_tile_info);
+ void palette(palette_device &palette) const;
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void blueprnt_main_map(address_map &map);
+ void grasspin_main_map(address_map &map);
+ void sound_io(address_map &map);
+ void sound_map(address_map &map);
+};
+
+
+// video
+
+/***************************************************************************
+
+ Convert the color PROMs into a more useable format.
+
+ Blue Print doesn't have color PROMs. For sprites, the ROM data is directly
+ converted into colors; for characters, it is converted through the color
+ code (bits 0-2 = RBG for 01 pixels, bits 3-5 = RBG for 10 pixels, 00 pixels
+ always black, 11 pixels use the OR of bits 0-2 and 3-5. Bit 6 is intensity
+ control)
+
+***************************************************************************/
+
+void blueprnt_state::palette(palette_device &palette) const
+{
+ for (int i = 0; i < palette.entries(); i++)
+ {
+ uint8_t pen;
+
+ if (i < 0x200)
+ // characters
+ pen = ((i & 0x100) >> 5) |
+ ((i & 0x002) ? ((i & 0x0e0) >> 5) : 0) |
+ ((i & 0x001) ? ((i & 0x01c) >> 2) : 0);
+ else
+ // sprites
+ pen = i - 0x200;
+
+ int const r = ((pen >> 0) & 1) * ((pen & 0x08) ? 0xbf : 0xff);
+ int const g = ((pen >> 2) & 1) * ((pen & 0x08) ? 0xbf : 0xff);
+ int const b = ((pen >> 1) & 1) * ((pen & 0x08) ? 0xbf : 0xff);
+
+ palette.set_pen_color(i, rgb_t(r, g, b));
+ }
+}
+
+void blueprnt_state::videoram_w(offs_t offset, uint8_t data)
+{
+ m_videoram[offset] = data;
+ m_bg_tilemap->mark_tile_dirty(offset);
+}
+
+void blueprnt_state::colorram_w(offs_t offset, uint8_t data)
+{
+ m_colorram[offset] = data;
+ m_bg_tilemap->mark_tile_dirty(offset);
+
+ offset -= 32;
+ offset &= 0x3ff;
+ m_bg_tilemap->mark_tile_dirty(offset);
+
+ offset += 64;
+ offset &= 0x3ff;
+ m_bg_tilemap->mark_tile_dirty(offset);
+
+
+}
+
+void blueprnt_state::flipscreen_w(uint8_t data)
+{
+ flip_screen_set(~data & 0x02);
+
+ if (m_gfx_bank != ((data & 0x04) >> 2))
+ {
+ m_gfx_bank = ((data & 0x04) >> 2);
+ machine().tilemap().mark_all_dirty();
+ }
+}
+
+
+
+TILE_GET_INFO_MEMBER(blueprnt_state::get_bg_tile_info)
+{
+ int attr = m_colorram[tile_index];
+ int bank;
+
+ // It looks like the upper bank attribute bit (at least) comes from the previous tile read.
+ // Obviously if the screen is flipped the previous tile the hardware would read is different
+ // to the previous tile when it's not flipped hence the if (flip_screen()) logic
+ //
+ // note, one line still ends up darkened in the cocktail mode of grasspin, but on the real
+ // hardware there was no observable brightness difference between any part of the screen so
+ // I'm not convinced the brightness implementation is correct anyway, it might simply be
+ // tied to the use of upper / lower tiles or priority instead?
+ if (flip_screen())
+ {
+ bank = m_colorram[(tile_index + 32) & 0x3ff] & 0x40;
+ }
+ else
+ {
+ bank = m_colorram[(tile_index - 32) & 0x3ff] & 0x40;
+ }
+
+ int code = m_videoram[tile_index];
+ int color = attr & 0x7f;
+
+ tileinfo.category = (attr & 0x80) ? 1 : 0;
+ if (bank) code += m_gfx_bank * 0x100;
+
+ tileinfo.set(0, code, color, 0);
+}
+
+
+
+void blueprnt_state::video_start()
+{
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(blueprnt_state::get_bg_tile_info)), TILEMAP_SCAN_COLS_FLIP_X, 8, 8, 32, 32);
+ m_bg_tilemap->set_transparent_pen(0);
+ m_bg_tilemap->set_scroll_cols(32);
+
+ save_item(NAME(m_gfx_bank));
+}
+
+
+void blueprnt_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
+{
+ for (int offs = 0; offs < m_spriteram.bytes(); offs += 4)
+ {
+ int code = m_spriteram[offs + 1];
+ int sx = m_spriteram[offs + 3];
+ int sy = 240 - m_spriteram[offs];
+ int flipx = m_spriteram[offs + 2] & 0x40;
+ int flipy = m_spriteram[offs + 2 - 4] & 0x80; // -4? Awkward, isn't it?
+
+ if (flip_screen())
+ {
+ sx = 248 - sx;
+ sy = 240 - sy;
+ flipx = !flipx;
+ flipy = !flipy;
+ }
+
+ // sprites are slightly misplaced, regardless of the screen flip
+ m_gfxdecode->gfx(1)->transpen(bitmap, cliprect, code, 0, flipx, flipy, 2 + sx, sy - 1, 0);
+ }
+}
+
+uint32_t blueprnt_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+{
+ if (flip_screen())
+ for (int i = 0; i < 32; i++)
+ m_bg_tilemap->set_scrolly(i, m_scrollram[32 - i]);
+ else
+ for (int i = 0; i < 32; i++)
+ m_bg_tilemap->set_scrolly(i, m_scrollram[30 - i]);
+
+ bitmap.fill(m_palette->black_pen(), cliprect);
+ m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
+ draw_sprites(bitmap, cliprect);
+ m_bg_tilemap->draw(screen, bitmap, cliprect, 1, 0);
+ return 0;
+}
+
+
+// machine
+
/*************************************
*
* Memory handlers
@@ -78,18 +301,18 @@ uint8_t blueprnt_state::blueprnt_sh_dipsw_r()
uint8_t blueprnt_state::grasspin_sh_dipsw_r()
{
// judging from the disasm, it looks like simple protection was added
- // d6: small possibility it's for comms? but the fact that there's a Freeze switch on the pcb rules this out
+ // d6: small possibility it's for comms? but the fact that there's a Freeze switch on the PCB rules this out
// d7: must be set, or is it directly connected to a dipswitch?
return (m_dipsw & 0x7f) | 0x80;
}
-void blueprnt_state::blueprnt_sound_command_w(uint8_t data)
+void blueprnt_state::sound_command_w(uint8_t data)
{
m_soundlatch->write(data);
m_audiocpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
}
-void blueprnt_state::blueprnt_coin_counter_w(uint8_t data)
+void blueprnt_state::coin_counter_w(uint8_t data)
{
machine().bookkeeping().coin_counter_w(0, data & 0x01);
machine().bookkeeping().coin_counter_w(1, data & 0x02);
@@ -101,24 +324,24 @@ void blueprnt_state::blueprnt_coin_counter_w(uint8_t data)
*
*************************************/
-void blueprnt_state::blueprnt_map(address_map &map)
+void blueprnt_state::blueprnt_main_map(address_map &map)
{
map(0x0000, 0x7fff).rom(); // service mode checks for 8 chips = 64K
map(0x8000, 0x87ff).ram();
- map(0x9000, 0x93ff).ram().w(FUNC(blueprnt_state::blueprnt_videoram_w)).mirror(0x400).share("videoram");
- map(0xa000, 0xa0ff).ram().share("scrollram");
- map(0xb000, 0xb0ff).ram().share("spriteram");
- map(0xc000, 0xc000).portr("P1").w(FUNC(blueprnt_state::blueprnt_coin_counter_w));
+ map(0x9000, 0x93ff).ram().w(FUNC(blueprnt_state::videoram_w)).mirror(0x400).share(m_videoram);
+ map(0xa000, 0xa0ff).ram().share(m_scrollram);
+ map(0xb000, 0xb0ff).ram().share(m_spriteram);
+ map(0xc000, 0xc000).portr("P1").w(FUNC(blueprnt_state::coin_counter_w));
map(0xc001, 0xc001).portr("P2");
map(0xc003, 0xc003).r(FUNC(blueprnt_state::blueprnt_sh_dipsw_r));
- map(0xd000, 0xd000).w(FUNC(blueprnt_state::blueprnt_sound_command_w));
- map(0xe000, 0xe000).r("watchdog", FUNC(watchdog_timer_device::reset_r)).w(FUNC(blueprnt_state::blueprnt_flipscreen_w));
- map(0xf000, 0xf3ff).ram().w(FUNC(blueprnt_state::blueprnt_colorram_w)).mirror(0x400).share("colorram");
+ map(0xd000, 0xd000).w(FUNC(blueprnt_state::sound_command_w));
+ map(0xe000, 0xe000).r("watchdog", FUNC(watchdog_timer_device::reset_r)).w(FUNC(blueprnt_state::flipscreen_w));
+ map(0xf000, 0xf3ff).ram().w(FUNC(blueprnt_state::colorram_w)).mirror(0x400).share(m_colorram);
}
-void blueprnt_state::grasspin_map(address_map &map)
+void blueprnt_state::grasspin_main_map(address_map &map)
{
- blueprnt_map(map);
+ blueprnt_main_map(map);
map(0xc003, 0xc003).r(FUNC(blueprnt_state::grasspin_sh_dipsw_r));
}
@@ -137,7 +360,7 @@ void blueprnt_state::sound_map(address_map &map)
void blueprnt_state::sound_io(address_map &map)
{
map.global_mask(0xff);
- map(0x02, 0x02).noprw(); // nmi mask maybe? grasspin writes it 0/1
+ map(0x02, 0x02).noprw(); // NMI mask maybe? grasspin writes it 0/1
}
@@ -170,7 +393,7 @@ static INPUT_PORTS_START( blueprnt )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
PORT_START("DILSW1")
- PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "DILSW1:1" ) /* Listed as "Unused" */
+ PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "DILSW1:1" ) // Listed as "Unused"
PORT_DIPNAME( 0x06, 0x02, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("DILSW1:2,3")
PORT_DIPSETTING( 0x00, "20K" )
PORT_DIPSETTING( 0x02, "30K" )
@@ -185,10 +408,10 @@ static INPUT_PORTS_START( blueprnt )
PORT_DIPNAME( 0x20, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DILSW1:6")
PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DILSW1:7") /* Listed as "Unused" */
+ PORT_DIPNAME( 0x40, 0x40, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DILSW1:7") // Listed as "Unused"
PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_5C ) )
- PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW1:8" ) /* Listed as "Unused" */
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW1:8" ) // Listed as "Unused"
PORT_START("DILSW2")
PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) ) PORT_DIPLOCATION("DILSW2:1,2")
@@ -196,7 +419,7 @@ static INPUT_PORTS_START( blueprnt )
PORT_DIPSETTING( 0x01, "3" )
PORT_DIPSETTING( 0x02, "4" )
PORT_DIPSETTING( 0x03, "5" )
- PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "DILSW2:3" ) /* Listed as "Unused" */
+ PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "DILSW2:3" ) // Listed as "Unused"
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DILSW2:4")
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x08, DEF_STR( Cocktail ) )
@@ -205,8 +428,8 @@ static INPUT_PORTS_START( blueprnt )
PORT_DIPSETTING( 0x10, "Level 2" )
PORT_DIPSETTING( 0x20, "Level 3" )
PORT_DIPSETTING( 0x30, "Level 4" )
- PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DILSW2:7" ) /* Listed as "Unused" */
- PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW2:8" ) /* Listed as "Unused" */
+ PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DILSW2:7" ) // Listed as "Unused"
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW2:8" ) // Listed as "Unused"
INPUT_PORTS_END
static INPUT_PORTS_START( saturn )
@@ -276,7 +499,7 @@ static INPUT_PORTS_START( grasspin )
PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DILSW1:6" )
PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "DILSW1:5" )
PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "DILSW1:4" )
- PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DILSW1:2,3") // 2 should be infinite lives according to pcb
+ PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DILSW1:2,3") // 2 should be infinite lives according to PCB
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x40, DEF_STR( 2C_3C ) )
PORT_DIPSETTING( 0x60, DEF_STR( 1C_1C ) )
@@ -297,7 +520,7 @@ static INPUT_PORTS_START( grasspin )
PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("DILSW2:3")
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x20, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x40, 0x00, "Freeze" ) PORT_DIPLOCATION("DILSW2:2") // should be flip screen according to pcb
+ PORT_DIPNAME( 0x40, 0x00, "Freeze" ) PORT_DIPLOCATION("DILSW2:2") // should be flip screen according to PCB
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW2:1" )
@@ -311,14 +534,14 @@ INPUT_PORTS_END
static const gfx_layout spritelayout =
{
- 8,16, /* 8*16 sprites */
- RGN_FRAC(1,3), /* 256 sprites */
- 3, /* 3 bits per pixel */
- { RGN_FRAC(2,3), RGN_FRAC(1,3), 0 }, /* the bitplanes are separated */
+ 8,16, // 8*16 sprites
+ RGN_FRAC(1,3), // 256 sprites
+ 3, // 3 bits per pixel
+ { RGN_FRAC(2,3), RGN_FRAC(1,3), 0 }, // the bitplanes are separated
{ 0, 1, 2, 3, 4, 5, 6, 7 },
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 },
- 16*8 /* every sprite takes 16 consecutive bytes */
+ 16*8 // every sprite takes 16 consecutive bytes
};
@@ -348,12 +571,12 @@ void blueprnt_state::machine_reset()
void blueprnt_state::blueprnt(machine_config &config)
{
- /* basic machine hardware */
- Z80(config, m_maincpu, 7000000/2); // 3.5 MHz
- m_maincpu->set_addrmap(AS_PROGRAM, &blueprnt_state::blueprnt_map);
+ // basic machine hardware
+ Z80(config, m_maincpu, 7_MHz_XTAL / 2); // 3.5 MHz
+ m_maincpu->set_addrmap(AS_PROGRAM, &blueprnt_state::blueprnt_main_map);
m_maincpu->set_vblank_int("screen", FUNC(blueprnt_state::irq0_line_hold));
- Z80(config, m_audiocpu, 10000000/2/2/2); // 1.25 MHz (2H)
+ Z80(config, m_audiocpu, 10_MHz_XTAL / 2 / 2 / 2); // 1.25 MHz (2H)
m_audiocpu->set_addrmap(AS_PROGRAM, &blueprnt_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &blueprnt_state::sound_io);
m_audiocpu->set_periodic_int(FUNC(blueprnt_state::irq0_line_hold), attotime::from_hz(4*60)); // IRQs connected to 32V
@@ -363,29 +586,29 @@ void blueprnt_state::blueprnt(machine_config &config)
WATCHDOG_TIMER(config, "watchdog");
- /* video hardware */
+ // video hardware
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_refresh_hz(60);
screen.set_vblank_time(ATTOSECONDS_IN_USEC(0));
screen.set_size(32*8, 32*8);
screen.set_visarea(0*8, 32*8-1, 2*8, 30*8-1);
- screen.set_screen_update(FUNC(blueprnt_state::screen_update_blueprnt));
+ screen.set_screen_update(FUNC(blueprnt_state::screen_update));
screen.set_palette(m_palette);
GFXDECODE(config, m_gfxdecode, m_palette, gfx_blueprnt);
- PALETTE(config, m_palette, FUNC(blueprnt_state::blueprnt_palette), 128*4+8);
+ PALETTE(config, m_palette, FUNC(blueprnt_state::palette), 128*4+8);
- /* sound hardware */
+ // sound hardware
SPEAKER(config, "mono").front_center();
GENERIC_LATCH_8(config, m_soundlatch);
- ay8910_device &ay1(AY8910(config, "ay1", 10000000/2/2/2));
+ ay8910_device &ay1(AY8910(config, "ay1", 10_MHz_XTAL / 2 / 2 / 2));
ay1.port_b_read_callback().set(m_soundlatch, FUNC(generic_latch_8_device::read));
ay1.port_a_write_callback().set(FUNC(blueprnt_state::dipsw_w));
ay1.add_route(ALL_OUTPUTS, "mono", 0.25);
- ay8910_device &ay2(AY8910(config, "ay2", 10000000/2/2/2/2));
+ ay8910_device &ay2(AY8910(config, "ay2", 10_MHz_XTAL / 2 / 2 / 2 / 2));
ay2.port_a_read_callback().set_ioport("DILSW1");
ay2.port_b_read_callback().set_ioport("DILSW2");
ay2.add_route(ALL_OUTPUTS, "mono", 0.25);
@@ -395,8 +618,8 @@ void blueprnt_state::grasspin(machine_config &config)
{
blueprnt(config);
- /* basic machine hardware */
- m_maincpu->set_addrmap(AS_PROGRAM, &blueprnt_state::grasspin_map);
+ // basic machine hardware
+ m_maincpu->set_addrmap(AS_PROGRAM, &blueprnt_state::grasspin_main_map);
}
/*************************************
@@ -494,6 +717,25 @@ ROM_START( grasspin )
ROM_LOAD( "jaleco-12.7p", 0x2000, 0x1000, CRC(615b3299) SHA1(1c12b456aac99690171b5aa06cbab904f4d16b2e) )
ROM_END
+ROM_START( unkzilec ) // on Jaleco BP-8205 + BP-8026 PCBs. Programmed by the Stamper Bros, which later went on to found Rare.
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ // unpopulated ROM sockets
+
+ ROM_REGION( 0x10000, "audiocpu", ROMREGION_ERASE00 )
+ // unpopulated ROM sockets
+
+ ROM_REGION( 0x1000, "gfx1", 0 )
+ ROM_LOAD( "bg_a.4p", 0x000, 0x800, CRC(35019060) SHA1(fddbb0769c4df79de823342d2a79c9583627eb04) )
+ ROM_LOAD( "bg_b.3p", 0x800, 0x800, CRC(915ab18f) SHA1(c974be22e10d1a780e42bbc5702753b21587883a) )
+
+ ROM_REGION( 0x1800, "gfx2", 0 )
+ ROM_LOAD( "b.5p", 0x0000, 0x800, CRC(d8b58429) SHA1(ea15afcb431b702909c8e73103d8c3f9a838a2cd) )
+ ROM_LOAD( "g.6p", 0x0800, 0x800, CRC(ebdcea5f) SHA1(b0272c3487dc88f77f7a9bde165500ec2712c487) )
+ ROM_LOAD( "r.7p", 0x1000, 0x800, CRC(341574db) SHA1(6dc3f00a8e29cc818c6bb4d1039bb2247fa7eda8) )
+ROM_END
+
+} // anonymous namespace
+
/*************************************
*
@@ -505,3 +747,4 @@ GAME( 1982, blueprnt, 0, blueprnt, blueprnt, blueprnt_state, empty_init,
GAME( 1982, blueprntj, blueprnt, blueprnt, blueprnt, blueprnt_state, empty_init, ROT270, "Zilec Electronics / Jaleco", "Blue Print (Jaleco)", MACHINE_SUPPORTS_SAVE )
GAME( 1983, saturnzi, 0, blueprnt, saturn, blueprnt_state, empty_init, ROT270, "Zilec Electronics / Jaleco", "Saturn", MACHINE_SUPPORTS_SAVE )
GAME( 1983, grasspin, 0, grasspin, grasspin, blueprnt_state, empty_init, ROT270, "Zilec Electronics / Jaleco", "Grasspin", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // a few issues with dip reading + video hw, but nothing major
+GAME( 198?, unkzilec, 0, blueprnt, blueprnt, blueprnt_state, empty_init, ROT270, "Zilec Electronics / Exodis", "unknown Zilec game on Blue Print hardware", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) // only GFX ROMs are dumped