mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
i8237: removed old MESS hack leftover. No whatsnew.
This commit is contained in:
parent
aee2295323
commit
dd7b96b1b1
@ -608,22 +608,6 @@ WRITE_LINE_DEVICE_HANDLER( i8237_eop_w )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/******************* Unfortunate hacks *******************/
|
|
||||||
|
|
||||||
void i8237_run_transfer(const device_config *device, int channel)
|
|
||||||
{
|
|
||||||
i8237_t *i8237 = get_safe_token(device);
|
|
||||||
|
|
||||||
i8237->status |= 0x10 << channel; /* reset DMA running flag */
|
|
||||||
|
|
||||||
popmessage("dma8237_run_transfer(): please do not use me anymore\n");
|
|
||||||
|
|
||||||
i8237->status &= ~(0x10 << channel);
|
|
||||||
i8237->status |= (0x01 << channel);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static DEVICE_START( i8237 ) {
|
static DEVICE_START( i8237 ) {
|
||||||
i8237_t *i8237 = get_safe_token(device);
|
i8237_t *i8237 = get_safe_token(device);
|
||||||
i8237_interface *intf = (i8237_interface *)device->static_config;
|
i8237_interface *intf = (i8237_interface *)device->static_config;
|
||||||
|
@ -93,7 +93,4 @@ WRITE_LINE_DEVICE_HANDLER( i8237_eop_w );
|
|||||||
|
|
||||||
DEVICE_GET_INFO( i8237 );
|
DEVICE_GET_INFO( i8237 );
|
||||||
|
|
||||||
/* unfortunate hack for the interim for PC HDC */
|
|
||||||
void i8237_run_transfer(const device_config *device, int channel);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user