1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-25 15:29:34 +00:00
8bitworkshop/presets/c64/rasterirq.h

20 lines
300 B
C
Raw Normal View History

2022-07-20 19:32:47 +00:00
#ifndef _RASTERIRQ_H
#define _RASTERIRQ_H
void dlist_setup(void* ptr);
#define DLIST_SETUP(func) \
dlist_setup(((char*)func)-1)
#define DLIST_NEXT(line) \
__A__ = line; \
asm ("jsr DLIST_IRQ_NEXT");
#define DLIST_RESTART(line) \
__A__ = line; \
asm ("jmp DLIST_IRQ_RESTART");
#endif