src/mess/machine/b2m.c
| r3858 | r3859 | |
| 159 | 159 | } |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | | static PIT8253_OUTPUT_CHANGED(bm2_pit_out2) |
| 162 | static PIT8253_OUTPUT_CHANGED(bm2_pit_out0) |
| 163 | 163 | { |
| 164 | logerror("bm2_pit_out0\n"); |
| 164 | 165 | pic8259_set_irq_line((device_config*)device_list_find_by_tag( device->machine->config->devicelist, PIC8259, "pic8259"),1,state); |
| 165 | 166 | } |
| 166 | 167 | |
| r3858 | r3859 | |
| 173 | 174 | b2m_sound_input = state; |
| 174 | 175 | } |
| 175 | 176 | |
| 176 | | static PIT8253_OUTPUT_CHANGED(bm2_pit_out0) |
| 177 | static PIT8253_OUTPUT_CHANGED(bm2_pit_out2) |
| 177 | 178 | { |
| 178 | | pit8253_set_clock_signal( device, 2, state ); |
| 179 | pit8253_set_clock_signal( device, 0, state ); |
| 179 | 180 | } |
| 180 | 181 | |
| 181 | 182 | |
| r3858 | r3859 | |
| 183 | 184 | { |
| 184 | 185 | { |
| 185 | 186 | { |
| 186 | | 2000000, |
| 187 | 0, |
| 187 | 188 | bm2_pit_out0 |
| 188 | 189 | }, |
| 189 | 190 | { |
| 190 | | 0, |
| 191 | 2000000, |
| 191 | 192 | bm2_pit_out1 |
| 192 | 193 | }, |
| 193 | 194 | { |
| r3858 | r3859 | |
| 378 | 379 | |
| 379 | 380 | MACHINE_RESET(b2m) |
| 380 | 381 | { |
| 381 | | device_config *pit8253 = (device_config*)device_list_find_by_tag( machine->config->devicelist, PIT8253, "pit8253" ); |
| 382 | | |
| 383 | 382 | b2m_sound_input = 0; |
| 384 | 383 | |
| 385 | 384 | wd17xx_reset(machine); |
| r3858 | r3859 | |
| 391 | 390 | |
| 392 | 391 | cpu_set_irq_callback(machine->cpu[0], b2m_irq_callback); |
| 393 | 392 | b2m_set_bank(machine,7); |
| 394 | | |
| 395 | | pit8253_gate_w(pit8253, 0, 0); |
| 396 | | pit8253_gate_w(pit8253, 1, 0); |
| 397 | | pit8253_gate_w(pit8253, 2, 0); |
| 398 | 393 | } |
| 399 | 394 | |
| 400 | 395 | DEVICE_IMAGE_LOAD( b2m_floppy ) |
docs/messnew.txt
| r3858 | r3859 | |
| 20 | 20 | |
| 21 | 21 | - [ABC806] Added keyboard simulation and HR graphics. [Curt Coder, Erik Isaksson] |
| 22 | 22 | |
| 23 | - [B2M] bug #1661 fixed [Miodrag Milanovic] |
| 24 | |
| 23 | 25 | - [BBC] Changed memory handling for the 0xfc00 to 0xfeff memory region |
| 24 | 26 | on the Master driver, to allow correct debugging of code in this area |
| 25 | 27 | when ROM is paged in for read. [Phill Harvey-Smith] |
| r3858 | r3859 | |
| 79 | 81 | |
| 80 | 82 | - Changed the TMS5501 implementation to be a device. [Nathan Woods] |
| 81 | 83 | |
| 84 | - Changed the MM58274C implementation to be a device. [Miodrag Milanovic] |
| 85 | |
| 86 | - Changed the TTL74145 implementation to be a device. [Miodrag Milanovic] |
| 87 | |
| 88 | - Changed the UPD7002 implementation to be a device. [Miodrag Milanovic] |
| 89 | |
| 90 | - Changed the TMS9901 implementation to be a device. [Miodrag Milanovic] |
| 91 | |
| 92 | - Changed the TMS9902 implementation to be a device. [Miodrag Milanovic] |
| 93 | |
| 94 | - Changed the I8271 implementation to be a device. [Miodrag Milanovic] |
| 95 | |
| 82 | 96 | - Various code cleanups. [Atari Ace] |
| 83 | 97 | |
| 84 | 98 | - Fixed regression that could cause hanging when creating an image from the |