~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/mame/drivers/gladiatr.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
 
193
193
 
194
194
/*Rom bankswitching*/
195
 
static WRITE8_HANDLER( gladiatr_bankswitch_w )
 
195
WRITE8_MEMBER(gladiatr_state::gladiatr_bankswitch_w)
196
196
{
197
 
        UINT8 *rom = space->machine().region("maincpu")->base() + 0x10000;
 
197
        UINT8 *rom = memregion("maincpu")->base() + 0x10000;
198
198
 
199
 
        memory_set_bankptr(space->machine(), "bank1", rom + 0x6000 * (data & 0x01));
 
199
        membank("bank1")->set_base(rom + 0x6000 * (data & 0x01));
200
200
}
201
201
 
202
202
 
203
203
static READ8_HANDLER( gladiator_dsw1_r )
204
204
{
205
 
        int orig = input_port_read(space->machine(), "DSW1")^0xff;
 
205
        int orig = space->machine().root_device().ioport("DSW1")->read()^0xff;
206
206
 
207
207
        return BITSWAP8(orig, 0,1,2,3,4,5,6,7);
208
208
}
209
209
 
210
210
static READ8_HANDLER( gladiator_dsw2_r )
211
211
{
212
 
        int orig = input_port_read(space->machine(), "DSW2")^0xff;
 
212
        int orig = space->machine().root_device().ioport("DSW2")->read()^0xff;
213
213
 
214
214
        return BITSWAP8(orig, 2,3,4,5,6,7,1,0);
215
215
}
218
218
{
219
219
        int coins = 0;
220
220
 
221
 
        if( input_port_read(space->machine(), "COINS") & 0xc0 ) coins = 0x80;
 
221
        if( space->machine().root_device().ioport("COINS")->read() & 0xc0 ) coins = 0x80;
222
222
        switch(offset)
223
223
        {
224
224
        case 0x01: /* start button , coins */
225
 
                return input_port_read(space->machine(), "IN0") | coins;
 
225
                return space->machine().root_device().ioport("IN0")->read() | coins;
226
226
        case 0x02: /* Player 1 Controller , coins */
227
 
                return input_port_read(space->machine(), "IN1") | coins;
 
227
                return space->machine().root_device().ioport("IN1")->read() | coins;
228
228
        case 0x04: /* Player 2 Controller , coins */
229
 
                return input_port_read(space->machine(), "IN2") | coins;
 
229
                return space->machine().root_device().ioport("IN2")->read() | coins;
230
230
        }
231
231
        /* unknown */
232
232
        return 0;
237
237
        switch(offset)
238
238
        {
239
239
        case 0x01: /* button 3 */
240
 
                return input_port_read(space->machine(), "IN3");
 
240
                return space->machine().root_device().ioport("IN3")->read();
241
241
        }
242
242
        /* unknown */
243
243
        return 0;
256
256
        TAITO8741_start(&gladiator_8741interface);
257
257
        /* 6809 bank memory set */
258
258
        {
259
 
                UINT8 *rom = machine.region("audiocpu")->base() + 0x10000;
260
 
                memory_set_bankptr(machine, "bank2",rom);
 
259
                UINT8 *rom = machine.root_device().memregion("audiocpu")->base() + 0x10000;
 
260
                machine.root_device().membank("bank2")->set_base(rom);
261
261
                machine.device("audiocpu")->reset();
262
262
        }
263
263
}
279
279
/*Sound Functions*/
280
280
static WRITE8_DEVICE_HANDLER( glad_adpcm_w )
281
281
{
282
 
        UINT8 *rom = device->machine().region("audiocpu")->base() + 0x10000;
 
282
        UINT8 *rom = device->machine().root_device().memregion("audiocpu")->base() + 0x10000;
283
283
 
284
284
        /* bit6 = bank offset */
285
 
        memory_set_bankptr(device->machine(), "bank2",rom + ((data & 0x40) ? 0xc000 : 0));
 
285
        device->machine().root_device().membank("bank2")->set_base(rom + ((data & 0x40) ? 0xc000 : 0));
286
286
 
287
287
        msm5205_data_w(device,data);         /* bit0..3  */
288
288
        msm5205_reset_w(device,(data>>5)&1); /* bit 5    */
289
289
        msm5205_vclk_w (device,(data>>4)&1); /* bit4     */
290
290
}
291
291
 
292
 
static WRITE8_HANDLER( glad_cpu_sound_command_w )
293
 
{
294
 
        soundlatch_w(space,0,data);
295
 
        cputag_set_input_line(space->machine(), "audiocpu", INPUT_LINE_NMI, ASSERT_LINE);
296
 
}
297
 
 
298
 
static READ8_HANDLER( glad_cpu_sound_command_r )
299
 
{
300
 
        cputag_set_input_line(space->machine(), "audiocpu", INPUT_LINE_NMI, CLEAR_LINE);
301
 
        return soundlatch_r(space,0);
302
 
}
303
 
 
304
 
static WRITE8_HANDLER( gladiatr_flipscreen_w )
305
 
{
306
 
        flip_screen_set(space->machine(), data & 1);
 
292
WRITE8_MEMBER(gladiatr_state::glad_cpu_sound_command_w)
 
293
{
 
294
        soundlatch_byte_w(space,0,data);
 
295
        cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, ASSERT_LINE);
 
296
}
 
297
 
 
298
READ8_MEMBER(gladiatr_state::glad_cpu_sound_command_r)
 
299
{
 
300
        cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, CLEAR_LINE);
 
301
        return soundlatch_byte_r(space,0);
 
302
}
 
303
 
 
304
WRITE8_MEMBER(gladiatr_state::gladiatr_flipscreen_w)
 
305
{
 
306
        flip_screen_set(data & 1);
307
307
}
308
308
 
309
309
 
310
310
#if 1
311
311
/* !!!!! patch to IRQ timming for 2nd CPU !!!!! */
312
 
static WRITE8_HANDLER( gladiatr_irq_patch_w )
 
312
WRITE8_MEMBER(gladiatr_state::gladiatr_irq_patch_w)
313
313
{
314
 
        cputag_set_input_line(space->machine(), "sub", 0, HOLD_LINE);
 
314
        cputag_set_input_line(machine(), "sub", 0, HOLD_LINE);
315
315
}
316
316
#endif
317
317
 
321
321
 
322
322
 
323
323
 
324
 
static WRITE8_HANDLER(qx0_w)
325
 
{
326
 
        gladiatr_state *state = space->machine().driver_data<gladiatr_state>();
327
 
        if(!offset)
328
 
        {
329
 
                state->m_data2=data;
330
 
                state->m_flag2=1;
331
 
        }
332
 
}
333
 
 
334
 
static WRITE8_HANDLER(qx1_w)
335
 
{
336
 
        gladiatr_state *state = space->machine().driver_data<gladiatr_state>();
337
 
        if(!offset)
338
 
        {
339
 
                state->m_data1=data;
340
 
                state->m_flag1=1;
341
 
        }
342
 
}
343
 
 
344
 
static WRITE8_HANDLER(qx2_w){ }
345
 
 
346
 
static WRITE8_HANDLER(qx3_w){ }
347
 
 
348
 
static READ8_HANDLER(qx2_r){ return space->machine().rand(); }
349
 
 
350
 
static READ8_HANDLER(qx3_r){ return space->machine().rand()&0xf; }
351
 
 
352
 
static READ8_HANDLER(qx0_r)
353
 
{
354
 
        gladiatr_state *state = space->machine().driver_data<gladiatr_state>();
355
 
        if(!offset)
356
 
                 return state->m_data1;
357
 
        else
358
 
                return state->m_flag2;
359
 
}
360
 
 
361
 
static READ8_HANDLER(qx1_r)
362
 
{
363
 
        gladiatr_state *state = space->machine().driver_data<gladiatr_state>();
364
 
        if(!offset)
365
 
                return state->m_data2;
366
 
        else
367
 
                return state->m_flag1;
 
324
WRITE8_MEMBER(gladiatr_state::qx0_w)
 
325
{
 
326
        if(!offset)
 
327
        {
 
328
                m_data2=data;
 
329
                m_flag2=1;
 
330
        }
 
331
}
 
332
 
 
333
WRITE8_MEMBER(gladiatr_state::qx1_w)
 
334
{
 
335
        if(!offset)
 
336
        {
 
337
                m_data1=data;
 
338
                m_flag1=1;
 
339
        }
 
340
}
 
341
 
 
342
WRITE8_MEMBER(gladiatr_state::qx2_w){ }
 
343
 
 
344
WRITE8_MEMBER(gladiatr_state::qx3_w){ }
 
345
 
 
346
READ8_MEMBER(gladiatr_state::qx2_r){ return machine().rand(); }
 
347
 
 
348
READ8_MEMBER(gladiatr_state::qx3_r){ return machine().rand()&0xf; }
 
349
 
 
350
READ8_MEMBER(gladiatr_state::qx0_r)
 
351
{
 
352
        if(!offset)
 
353
                 return m_data1;
 
354
        else
 
355
                return m_flag2;
 
356
}
 
357
 
 
358
READ8_MEMBER(gladiatr_state::qx1_r)
 
359
{
 
360
        if(!offset)
 
361
                return m_data2;
 
362
        else
 
363
                return m_flag1;
368
364
}
369
365
 
370
366
static MACHINE_RESET( ppking )
374
370
        state->m_flag1 = state->m_flag2 = 1;
375
371
}
376
372
 
377
 
static ADDRESS_MAP_START( ppking_cpu1_map, AS_PROGRAM, 8 )
 
373
static ADDRESS_MAP_START( ppking_cpu1_map, AS_PROGRAM, 8, gladiatr_state )
378
374
        AM_RANGE(0x0000, 0xbfff) AM_ROM
379
 
        AM_RANGE(0xc000, 0xcbff) AM_RAM AM_BASE_MEMBER(gladiatr_state, m_spriteram)
 
375
        AM_RANGE(0xc000, 0xcbff) AM_RAM AM_SHARE("spriteram")
380
376
        AM_RANGE(0xcc00, 0xcfff) AM_WRITE(ppking_video_registers_w)
381
 
        AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(gladiatr_paletteram_w) AM_BASE_GENERIC(paletteram)
382
 
        AM_RANGE(0xd800, 0xdfff) AM_RAM_WRITE(gladiatr_videoram_w) AM_BASE_MEMBER(gladiatr_state, m_videoram)
383
 
        AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(gladiatr_colorram_w) AM_BASE_MEMBER(gladiatr_state, m_colorram)
384
 
        AM_RANGE(0xe800, 0xefff) AM_RAM_WRITE(gladiatr_textram_w) AM_BASE_MEMBER(gladiatr_state, m_textram)
 
377
        AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(gladiatr_paletteram_w) AM_SHARE("paletteram")
 
378
        AM_RANGE(0xd800, 0xdfff) AM_RAM_WRITE(gladiatr_videoram_w) AM_SHARE("videoram")
 
379
        AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(gladiatr_colorram_w) AM_SHARE("colorram")
 
380
        AM_RANGE(0xe800, 0xefff) AM_RAM_WRITE(gladiatr_textram_w) AM_SHARE("textram")
385
381
        AM_RANGE(0xf000, 0xf7ff) AM_RAM AM_SHARE("nvram") /* battery backed RAM */
386
382
ADDRESS_MAP_END
387
383
 
388
384
 
389
 
static ADDRESS_MAP_START( ppking_cpu3_map, AS_PROGRAM, 8 )
 
385
static ADDRESS_MAP_START( ppking_cpu3_map, AS_PROGRAM, 8, gladiatr_state )
390
386
        AM_RANGE(0x2000, 0x2fff) AM_ROM
391
387
        AM_RANGE(0xc000, 0xffff) AM_ROM
392
388
ADDRESS_MAP_END
393
389
 
394
 
static ADDRESS_MAP_START( ppking_cpu1_io, AS_IO, 8 )
 
390
static ADDRESS_MAP_START( ppking_cpu1_io, AS_IO, 8, gladiatr_state )
395
391
//  ADDRESS_MAP_GLOBAL_MASK(0xff)
396
392
        AM_RANGE(0xc000, 0xc000) AM_WRITE(gladiatr_spritebuffer_w)
397
393
        AM_RANGE(0xc004, 0xc004) AM_NOP // WRITE(ppking_irq_patch_w)
399
395
        AM_RANGE(0xc0bf, 0xc0bf) AM_NOP
400
396
ADDRESS_MAP_END
401
397
 
402
 
static ADDRESS_MAP_START( ppking_cpu2_io, AS_IO, 8 )
 
398
static ADDRESS_MAP_START( ppking_cpu2_io, AS_IO, 8, gladiatr_state )
403
399
        ADDRESS_MAP_GLOBAL_MASK(0xff)
404
 
        AM_RANGE(0x00, 0x01) AM_DEVREADWRITE("ymsnd", ym2203_r, ym2203_w)
 
400
        AM_RANGE(0x00, 0x01) AM_DEVREADWRITE_LEGACY("ymsnd", ym2203_r, ym2203_w)
405
401
        AM_RANGE(0x20, 0x21) AM_READ(qx1_r) AM_WRITE(qx1_w)
406
402
        AM_RANGE(0x40, 0x40) AM_READNOP
407
 
        AM_RANGE(0x60, 0x61) AM_READ(qx2_r) AM_WRITE(qx2_w)
408
 
        AM_RANGE(0x80, 0x81) AM_READ(qx3_r) AM_WRITE(qx3_w)
 
403
        AM_RANGE(0x60, 0x61) AM_READWRITE(qx2_r,qx2_w)
 
404
        AM_RANGE(0x80, 0x81) AM_READWRITE(qx3_r,qx3_w)
409
405
ADDRESS_MAP_END
410
406
 
411
407
 
412
408
 
413
409
 
414
 
static ADDRESS_MAP_START( gladiatr_cpu1_map, AS_PROGRAM, 8 )
 
410
static ADDRESS_MAP_START( gladiatr_cpu1_map, AS_PROGRAM, 8, gladiatr_state )
415
411
        AM_RANGE(0x0000, 0x5fff) AM_ROM
416
412
        AM_RANGE(0x6000, 0xbfff) AM_ROMBANK("bank1")
417
 
        AM_RANGE(0xc000, 0xcbff) AM_RAM AM_BASE_MEMBER(gladiatr_state, m_spriteram)
 
413
        AM_RANGE(0xc000, 0xcbff) AM_RAM AM_SHARE("spriteram")
418
414
        AM_RANGE(0xcc00, 0xcfff) AM_WRITE(gladiatr_video_registers_w)
419
 
        AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(gladiatr_paletteram_w) AM_BASE_GENERIC(paletteram)
420
 
        AM_RANGE(0xd800, 0xdfff) AM_RAM_WRITE(gladiatr_videoram_w) AM_BASE_MEMBER(gladiatr_state, m_videoram)
421
 
        AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(gladiatr_colorram_w) AM_BASE_MEMBER(gladiatr_state, m_colorram)
422
 
        AM_RANGE(0xe800, 0xefff) AM_RAM_WRITE(gladiatr_textram_w) AM_BASE_MEMBER(gladiatr_state, m_textram)
 
415
        AM_RANGE(0xd000, 0xd7ff) AM_RAM_WRITE(gladiatr_paletteram_w) AM_SHARE("paletteram")
 
416
        AM_RANGE(0xd800, 0xdfff) AM_RAM_WRITE(gladiatr_videoram_w) AM_SHARE("videoram")
 
417
        AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(gladiatr_colorram_w) AM_SHARE("colorram")
 
418
        AM_RANGE(0xe800, 0xefff) AM_RAM_WRITE(gladiatr_textram_w) AM_SHARE("textram")
423
419
        AM_RANGE(0xf000, 0xf7ff) AM_RAM AM_SHARE("nvram") /* battery backed RAM */
424
420
ADDRESS_MAP_END
425
421
 
426
 
static ADDRESS_MAP_START( cpu2_map, AS_PROGRAM, 8 )
 
422
static ADDRESS_MAP_START( cpu2_map, AS_PROGRAM, 8, gladiatr_state )
427
423
        AM_RANGE(0x0000, 0x7fff) AM_ROM
428
424
        AM_RANGE(0x8000, 0x83ff) AM_RAM
429
425
ADDRESS_MAP_END
430
426
 
431
 
static ADDRESS_MAP_START( gladiatr_cpu3_map, AS_PROGRAM, 8 )
432
 
        AM_RANGE(0x1000, 0x1fff) AM_DEVWRITE("msm", glad_adpcm_w)
 
427
static ADDRESS_MAP_START( gladiatr_cpu3_map, AS_PROGRAM, 8, gladiatr_state )
 
428
        AM_RANGE(0x1000, 0x1fff) AM_DEVWRITE_LEGACY("msm", glad_adpcm_w)
433
429
        AM_RANGE(0x2000, 0x2fff) AM_READ(glad_cpu_sound_command_r)
434
430
        AM_RANGE(0x4000, 0xffff) AM_ROMBANK("bank2")
435
431
ADDRESS_MAP_END
436
432
 
437
433
 
438
 
static ADDRESS_MAP_START( gladiatr_cpu1_io, AS_IO, 8 )
 
434
static ADDRESS_MAP_START( gladiatr_cpu1_io, AS_IO, 8, gladiatr_state )
439
435
//  ADDRESS_MAP_GLOBAL_MASK(0xff)
440
436
        AM_RANGE(0xc000, 0xc000) AM_WRITE(gladiatr_spritebuffer_w)
441
437
        AM_RANGE(0xc001, 0xc001) AM_WRITE(gladiatr_spritebank_w)
442
438
        AM_RANGE(0xc002, 0xc002) AM_WRITE(gladiatr_bankswitch_w)
443
439
        AM_RANGE(0xc004, 0xc004) AM_WRITE(gladiatr_irq_patch_w) /* !!! patch to 2nd CPU IRQ !!! */
444
440
        AM_RANGE(0xc007, 0xc007) AM_WRITE(gladiatr_flipscreen_w)
445
 
        AM_RANGE(0xc09e, 0xc09f) AM_READWRITE(TAITO8741_0_r, TAITO8741_0_w)
 
441
        AM_RANGE(0xc09e, 0xc09f) AM_READWRITE_LEGACY(TAITO8741_0_r, TAITO8741_0_w)
446
442
        AM_RANGE(0xc0bf, 0xc0bf) AM_NOP // watchdog_reset_w doesn't work
447
443
ADDRESS_MAP_END
448
444
 
449
 
static ADDRESS_MAP_START( gladiatr_cpu2_io, AS_IO, 8 )
 
445
static ADDRESS_MAP_START( gladiatr_cpu2_io, AS_IO, 8, gladiatr_state )
450
446
        ADDRESS_MAP_GLOBAL_MASK(0xff)
451
 
        AM_RANGE(0x00, 0x01) AM_DEVREADWRITE("ymsnd", ym2203_r, ym2203_w)
452
 
        AM_RANGE(0x20, 0x21) AM_READWRITE(TAITO8741_1_r, TAITO8741_1_w)
 
447
        AM_RANGE(0x00, 0x01) AM_DEVREADWRITE_LEGACY("ymsnd", ym2203_r, ym2203_w)
 
448
        AM_RANGE(0x20, 0x21) AM_READWRITE_LEGACY(TAITO8741_1_r, TAITO8741_1_w)
453
449
        AM_RANGE(0x40, 0x40) AM_NOP     // WRITE(sub_irq_ack_w)
454
 
        AM_RANGE(0x60, 0x61) AM_READWRITE(TAITO8741_2_r, TAITO8741_2_w)
455
 
        AM_RANGE(0x80, 0x81) AM_READWRITE(TAITO8741_3_r, TAITO8741_3_w)
 
450
        AM_RANGE(0x60, 0x61) AM_READWRITE_LEGACY(TAITO8741_2_r, TAITO8741_2_w)
 
451
        AM_RANGE(0x80, 0x81) AM_READWRITE_LEGACY(TAITO8741_3_r, TAITO8741_3_w)
456
452
        AM_RANGE(0xa0, 0xa7) AM_NOP     // filters on sound output
457
453
        AM_RANGE(0xe0, 0xe0) AM_WRITE(glad_cpu_sound_command_w)
458
454
ADDRESS_MAP_END
960
956
        UINT8 *rom;
961
957
        int i,j;
962
958
 
963
 
        rom = machine.region("gfx2")->base();
 
959
        rom = machine.root_device().memregion("gfx2")->base();
964
960
        // unpack 3bpp graphics
965
961
        for (j = 3; j >= 0; j--)
966
962
        {
974
970
        swap_block(rom + 0x14000, rom + 0x18000, 0x4000);
975
971
 
976
972
 
977
 
        rom = machine.region("gfx3")->base();
 
973
        rom = machine.root_device().memregion("gfx3")->base();
978
974
        // unpack 3bpp graphics
979
975
        for (j = 5; j >= 0; j--)
980
976
        {
991
987
        swap_block(rom + 0x24000, rom + 0x28000, 0x4000);
992
988
 
993
989
        /* make sure bank is valid in cpu-reset */
994
 
        rom = machine.region("audiocpu")->base() + 0x10000;
995
 
        memory_set_bankptr(machine, "bank2",rom);
 
990
        rom = machine.root_device().memregion("audiocpu")->base() + 0x10000;
 
991
        machine.root_device().membank("bank2")->set_base(rom);
996
992
}
997
993
 
998
994
 
999
 
static READ8_HANDLER(f6a3_r)
 
995
READ8_MEMBER(gladiatr_state::f6a3_r)
1000
996
{
1001
 
        gladiatr_state *state = space->machine().driver_data<gladiatr_state>();
1002
 
        if(cpu_get_previouspc(&space->device())==0x8e)
1003
 
                state->m_nvram[0x6a3]=1;
 
997
        if(cpu_get_previouspc(&space.device())==0x8e)
 
998
                m_nvram[0x6a3]=1;
1004
999
 
1005
 
        return state->m_nvram[0x6a3];
 
1000
        return m_nvram[0x6a3];
1006
1001
}
1007
1002
 
1008
1003
static DRIVER_INIT(ppking)
1010
1005
        UINT8 *rom;
1011
1006
        int i,j;
1012
1007
 
1013
 
        rom = machine.region("gfx2")->base();
 
1008
        rom = machine.root_device().memregion("gfx2")->base();
1014
1009
        // unpack 3bpp graphics
1015
1010
        for (i = 0; i < 0x2000; i++)
1016
1011
        {
1017
1012
                rom[i+0x2000] = rom[i] >> 4;
1018
1013
        }
1019
1014
 
1020
 
        rom = machine.region("gfx3")->base();
 
1015
        rom = machine.root_device().memregion("gfx3")->base();
1021
1016
        // unpack 3bpp graphics
1022
1017
        for (j = 1; j >= 0; j--)
1023
1018
        {
1027
1022
                        rom[i+2*j*0x2000] = rom[i+j*0x2000];
1028
1023
                }
1029
1024
        }
1030
 
 
1031
 
        machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0xf6a3,0xf6a3,FUNC(f6a3_r) );
 
1025
        gladiatr_state *state = machine.driver_data<gladiatr_state>();
 
1026
        machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0xf6a3,0xf6a3,read8_delegate(FUNC(gladiatr_state::f6a3_r),state));
1032
1027
}
1033
1028
 
1034
1029