26 #include "sidplayfp/component.h"
27 #include "sidplayfp/EventScheduler.h"
42 static const char *credit;
46 static const int IRQ_RASTER = 1 << 0;
49 static const int IRQ_LIGHTPEN = 1 << 3;
59 event_clock_t m_rasterClk;
67 uint_least16_t maxRasters;
69 uint_least16_t raster_irq;
112 event_clock_t clock();
115 void handleIrqState();
145 bool evaluateIsBadLine()
const
154 virtual void interrupt (
bool state) = 0;
155 virtual void setBA (
bool state) = 0;
163 uint8_t
read(uint_least8_t addr);
173 void write(uint_least8_t addr, uint8_t data);
176 void chip(model_t model);
182 const char *credits()
const {
return credit; }
184 uint_least16_t getCyclesPerLine()
const {
return cyclesPerLine; }
186 uint_least16_t getRasterLines()
const {
return maxRasters; }