diff options
| author | 2010-08-13 09:59:00 +0000 | |
|---|---|---|
| committer | 2010-08-13 09:59:00 +0000 | |
| commit | 4201afbb6df1a9c3e5a43cab4c9a822dbed5b9ce (patch) | |
| tree | c8e2005637055b4a14ae98886fa021f287c163b8 | |
| parent | e4e7afe98c47e2e4a1886b6a18164414c57b06e5 (diff) | |
new NOT WORKING
----------------
Olympic Hot Stuff [Ogoun]
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | src/mame/drivers/hotstuff.c | 96 | ||||
| -rw-r--r-- | src/mame/mame.mak | 1 | ||||
| -rw-r--r-- | src/mame/mamedriv.c | 3 |
4 files changed, 101 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index dc239825837..3bac36620ee 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1762,6 +1762,7 @@ src/mame/drivers/homedata.c svneol=native#text/plain src/mame/drivers/homerun.c svneol=native#text/plain src/mame/drivers/hornet.c svneol=native#text/plain src/mame/drivers/hotblock.c svneol=native#text/plain +src/mame/drivers/hotstuff.c svneol=native#text/plain src/mame/drivers/hshavoc.c svneol=native#text/plain src/mame/drivers/hvyunit.c svneol=native#text/plain src/mame/drivers/hyhoo.c svneol=native#text/plain diff --git a/src/mame/drivers/hotstuff.c b/src/mame/drivers/hotstuff.c new file mode 100644 index 00000000000..d9af4f539fc --- /dev/null +++ b/src/mame/drivers/hotstuff.c @@ -0,0 +1,96 @@ +/* TAS 5 REEL system? by Olympic Video Gaming */ + +#include "emu.h" +#include "cpu/m68000/m68000.h" + +static UINT16* hotstuff_bitmapram; + +VIDEO_START( hotstuff ) +{ + +} + +/* the first 0x20 bytes in every 0x200 (each line) of video ram are the colour data, providing a palette of 16 RGB444 colours for that line */ + +VIDEO_UPDATE( hotstuff ) +{ + int count, y,yyy,x,xxx; + UINT16 row_palette_data[0x10]; + rgb_t row_palette_data_as_rgb32_pen_data[0x10]; + + yyy=512;xxx=512*2; + + count = 0; + for (y = 0; y < yyy; y++) + { + // the current palette is stored in the first 0x20 bytes of each row! + int p; + + for (p=0;p<0x10;p++) + { + row_palette_data[p] = hotstuff_bitmapram[count+p]; + + row_palette_data_as_rgb32_pen_data[p] = MAKE_RGB( (row_palette_data[p] & 0x0f00)>>4, (row_palette_data[p] & 0x00f0)>>0, (row_palette_data[p] & 0x000f)<<4 ); + + } + + for(x = 0; x < xxx; x++) + { + { + *BITMAP_ADDR32(bitmap, y, x) = row_palette_data_as_rgb32_pen_data[(hotstuff_bitmapram[count] &0xf000)>>12]; + x++; + *BITMAP_ADDR32(bitmap, y, x) = row_palette_data_as_rgb32_pen_data[(hotstuff_bitmapram[count] &0x0f00)>>8]; + x++; + *BITMAP_ADDR32(bitmap, y, x) = row_palette_data_as_rgb32_pen_data[(hotstuff_bitmapram[count] &0x00f0)>>4]; + x++; + *BITMAP_ADDR32(bitmap, y, x) = row_palette_data_as_rgb32_pen_data[(hotstuff_bitmapram[count] &0x000f)>>0]; + } + + count++; + } + } + + return 0; +} + +static ADDRESS_MAP_START( hotstuff_map, ADDRESS_SPACE_PROGRAM, 16 ) + AM_RANGE(0x000000, 0x07ffff) AM_ROM + + AM_RANGE(0x400000, 0x40ffff) AM_RAM + + AM_RANGE(0x980000, 0x9bffff) AM_RAM AM_BASE(&hotstuff_bitmapram) +ADDRESS_MAP_END + +static INPUT_PORTS_START( hotstuff ) +INPUT_PORTS_END + +static MACHINE_DRIVER_START( hotstuff ) + + MDRV_CPU_ADD("maincpu", M68000, 16000000) + MDRV_CPU_PROGRAM_MAP(hotstuff_map) + MDRV_CPU_VBLANK_INT("screen", irq1_line_hold) + + MDRV_SCREEN_ADD("screen", RASTER) + MDRV_SCREEN_REFRESH_RATE(60) + MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) + MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32) + MDRV_SCREEN_SIZE(128*8, 64*8) + MDRV_SCREEN_VISIBLE_AREA((0x10*4)+8, 101*8-1, 0*8, 33*8-1) + + MDRV_PALETTE_LENGTH(0x200) + + MDRV_VIDEO_START(hotstuff) + MDRV_VIDEO_UPDATE(hotstuff) +MACHINE_DRIVER_END + + + +ROM_START( hotstuff ) + ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ + ROM_LOAD16_WORD_SWAP( "hot stuff game u6 (68000).bin", 0x00000, 0x80000, CRC(65f6a72f) SHA1(3a6d489ec3bf351018e279605d42f10b0a2c61b1) ) + + ROM_REGION( 0x80000, "data", 0 ) /* 68000 Data? */ + ROM_LOAD16_WORD_SWAP( "hot stuff symbol u8 (68000).bin", 0x00000, 0x80000, CRC(f154a157) SHA1(92ae0fb977e2dcc0377487d768f95c6e447e990b) ) +ROM_END + +GAME( ????, hotstuff, 0, hotstuff, hotstuff, 0, ROT0, "Olympic Video Gaming", "Olympic Hot Stuff (TAS 5 Reel System)", GAME_NOT_WORKING | GAME_NO_SOUND ) diff --git a/src/mame/mame.mak b/src/mame/mame.mak index cdfe61d1341..d82e385a7b2 100644 --- a/src/mame/mame.mak +++ b/src/mame/mame.mak @@ -1548,6 +1548,7 @@ $(MAMEOBJ)/misc.a: \ $(DRIVERS)/hitpoker.o \ $(DRIVERS)/homedata.o $(VIDEO)/homedata.o \ $(DRIVERS)/hotblock.o \ + $(DRIVERS)/hotstuff.o \ $(DRIVERS)/ilpag.o \ $(DRIVERS)/imolagp.o \ $(DRIVERS)/intrscti.o \ diff --git a/src/mame/mamedriv.c b/src/mame/mamedriv.c index 992e93bb4d5..14c54a723b7 100644 --- a/src/mame/mamedriv.c +++ b/src/mame/mamedriv.c @@ -10303,4 +10303,7 @@ Other Sun games /* Blitz System Inc. */ DRIVER( megadpkr ) /* (c) 1990 Blitz System Inc */ + /* Olympic Video Gaming */ + DRIVER( hotstuff ) + #endif /* DRIVER_RECURSIVE */ |
