Previous 15994 Revisions Next

r3859 Wednesday 17th December, 2008 at 15:15:51 UTC by Miodrag Milanović
[B2M] Buf #1661 fixed (due to a PIT change)
[docs]messnew.txt
[src/mess/machine]b2m.c

src/mess/machine/b2m.c
r3858r3859
159159   }
160160}
161161
162static PIT8253_OUTPUT_CHANGED(bm2_pit_out2)
162static PIT8253_OUTPUT_CHANGED(bm2_pit_out0)
163163{
164   logerror("bm2_pit_out0\n");
164165   pic8259_set_irq_line((device_config*)device_list_find_by_tag( device->machine->config->devicelist, PIC8259, "pic8259"),1,state);     
165166}
166167
r3858r3859
173174   b2m_sound_input = state;
174175}
175176
176static PIT8253_OUTPUT_CHANGED(bm2_pit_out0)
177static PIT8253_OUTPUT_CHANGED(bm2_pit_out2)
177178{
178   pit8253_set_clock_signal( device, 2, state );
179   pit8253_set_clock_signal( device, 0, state );
179180}
180181
181182
r3858r3859
183184{
184185   {
185186      {
186         2000000,
187         0,
187188         bm2_pit_out0
188189      },
189190      {
190         0,
191         2000000,
191192         bm2_pit_out1
192193      },
193194      {
r3858r3859
378379
379380MACHINE_RESET(b2m)
380381{   
381   device_config *pit8253 = (device_config*)device_list_find_by_tag( machine->config->devicelist, PIT8253, "pit8253" );
382   
383382   b2m_sound_input = 0;
384383   
385384   wd17xx_reset(machine);
r3858r3859
391390
392391   cpu_set_irq_callback(machine->cpu[0], b2m_irq_callback);
393392   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);
398393}
399394
400395DEVICE_IMAGE_LOAD( b2m_floppy )
docs/messnew.txt
r3858r3859
2020
2121- [ABC806] Added keyboard simulation and HR graphics. [Curt Coder, Erik Isaksson]
2222
23- [B2M] bug #1661 fixed [Miodrag Milanovic]
24
2325- [BBC] Changed memory handling for the 0xfc00 to 0xfeff memory region
2426  on the Master driver, to allow correct debugging of code in this area
2527  when ROM is paged in for read.  [Phill Harvey-Smith]
r3858r3859
7981
8082- Changed the TMS5501 implementation to be a device.  [Nathan Woods]
8183
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
8296- Various code cleanups.  [Atari Ace]
8397
8498- Fixed regression that could cause hanging when creating an image from the

Previous 15994 Revisions Next


© 1998-2018 The MESS Team