Previous 199869 Revisions Next

r41756 Tuesday 17th November, 2015 at 17:53:10 UTC by David Haywood
Merge pull request #469 from system11b/S11sandnost

Sand Scorpion and Nostradamus are both mono boards
[src/mame/drivers]arkanoid.cpp cclimber.cpp naomi.cpp
[src/mame/includes]arkanoid.h
[src/mame/machine]naomim2.cpp
[src/mame/video]arkanoid.cpp cclimber.cpp

trunk/src/mame/drivers/arkanoid.cpp
r250267r250268
811811
812812READ8_MEMBER(arkanoid_state::hexaa_f000_r)
813813{
814//  return hexaa_from_sub;
814//  return m_hexaa_from_sub;
815815   return rand();
816816}
817817
818818WRITE8_MEMBER(arkanoid_state::hexaa_f000_w)
819819{
820   hexaa_from_main = data;
820   m_hexaa_from_main = data;
821821}
822822
823823static ADDRESS_MAP_START( hexaa_map, AS_PROGRAM, 8, arkanoid_state )
r250267r250268
840840
841841WRITE8_MEMBER(arkanoid_state::hexaa_sub_80_w)
842842{
843   hexaa_from_sub = data;
843   m_hexaa_from_sub = data;
844844}
845845
846846READ8_MEMBER(arkanoid_state::hexaa_sub_90_r)
847847{
848   return hexaa_from_main;
848   return m_hexaa_from_main;
849849//  return rand();
850850}
851851
r250267r250268
11831183
11841184/* Machine Drivers */
11851185
1186MACHINE_START_MEMBER(arkanoid_state,arkanoid)
1186void arkanoid_state::machine_start()
11871187{
11881188   save_item(NAME(m_bootleg_cmd));
11891189
r250267r250268
12041204   save_item(NAME(m_palettebank));
12051205}
12061206
1207MACHINE_RESET_MEMBER(arkanoid_state,arkanoid)
1207void arkanoid_state::machine_reset()
12081208{
12091209   m_port_a_in = 0;
12101210   m_port_a_out = 0;
r250267r250268
12451245
12461246   MCFG_QUANTUM_TIME(attotime::from_hz(6000))                  // 100 CPU slices per second to synchronize between the MCU and the main CPU
12471247
1248   MCFG_MACHINE_START_OVERRIDE(arkanoid_state,arkanoid)
1249   MCFG_MACHINE_RESET_OVERRIDE(arkanoid_state,arkanoid)
1250
12511248   /* video hardware */
12521249   MCFG_SCREEN_ADD("screen", RASTER)
12531250//  MCFG_SCREEN_REFRESH_RATE(60)
r250267r250268
12601257
12611258   MCFG_GFXDECODE_ADD("gfxdecode", "palette", arkanoid)
12621259   MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", 512)
1263   MCFG_VIDEO_START_OVERRIDE(arkanoid_state,arkanoid)
12641260
12651261   /* sound hardware */
12661262   MCFG_SPEAKER_STANDARD_MONO("mono")
r250267r250268
12791275   MCFG_CPU_PROGRAM_MAP(hexa_map)
12801276   MCFG_CPU_VBLANK_INT_DRIVER("screen", arkanoid_state,  irq0_line_hold)
12811277
1282   MCFG_MACHINE_START_OVERRIDE(arkanoid_state,arkanoid)
1283   MCFG_MACHINE_RESET_OVERRIDE(arkanoid_state,arkanoid)
1284
12851278   /* video hardware */
12861279   MCFG_SCREEN_ADD("screen", RASTER)
12871280//  MCFG_SCREEN_REFRESH_RATE(60)
r250267r250268
12941287
12951288   MCFG_GFXDECODE_ADD("gfxdecode", "palette", hexa)
12961289   MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", 256)
1297   MCFG_VIDEO_START_OVERRIDE(arkanoid_state,arkanoid)
12981290
12991291   /* sound hardware */
13001292   MCFG_SPEAKER_STANDARD_MONO("mono")
r250267r250268
13351327   /* there is a 68705 but it's only role appears to be to copy data to RAM at startup */
13361328   /* the RAM is also battery backed, making the 68705 almost reundant as long as the battery doesn't die(!) */
13371329
1338   MCFG_MACHINE_START_OVERRIDE(arkanoid_state,arkanoid)
1339   MCFG_MACHINE_RESET_OVERRIDE(arkanoid_state,arkanoid)
1340
13411330   /* video hardware */
13421331   MCFG_SCREEN_ADD("screen", RASTER)
13431332//  MCFG_SCREEN_REFRESH_RATE(60)
r250267r250268
13501339
13511340   MCFG_GFXDECODE_ADD("gfxdecode", "palette", arkanoid)
13521341   MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", 512)
1353   MCFG_VIDEO_START_OVERRIDE(arkanoid_state,arkanoid)
13541342
13551343   /* sound hardware */
13561344   MCFG_SPEAKER_STANDARD_MONO("mono")
r250267r250268
20372025   membank("bank1")->configure_entries(0, 2, &RAM[0x10000], 0x4000);
20382026}
20392027
2028DRIVER_INIT_MEMBER(arkanoid_state,hexaa)
2029{
2030   DRIVER_INIT_CALL(hexa);
2031   
2032   m_hexaa_from_main = 0;
2033   m_hexaa_from_sub = 0;
2034   
2035   save_item(NAME(m_hexaa_from_main));
2036   save_item(NAME(m_hexaa_from_sub));
2037}
2038
20402039DRIVER_INIT_MEMBER(arkanoid_state,brixian)
20412040{
20422041   UINT8 *RAM = memregion("protdata")->base();
r250267r250268
20762075GAME( 19??, tetrsark,   0,        bootleg,  tetrsark, arkanoid_state, tetrsark, ROT0,  "D.R. Korea", "Tetris (D.R. Korea)", MACHINE_SUPPORTS_SAVE )
20772076
20782077GAME( 199?, hexa,       0,        hexa,     hexa, arkanoid_state,     hexa,     ROT0,  "D.R. Korea", "Hexa", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )
2079GAME( 199?, hexaa,      hexa,     hexaa,    hexa, arkanoid_state,     hexa,     ROT0,  "D.R. Korea", "Hexa (with 2xZ80, protected)", MACHINE_NOT_WORKING )
2078GAME( 199?, hexaa,      hexa,     hexaa,    hexa, arkanoid_state,     hexaa,     ROT0,  "D.R. Korea", "Hexa (with 2xZ80, protected)", MACHINE_NOT_WORKING )
20802079
20812080GAME( 1993, brixian,    0,        brixian,  brixian, arkanoid_state,  brixian,        ROT0,  "Cheil Computer System", "Brixian", MACHINE_SUPPORTS_SAVE )
trunk/src/mame/drivers/cclimber.cpp
r250267r250268
161161
162162-------------------------------------------------------------------
163163
164Top Roller
165Jaleco 1983
164166
165 Top Roller
166 Jaleco
167PCB Layout
168----------
167169
168 Hardware : Original Jaleco board no 8307-B/8307-A(redump)
1708307-A
171JALECO MADE IN JAPAN
172|------------------------------------------------|
173|       2114  ENCR_Z80                           |
174|DSW(8) 2114  6116                              |-|
175|                                               | |
176|          7.3D   1.5D                          | |
177|2         8.3F   2.5F                          | |
178|2         9.3H   3.5H                2114      |-|
179|W         10.3K  4.5K                2114       |
180|A         11.3L  5.5L                2114       |
181|Y                6.5M                2114      |-|
182|          12.3P                         7603.9N| |
183|                                        7603.9P| |
184|    DSW(4)                                     | |
185|     LM3900                                    |-|
186|HA1388 VOL    AY-3-8910                 7611.9S |
187|------------------------------------------------|
188Notes:
189 ENCR_Z80 - Encrypted Z80 CPU. Clock 3.00MHz [12/4]. No markings on
190            the chip but likely made by Sega (possibly 315-5018)
191 AY3-8910 - Clock 1.50MHz [12/8]
192     7603 - Harris M3-7603 32 bytes x8-bit (256 bits) bipolar PROM
193     7611 - Harris M3-7611 256 bytes x4-bit (1k) bipolar PROM
194     6116 - 2kx8 SRAM
195     2114 - 1kx4 SRAM
196   LM3900 - Texas Instruments LM3900 Quad Operational Amplifier
197   HA1388 - Hitachi HA1388 18W BTL Audio Power Amplifier
198    HSync - 15.13976kHz
199    VSync - 59.15182Hz
169200
170 Main CPU : Encrypted Z80 (probably 315-5018)
171 Sound : AY-3-8910
172201
173 ROMS CRC32 + positions :
2028307-B
203JALECO MADE IN JAPAN
204|------------------------------------------------|
205|7603.1A       13.4A  2114                       |
206|              14.4C  2114                      |-|
207|                           2114                | |
208|         2114              2114                | |
209|         2114 15.4H                            | |
210|              16.4J                            |-|
211| D2125 D2125                                    |
212| D2125 D2125                                    |
213| D2125 D2125                                   |-|
214|                                               | |
215|                                               | |
216|                                               | |
217|     7603.2P                                   |-|
218|     7603.2R                             12MHz  |
219|------------------------------------------------|
220Notes:
221      2114 - 1kx4 SRAM
222     D2125 - 1kx1 SRAM
223      7603 - Harris M3-7603 32 bytes x8-bit bipolar PROM
174224
175 [9894374d]  d5
176 [ef789f00]  f5
177 [d45494ba]  h5
178 [1cb48ea0]  k5
179 [84139f46]  l5
180 [e30c1dd8]  m5
181 [904fffb6]  d3
182 [94371cfb]  f3
183 [8a8032a7]  h3
184 [1e8914a6]  k3
185 [b20a9fa2]  l3
186 [7f989dc9]  p3
187 [89327329]  a4 bottom board 89327329
188 [7a945733]  c4 bottom board
189 [5f2c2a78]  h4 bottom board  bad dump / [1d9e3325] (8307-A)
190 [ce3afe26]  j4 bottom board
191
192225----
193226
1942272008-07
trunk/src/mame/drivers/naomi.cpp
r250267r250268
28812881Scan ROM for the text string "LOADING TEST MODE NOW" back up four (4) bytes for the region byte.
28822882  NOTE: this doesn't work for the HOTD2 or multi screen boot roms
28832883
2884
2885Naomi Dev BIOS v1.10:   (some sources call it "NAOMI Test BIOS ROM")
2886NAOMI DEVELOP  1999 01/10  1.10
2887
2888to boot into BIOS menu DIPSW 1-4 must be ON
2889with other values various tests will be run instead
2890with DIPSW 1 3 OFF, 2 4 ON  MultiBoard hardware tests will be run (not present in menu)
2891
2892Warning !!!
2893"SECURITY TEST" and "FLASH TEST" will test "M2-type" 171-7885A ROM boards Flash-ROMs, erasing its contents.
2894"FLASH COPY" : 2x 171-7885A ROM boards must be connected and configured as Bank 0 and 1, contents of one will be flashed to another.
2895"NEW FLASH TEST" and "NEW SECURITY TEST" - tests for "M1-type" 171-7930B ROM boards (Actel-based), flash roms contents will be erased.
2896
2897Security tests uses hard coded encrypted/decrypted data, so all development ROM boards must be have same hardcoded security keys.
2898no valid 315-5881 key can be found using current decryption routine.
2899M1-type security key is ff9d4d3c
2900
2901other points of interest:
2902000ADFB8 - 000AF7CB - HTML with Japanese SDK/Kit change log, used in M1 security test as plaintext data.
2903
2904"INPUT TEST" : tests inputs connected to MIE GPIO ports (active low):
29050 - Player 1 input
29061 - Player 2 input
29072 - Coins 1/2, Test, Service, Start 1/2
29084 - Port E
29096 - Port G
2910F - 8x analogue inputs
2911Probably at some stage of development NAOMI was planned as non-JVS system as well, and inputs must be wired to CN19-21, unpopulated on retail hardware.
2912
28842913*/
28852914// game specific bios roms quite clearly don't belong in here.
28862915// Japan bios is default, because most games require it.
28872916#define NAOMI_BIOS \
28882917   ROM_REGION( 0x200000, "maincpu", 0) \
2889   ROM_SYSTEM_BIOS( 0, "bios0", "epr-21576h (Japan)" ) \
2890   ROM_LOAD16_WORD_SWAP_BIOS( 0, "epr-21576h.ic27", 0x000000, 0x200000, CRC(d4895685) SHA1(91424d481ff99a8d3f4c45cea6d3f0eada049a6d) ) \
2891   ROM_SYSTEM_BIOS( 1, "bios1", "epr-21576g (Japan)" ) \
2892   ROM_LOAD16_WORD_SWAP_BIOS( 1, "epr-21576g.ic27", 0x000000, 0x200000, CRC(d2a1c6bf) SHA1(6d27d71aec4dfba98f66316ae74a1426d567698a) ) \
2893   ROM_SYSTEM_BIOS( 2, "bios2", "epr-21576e (Japan)" ) \
2894   ROM_LOAD16_WORD_SWAP_BIOS( 2, "epr-21576e.ic27", 0x000000, 0x200000, CRC(08c0add7) SHA1(e7c1a7673cb2ccb21748ef44105e46d1bad7266d) ) \
2895   ROM_SYSTEM_BIOS( 3, "bios3", "epr-21576d (Japan)" ) \
2896   ROM_LOAD16_WORD_SWAP_BIOS( 3, "epr-21576d.ic27", 0x000000, 0x200000, CRC(3b2afa7b) SHA1(d007e1d321c198a38c5baff86eb2ab84385d150a) ) \
2897   ROM_SYSTEM_BIOS( 4, "bios4", "epr-21576c (Japan)" ) \
2898   ROM_LOAD16_WORD_SWAP_BIOS( 4, "epr-21576c.ic27", 0x000000, 0x200000, CRC(4599ad13) SHA1(7e730e9452a792d76f210c33a955d385538682c7) ) \
2899   ROM_SYSTEM_BIOS( 5, "bios5", "epr-21576b (Japan)" ) \
2900   ROM_LOAD16_WORD_SWAP_BIOS( 5, "epr-21576b.ic27", 0x000000, 0x200000, CRC(755a6e07) SHA1(7e8b8ccfc063144d89668e7224dcd8a36c54f3b3) ) \
2901   ROM_SYSTEM_BIOS( 6, "bios6", "epr-21576a (Japan)" ) \
2902   ROM_LOAD16_WORD_SWAP_BIOS( 6, "epr-21576a.ic27", 0x000000, 0x200000, CRC(cedfe439) SHA1(f27798bf3d890863ef0c1d9dcb4e7782249dca27) ) \
2903   ROM_SYSTEM_BIOS( 7, "bios7", "epr-21576 (Japan)" ) \
2904   ROM_LOAD16_WORD_SWAP_BIOS( 7, "epr-21576.ic27",  0x000000, 0x200000, CRC(9dad3495) SHA1(5fb66f9a2b68d120f059c72758e65d34f461044a) ) \
2905   ROM_SYSTEM_BIOS( 8, "bios8", "epr-21578h (Export)" ) \
2906   ROM_LOAD16_WORD_SWAP_BIOS( 8, "epr-21578h.ic27", 0x000000, 0x200000, CRC(7b452946) SHA1(8e9f153bbada24b37066dc45b64a7bf0d4f26a9b) ) \
2907   ROM_SYSTEM_BIOS( 9, "bios9", "epr-21578g (Export)" ) \
2908   ROM_LOAD16_WORD_SWAP_BIOS( 9, "epr-21578g.ic27", 0x000000, 0x200000, CRC(55413214) SHA1(bd2748365a9fc1821c9369aa7155d7c41c4df43e) ) \
2918   ROM_SYSTEM_BIOS( 0, "bios0",   "epr-21576h (Japan)" ) \
2919   ROM_LOAD16_WORD_SWAP_BIOS( 0,  "epr-21576h.ic27", 0x000000, 0x200000, CRC(d4895685) SHA1(91424d481ff99a8d3f4c45cea6d3f0eada049a6d) ) \
2920   ROM_SYSTEM_BIOS( 1, "bios1",   "epr-21576g (Japan)" ) \
2921   ROM_LOAD16_WORD_SWAP_BIOS( 1,  "epr-21576g.ic27", 0x000000, 0x200000, CRC(d2a1c6bf) SHA1(6d27d71aec4dfba98f66316ae74a1426d567698a) ) \
2922   ROM_SYSTEM_BIOS( 2, "bios2",   "epr-21576e (Japan)" ) \
2923   ROM_LOAD16_WORD_SWAP_BIOS( 2,  "epr-21576e.ic27", 0x000000, 0x200000, CRC(08c0add7) SHA1(e7c1a7673cb2ccb21748ef44105e46d1bad7266d) ) \
2924   ROM_SYSTEM_BIOS( 3, "bios3",   "epr-21576d (Japan)" ) \
2925   ROM_LOAD16_WORD_SWAP_BIOS( 3,  "epr-21576d.ic27", 0x000000, 0x200000, CRC(3b2afa7b) SHA1(d007e1d321c198a38c5baff86eb2ab84385d150a) ) \
2926   ROM_SYSTEM_BIOS( 4, "bios4",   "epr-21576c (Japan)" ) \
2927   ROM_LOAD16_WORD_SWAP_BIOS( 4,  "epr-21576c.ic27", 0x000000, 0x200000, CRC(4599ad13) SHA1(7e730e9452a792d76f210c33a955d385538682c7) ) \
2928   ROM_SYSTEM_BIOS( 5, "bios5",   "epr-21576b (Japan)" ) \
2929   ROM_LOAD16_WORD_SWAP_BIOS( 5,  "epr-21576b.ic27", 0x000000, 0x200000, CRC(755a6e07) SHA1(7e8b8ccfc063144d89668e7224dcd8a36c54f3b3) ) \
2930   ROM_SYSTEM_BIOS( 6, "bios6",   "epr-21576a (Japan)" ) \
2931   ROM_LOAD16_WORD_SWAP_BIOS( 6,  "epr-21576a.ic27", 0x000000, 0x200000, CRC(cedfe439) SHA1(f27798bf3d890863ef0c1d9dcb4e7782249dca27) ) \
2932   ROM_SYSTEM_BIOS( 7, "bios7",   "epr-21576 (Japan)" ) \
2933   ROM_LOAD16_WORD_SWAP_BIOS( 7,  "epr-21576.ic27",  0x000000, 0x200000, CRC(9dad3495) SHA1(5fb66f9a2b68d120f059c72758e65d34f461044a) ) \
2934   ROM_SYSTEM_BIOS( 8, "bios8",   "epr-21578h (Export)" ) \
2935   ROM_LOAD16_WORD_SWAP_BIOS( 8,  "epr-21578h.ic27", 0x000000, 0x200000, CRC(7b452946) SHA1(8e9f153bbada24b37066dc45b64a7bf0d4f26a9b) ) \
2936   ROM_SYSTEM_BIOS( 9, "bios9",   "epr-21578g (Export)" ) \
2937   ROM_LOAD16_WORD_SWAP_BIOS( 9,  "epr-21578g.ic27", 0x000000, 0x200000, CRC(55413214) SHA1(bd2748365a9fc1821c9369aa7155d7c41c4df43e) ) \
29092938   ROM_SYSTEM_BIOS( 10, "bios10", "epr-21578e (Export)" ) \
2910   ROM_LOAD16_WORD_SWAP_BIOS( 10, "epr-21578e.ic27", 0x000000, 0x200000, CRC(087f09a3) SHA1(0418eb2cf9766f0b1b874a4e92528779e22c0a4a) ) \
2939   ROM_LOAD16_WORD_SWAP_BIOS( 10, "epr-21578e.ic27", 0x000000, 0x200000, CRC(087f09a3) SHA1(0418eb2cf9766f0b1b874a4e92528779e22c0a4a) ) \
29112940   ROM_SYSTEM_BIOS( 11, "bios11", "epr-21578d (Export)" ) \
2912   ROM_LOAD16_WORD_SWAP_BIOS( 11, "epr-21578d.ic27", 0x000000, 0x200000, CRC(dfd5f42a) SHA1(614a0db4743a5e5a206190d6786ade24325afbfd) ) \
2941   ROM_LOAD16_WORD_SWAP_BIOS( 11, "epr-21578d.ic27", 0x000000, 0x200000, CRC(dfd5f42a) SHA1(614a0db4743a5e5a206190d6786ade24325afbfd) ) \
29132942   ROM_SYSTEM_BIOS( 12, "bios12", "epr-21578a (Export)" ) \
2914   ROM_LOAD16_WORD_SWAP_BIOS( 12, "epr-21578a.ic27", 0x000000, 0x200000, CRC(6c9aad83) SHA1(555918de76d8dbee2a97d8a95297ef694b3e803f) ) \
2943   ROM_LOAD16_WORD_SWAP_BIOS( 12, "epr-21578a.ic27", 0x000000, 0x200000, CRC(6c9aad83) SHA1(555918de76d8dbee2a97d8a95297ef694b3e803f) ) \
29152944   ROM_SYSTEM_BIOS( 13, "bios13", "epr-21577h (USA)" ) \
2916   ROM_LOAD16_WORD_SWAP_BIOS( 13, "epr-21577h.ic27", 0x000000, 0x200000, CRC(fdf17452) SHA1(5f3e4b677f0046ce690a4f096b0481e5dd8bb6e6) ) \
2945   ROM_LOAD16_WORD_SWAP_BIOS( 13, "epr-21577h.ic27", 0x000000, 0x200000, CRC(fdf17452) SHA1(5f3e4b677f0046ce690a4f096b0481e5dd8bb6e6) ) \
29172946   ROM_SYSTEM_BIOS( 14, "bios14", "epr-21577g (USA)" ) \
2918   ROM_LOAD16_WORD_SWAP_BIOS( 14, "epr-21577g.ic27", 0x000000, 0x200000, CRC(25f64af7) SHA1(99f9e6cc0642319bd2da492611220540add573e8) ) \
2947   ROM_LOAD16_WORD_SWAP_BIOS( 14, "epr-21577g.ic27", 0x000000, 0x200000, CRC(25f64af7) SHA1(99f9e6cc0642319bd2da492611220540add573e8) ) \
29192948   ROM_SYSTEM_BIOS( 15, "bios15", "epr-21577e (USA)" ) \
2920   ROM_LOAD16_WORD_SWAP_BIOS( 15, "epr-21577e.ic27", 0x000000, 0x200000, CRC(cf36e97b) SHA1(b085305982e7572e58b03a9d35f17ae319c3bbc6) ) \
2949   ROM_LOAD16_WORD_SWAP_BIOS( 15, "epr-21577e.ic27", 0x000000, 0x200000, CRC(cf36e97b) SHA1(b085305982e7572e58b03a9d35f17ae319c3bbc6) ) \
29212950   ROM_SYSTEM_BIOS( 16, "bios16", "epr-21577d (USA)" ) \
2922   ROM_LOAD16_WORD_SWAP_BIOS( 16, "epr-21577d.ic27", 0x000000, 0x200000, CRC(60ddcbbe) SHA1(58b15096d269d6df617ca1810b66b47deb184958) ) \
2951   ROM_LOAD16_WORD_SWAP_BIOS( 16, "epr-21577d.ic27", 0x000000, 0x200000, CRC(60ddcbbe) SHA1(58b15096d269d6df617ca1810b66b47deb184958) ) \
29232952   ROM_SYSTEM_BIOS( 17, "bios17", "epr-21577a (USA)" ) \
2924   ROM_LOAD16_WORD_SWAP_BIOS( 17, "epr-21577a.ic27", 0x000000, 0x200000, CRC(969dc491) SHA1(581d1eae328b87b67508a7586ffc60cee256f70f) ) \
2953   ROM_LOAD16_WORD_SWAP_BIOS( 17, "epr-21577a.ic27", 0x000000, 0x200000, CRC(969dc491) SHA1(581d1eae328b87b67508a7586ffc60cee256f70f) ) \
29252954   ROM_SYSTEM_BIOS( 18, "bios18", "epr-21579d (Korea)" ) \
2926   ROM_LOAD16_WORD_SWAP_BIOS( 18, "epr-21579d.ic27", 0x000000, 0x200000, CRC(33513691) SHA1(b1d8c7c516e1471a788fcf7a02a794ad2f05aeeb) ) \
2955   ROM_LOAD16_WORD_SWAP_BIOS( 18, "epr-21579d.ic27", 0x000000, 0x200000, CRC(33513691) SHA1(b1d8c7c516e1471a788fcf7a02a794ad2f05aeeb) ) \
29272956   ROM_SYSTEM_BIOS( 19, "bios19", "epr-21579 (Korea)" ) \
29282957   ROM_LOAD16_WORD_SWAP_BIOS( 19, "epr-21579.ic27",  0x000000, 0x200000, CRC(71f9c918) SHA1(d15af8b947f41eea7c203b565cd403e3f37a2017) ) \
29292958   ROM_SYSTEM_BIOS( 20, "bios20", "Naomi Dev BIOS" ) \
2930   ROM_LOAD16_WORD_SWAP_BIOS( 20,  "dcnaodev.bios", 0x000000, 0x080000, CRC(7a50fab9) SHA1(ef79f448e0bf735d1264ad4f051d24178822110f) ) /* This one comes from a dev / beta board. The eprom was a 27C4096 */
2959   ROM_LOAD16_WORD_SWAP_BIOS( 20, "dcnaodev.bios",   0x000000, 0x080000, CRC(7a50fab9) SHA1(ef79f448e0bf735d1264ad4f051d24178822110f) ) \
2960   ROM_SYSTEM_BIOS( 21, "bios21", "Naomi Dev BIOS v1.10" ) \
2961   ROM_LOAD16_WORD_SWAP_BIOS( 21, "develop110.ic27", 0x000000, 0x200000, CRC(de7cfdb0) SHA1(da16800edc4d49f70481c124d487f544c2fa8ce7) )
2962/* dcnaodev.bios comes from a dev / beta board. The eprom was a 27C4096 */
29312963
2932
29332964// bios for House of the Dead 2
29342965#define HOTD2_BIOS \
29352966   ROM_REGION( 0x200000, "maincpu", 0) \
trunk/src/mame/includes/arkanoid.h
r250267r250268
2020      m_videoram(*this,"videoram"),
2121      m_spriteram(*this,"spriteram"),
2222      m_protram(*this,"protram"),
23      m_maincpu(*this, "maincpu"),
2324      m_mcu(*this, "mcu"),
24      m_maincpu(*this, "maincpu"),
2525      m_gfxdecode(*this, "gfxdecode"),
2626      m_palette(*this, "palette") { }
2727
r250267r250268
5252   UINT8    m_bootleg_cmd;
5353
5454   /* hexaa */
55   UINT8 hexaa_from_main;
56   UINT8 hexaa_from_sub;
55   UINT8 m_hexaa_from_main;
56   UINT8 m_hexaa_from_sub;
5757
5858   /* devices */
59   required_device<cpu_device> m_maincpu;
5960   optional_device<cpu_device> m_mcu;
61   required_device<gfxdecode_device> m_gfxdecode;
62   required_device<palette_device> m_palette;
63
6064   DECLARE_READ8_MEMBER(arkanoid_Z80_mcu_r);
6165   DECLARE_WRITE8_MEMBER(arkanoid_Z80_mcu_w);
6266   DECLARE_READ8_MEMBER(arkanoid_68705_port_a_r);
r250267r250268
8488   DECLARE_DRIVER_INIT(block2);
8589   DECLARE_DRIVER_INIT(arkblock);
8690   DECLARE_DRIVER_INIT(hexa);
91   DECLARE_DRIVER_INIT(hexaa);
8792   DECLARE_DRIVER_INIT(paddle2);
8893   DECLARE_DRIVER_INIT(tetrsark);
8994   DECLARE_DRIVER_INIT(arkgcbl);
r250267r250268
9297   DECLARE_DRIVER_INIT(arkangc);
9398   DECLARE_DRIVER_INIT(brixian);
9499   TILE_GET_INFO_MEMBER(get_bg_tile_info);
95   DECLARE_MACHINE_START(arkanoid);
96   DECLARE_MACHINE_RESET(arkanoid);
97   DECLARE_VIDEO_START(arkanoid);
100   virtual void machine_start();
101   virtual void machine_reset();
102   virtual void video_start();
98103   UINT32 screen_update_arkanoid(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
99104   UINT32 screen_update_hexa(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
100105   TIMER_CALLBACK_MEMBER(test);
101106   void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
102107   void arkanoid_bootleg_init(  );
103   required_device<cpu_device> m_maincpu;
104   required_device<gfxdecode_device> m_gfxdecode;
105   required_device<palette_device> m_palette;
106108};
trunk/src/mame/machine/naomim2.cpp
r250267r250268
183183      case 0x1fffc: m_cryptdevice->set_subkey(data); return;
184184      }
185185   }
186   throw emu_fatalerror("NAOMIM2: unhandled board write %08x, %04x\n", offset, data);
186   logerror("NAOMIM2: unhandled board write %08x, %04x\n", offset, data);
187187}
188188
189189UINT16 naomi_m2_board::read_callback(UINT32 addr)
trunk/src/mame/video/arkanoid.cpp
r250267r250268
171171   SET_TILE_INFO_MEMBER(0, code, color, 0);
172172}
173173
174VIDEO_START_MEMBER(arkanoid_state,arkanoid)
174void arkanoid_state::video_start()
175175{
176176   m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(arkanoid_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
177177}
trunk/src/mame/video/cclimber.cpp
r250267r250268
582582
583583   /* draw the sprites -- note that it is important to draw them exactly in this
584584      order, to have the correct priorities. */
585   for (offs = 0x1c; offs >= 0; offs -= 4)
585   for (offs = m_spriteram.bytes() - 4; offs >= 0; offs -= 4)
586586   {
587587      int x = m_spriteram[offs + 3];
588588      int y = 240 - m_spriteram[offs + 2];


Previous 199869 Revisions Next


© 1997-2024 The MAME Team