From 56656eac69b1a2dbc4da1d8d02d107c3ce372e68 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 26 Oct 2004 19:46:26 +0000 Subject: [PATCH] interruptor is now supported by the runtime git-svn-id: svn://svn.cc65.org/cc65/trunk@3265 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/vic20.sgml | 8 ++++++++ src/ld65/cfg/vic20.cfg | 5 +++++ 2 files changed, 13 insertions(+) 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