Opus Discovery functions (zxopus.h)

Header {z88dk}/include/zxopus.h
Source {z88dk}/libsrc/spectrum/opus
Include #include <zxopus.h>
Linking n/a
Compile n/a
Comments

This library permits low-level operations on the Opus Discovery interface.

Joystick

set_kempston (int mode)

Sets the kempston emulation (1=on, 0=off)

int get_kempston ()

Gets the kempston emulation status (1=on, 0=off)

Disk

int opus_getblocks (int drive)

Gets the number of sectors

int opus_getblocksize (int drive)

Gets the sector size

Parallel Port

opus_lptwrite (unsigned char databyte)

Sends a character to parallel port

unsigned char opus_lptread ()

Reads a character from the parallel port

 
library/zxspectrum/zxopus.txt · Last modified: 2007/10/26 08:34 by stefano
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki