libsidplayfp 2.6.0
|
#include <lightpen.h>
Public Member Functions | |
void | setScreenSize (unsigned int height, unsigned int width) |
void | reset () |
uint8_t | getX () const |
uint8_t | getY () const |
bool | retrigger () |
bool | trigger (unsigned int lineCycle, unsigned int rasterY) |
void | untrigger () |
Lightpen emulation. Does not reflect model differences.
|
inline |
Return the low byte of x coordinate.
|
inline |
Return the low byte of y coordinate.
|
inline |
Reset the lightpen.
|
inline |
Retrigger lightpen on vertical blank.
Set VIC screen size.
height | number of raster lines |
width | number of cycles per line |
Trigger lightpen from CIA.
lineCycle | current line cycle |
rasterY | current y raster position |
|
inline |
Untrigger lightpen from CIA.