mirror of
https://github.com/MiSTer-devel/Main_MiSTer.git
synced 2026-04-12 03:04:02 +00:00
20 lines
464 B
C
20 lines
464 B
C
#ifndef DSK2NIB_LIB_H
|
|
#define DSK2NIB_LIB_H
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef unsigned char uchar;
|
|
|
|
// Library function for on-demand DSK to NIB conversion
|
|
void a2_readDsk2Nib(fileTYPE*fd, uint64_t offset, uchar *byte);
|
|
|
|
// Library function for writing NIB data back to DSK format
|
|
void a2_writeNib2Dsk(fileTYPE*fd, uint64_t offset, uchar *byte);
|
|
|
|
|
|
void a2_writeDSK(fileTYPE* idx, uint64_t lba, int ack);
|
|
void a2_readDSK(fileTYPE* idx, uint64_t lba, int ack);
|
|
|
|
|
|
#endif
|