LIBRARY ZX Opus Discovery (zxopus.h) - marinus-lab/z88dk GitHub Wiki
Support for the Opus Discovery is built into the zx library.
void set_kempston (int mode)
Sets the kempston emulation (1=on, 0=off)
int get_kempston ()
Gets the kempston emulation status (1=on, 0=off)
int opus_getblocks (int drive)
Gets the number of sectors
int opus_getblocksize (int drive)
Gets the sector size
void opus_lptwrite (unsigned char databyte)
Sends a character to parallel port
unsigned char opus_lptread ()
Reads a character from the parallel port