Previous | 199869 Revisions | Next |
r26865 Wednesday 1st January, 2014 at 15:36:10 UTC by smf |
---|
removed ca2 callback as the value is already pushed [smf] |
[src/mame/drivers] | beezer.c |
[src/mame/includes] | beezer.h |
[src/mame/machine] | beezer.c |
r26864 | r26865 | |
---|---|---|
114 | 114 | MCFG_DEVICE_ADD("via6522_0", VIA6522, 0) |
115 | 115 | MCFG_VIA6522_READPA_HANDLER(READ8(beezer_state, b_via_0_pa_r)) |
116 | 116 | MCFG_VIA6522_READPB_HANDLER(READ8(beezer_state, b_via_0_pb_r)) |
117 | MCFG_VIA6522_READCA2_HANDLER(READLINE(beezer_state, b_via_0_ca2_r)) | |
118 | 117 | MCFG_VIA6522_WRITEPA_HANDLER(WRITE8(beezer_state, b_via_0_pa_w)) |
119 | 118 | MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(beezer_state, b_via_0_pb_w)) |
120 | 119 | MCFG_VIA6522_CB2_HANDLER(DEVWRITELINE("via6522_1", via6522_device, write_ca1)) |
r26864 | r26865 | |
---|---|---|
53 | 53 | TODO: ports CB1 and CB2, need tracing; ports CA1 and CA2 could use verify as well |
54 | 54 | */ |
55 | 55 | |
56 | READ_LINE_MEMBER(beezer_state::b_via_0_ca2_r) | |
57 | { | |
58 | return 0; // TODO: TDISP on schematic, same as D5 bit of scanline count from 74LS161 counter at 7A; attach properly | |
59 | ||
60 | } | |
61 | ||
62 | 56 | READ8_MEMBER(beezer_state::b_via_0_pa_r) |
63 | 57 | { |
64 | 58 | return (m_banklatch&0x38)<<2; // return X,Y,Z bits TODO: the Z bit connects somewhere else... where? |
r26864 | r26865 | |
---|---|---|
28 | 28 | virtual void machine_start(); |
29 | 29 | UINT32 screen_update_beezer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
30 | 30 | TIMER_DEVICE_CALLBACK_MEMBER(beezer_interrupt); |
31 | DECLARE_READ_LINE_MEMBER(b_via_0_ca2_r); | |
32 | 31 | DECLARE_READ8_MEMBER(b_via_0_pa_r); |
33 | 32 | DECLARE_READ8_MEMBER(b_via_0_pb_r); |
34 | 33 | DECLARE_WRITE8_MEMBER(b_via_0_pa_w); |
Previous | 199869 Revisions | Next |