11/*****************************************************************************************
22
3- Puzzle Time (Prototype)
4- Elettronica Video-Games S.R.L, 199?
5-
6- driver by Angelo Salese and Pierpaolo Prazzoli
7- dump and info provided by Yoshi
8-
9- Notes:
10- - Is the brightness effect right or there's a different video effect?
11- - In the service menu, where you can configure game options, and when you have to
12- choose the Game Mode, you can't see what is selected, becase the 2 halves of the
13- palette used by txt tilemap have the same data. Is it a real game bug?
3+ Puzzle Time (Prototype)
4+ Elettronica Video-Games S.R.L, 199?
5+
6+ driver by Angelo Salese and Pierpaolo Prazzoli
7+ dump and info provided by Yoshi
8+
9+ Notes:
10+ - Is the brightness effect right or there's a different video effect?
11+ - In the service menu, where you can configure game options, and when you have to
12+ choose the Game Mode, you can't see what is selected, becase the 2 halves of the
13+ palette used by txt tilemap have the same data. Is it a real game bug?
1414
1515*****************************************************************************************/
1616
@@ -47,7 +47,7 @@ static VIDEO_START( pzletime )
4747{
4848 mid_tilemap = tilemap_create (machine , get_mid_tile_info ,tilemap_scan_cols , 16 ,16 ,64 ,16 );
4949 txt_tilemap = tilemap_create (machine , get_txt_tile_info ,tilemap_scan_rows , 8 , 8 ,64 ,32 );
50-
50+
5151 tilemap_set_transparent_pen (mid_tilemap ,0 );
5252 tilemap_set_transparent_pen (txt_tilemap ,0 );
5353}
@@ -61,7 +61,7 @@ static VIDEO_UPDATE( pzletime )
6161
6262 tilemap_set_scrolly (txt_tilemap , 0 , tilemap_regs [0 ]- 3 );
6363 tilemap_set_scrollx (txt_tilemap , 0 , tilemap_regs [1 ]);
64-
64+
6565 tilemap_set_scrolly (mid_tilemap , 0 , tilemap_regs [2 ]- 3 );
6666 tilemap_set_scrollx (mid_tilemap , 0 , tilemap_regs [3 ]- 7 );
6767
@@ -82,7 +82,7 @@ static VIDEO_UPDATE( pzletime )
8282 }
8383 }
8484 }
85-
85+
8686 tilemap_draw (bitmap ,cliprect ,mid_tilemap , 0 ,0 );
8787
8888 {
@@ -92,20 +92,20 @@ static VIDEO_UPDATE( pzletime )
9292 {
9393 if (spriteram16 [offs + 0 ] == 8 )
9494 break ;
95-
96- spr_offs = spriteram16 [offs + 3 ] & 0x0fff ;
95+
96+ spr_offs = spriteram16 [offs + 3 ] & 0x0fff ;
9797 sy = 0x200 - (spriteram16 [offs + 0 ] & 0x1ff )- 35 ;
9898 sx = (spriteram16 [offs + 1 ] & 0x1ff )- 30 ;
9999 colour = (spriteram16 [offs + 0 ] & 0xf000 )>>12 ;
100-
100+
101101 // is spriteram16[offs+0] & 0x200 flipy? it's always set
102-
102+
103103 drawgfx (bitmap ,screen -> machine -> gfx [1 ],spr_offs ,colour ,0 ,1 ,sx ,sy ,cliprect ,TRANSPARENCY_PEN ,0 );
104104 }
105105 }
106-
106+
107107 tilemap_draw (bitmap ,cliprect ,txt_tilemap ,0 ,0 );
108-
108+
109109 return 0 ;
110110}
111111
@@ -142,9 +142,9 @@ static WRITE16_HANDLER( ticket_w )
142142static WRITE16_HANDLER ( video_regs_w )
143143{
144144 int i ;
145-
145+
146146 COMBINE_DATA (& video_regs [offset ]);
147-
147+
148148 if (offset == 0 )
149149 {
150150 if (video_regs [0 ] > 0 )
@@ -205,7 +205,7 @@ static INPUT_PORTS_START( pzletime )
205205 PORT_BIT ( 0x0040 , IP_ACTIVE_HIGH , IPT_SPECIAL ) PORT_CUSTOM (eeprom_bit_r , NULL ) /* eeprom */
206206 PORT_BIT ( 0x0080 , IP_ACTIVE_HIGH , IPT_SPECIAL ) PORT_CUSTOM (ticket_status_r , NULL ) /* ticket dispenser */
207207 PORT_BIT ( 0xff00 , IP_ACTIVE_LOW , IPT_UNKNOWN )
208-
208+
209209 PORT_START ("INPUT ")
210210 PORT_BIT ( 0x0001 , IP_ACTIVE_LOW , IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER (1 )
211211 PORT_BIT ( 0x0002 , IP_ACTIVE_LOW , IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER (1 )
@@ -270,7 +270,7 @@ static MACHINE_DRIVER_START( pzletime )
270270 MDRV_CPU_ADD ("cpu ",M68000 ,10000000 )
271271 MDRV_CPU_PROGRAM_MAP (pzletime_map ,0 )
272272 MDRV_CPU_VBLANK_INT ("screen ",irq4_line_hold )
273-
273+
274274 /* video hardware */
275275 MDRV_SCREEN_ADD ("screen ", RASTER )
276276 MDRV_SCREEN_REFRESH_RATE (60 )
@@ -300,7 +300,7 @@ MACHINE_DRIVER_END
300300***************************************************************************/
301301
302302ROM_START ( pzletime )
303- ROM_REGION ( 0x400000 , "cpu ", 0 )
303+ ROM_REGION ( 0x400000 , "cpu ", 0 )
304304 ROM_LOAD16_BYTE ( "5.b in ", 0x000000, 0x80000, CRC(78b027dc) SHA1(6719908a075ecf0666bb817ac8a31056a7f315c6) )
305305 ROM_LOAD16_BYTE ( "1.bin" , 0x000001 , 0x80000 , CRC (0 a69cbc7 ) SHA1 (bae8b5746209c6773da27acaec7bd535a69019d2 ) )
306306 ROM_LOAD16_BYTE ( "6.bin" , 0x100000 , 0x80000 , CRC (526733ef ) SHA1 (21 a921416d1ae7b9d49789d70ae99f240b012489 ) )
@@ -309,10 +309,10 @@ ROM_START( pzletime )
309309 ROM_LOAD16_BYTE ( "3.bin" , 0x200001 , 0x80000 , CRC (1dd acade ) SHA1 (78f 09fdb 541e369765abfdf39607ca8f4c771d16 ) )
310310 ROM_LOAD16_BYTE ( "8.bin" , 0x300000 , 0x80000 , CRC (be7cf043 ) SHA1 (5d adafb6f89f2fc373b77b18746b461117228f08 ) )
311311 ROM_LOAD16_BYTE ( "4.bin" , 0x300001 , 0x80000 , CRC (374 ab900 ) SHA1 (bd7f649bdf2927c1f5cb53492a08cc66c4658a72 ) )
312-
312+
313313 ROM_REGION ( 0x80000 , "user1" , 0 ) /* Samples */
314314 ROM_LOAD ( "12.bin" , 0x00000 , 0x80000 , CRC (203897 c1 ) SHA1 (c2495871c796bc7f2dabca1630317313b5aa740a ) )
315-
315+
316316 ROM_REGION ( 0x100000 , "oki" , 0 )
317317 ROM_COPY ( "user1" , 0x000000 , 0x000000 , 0x020000 )
318318 ROM_COPY ( "user1" , 0x000000 , 0x020000 , 0x020000 )
@@ -322,7 +322,7 @@ ROM_START( pzletime )
322322 ROM_COPY ( "user1" , 0x040000 , 0x0a0000 , 0x020000 )
323323 ROM_COPY ( "user1" , 0x000000 , 0x0c0000 , 0x020000 )
324324 ROM_COPY ( "user1" , 0x060000 , 0x0e0000 , 0x020000 )
325-
325+
326326 ROM_REGION ( 0x80000 , "gfx1" , ROMREGION_DISPOSE )
327327 ROM_LOAD ( "10.bin" , 0x00000 , 0x80000 , CRC (d6ed11a5 ) SHA1 (585 aad4e962e7c9ba33e96d4d53e2feddd1a6cd9 ) )
328328
0 commit comments