diff --git a/doc/vic20.sgml b/doc/vic20.sgml index ff1eaba5b..7bea979d1 100644 --- a/doc/vic20.sgml +++ b/doc/vic20.sgml @@ -214,6 +214,14 @@ code: +Interrupts

+ +The runtime for the VIC20 uses routines marked as . + Bugs/Feedback

diff --git a/src/ld65/cfg/vic20.cfg b/src/ld65/cfg/vic20.cfg index 4dcae7e67..0c347cc46 100644 --- a/src/ld65/cfg/vic20.cfg +++ b/src/ld65/cfg/vic20.cfg @@ -20,6 +20,11 @@ FEATURES { type = destructor, label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__; + # condes functions with type 2 are called in the interrupt + CONDES: segment = RODATA, + type = interruptor, + label = __INTERRUPTOR_TABLE__, + count = __INTERRUPTOR_COUNT__; } SYMBOLS { __STACKSIZE__ = $400; # 1K stack