mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 18:08:20 -07:00
Made ATAPI derived from SCSI. Added proper S/G emulation for SCSI DMA. Added SCSI CD-ROM emulation, preserving all the former ATAPI commands as well.
21 lines
431 B
C
21 lines
431 B
C
/* Copyright holders: Sarah Walker, SA1988
|
|
see COPYING for more details
|
|
*/
|
|
void dma_init();
|
|
void dma16_init();
|
|
void dma_reset();
|
|
|
|
#define DMA_NODATA -1
|
|
#define DMA_OVER 0x10000
|
|
|
|
void readdma0();
|
|
int readdma1();
|
|
uint8_t readdma2();
|
|
int readdma3();
|
|
|
|
void writedma2(uint8_t temp);
|
|
|
|
int dma_channel_read(int channel);
|
|
int dma_channel_write(int channel, uint16_t val);
|
|
|
|
size_t PageLengthReadWrite(uint32_t Address, size_t TotalSize); |