1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-14 00:32:08 +00:00
uz d352b85c87 Fixed problems with the startup code (Greg King): Interrupts must be hooked
before calling initlib because initlib calls contructors and may install
drivers, which enable hardware interrupts. Similar for donelib.

See also R3897 and R3951 where this change was done for other platforms.
                         


git-svn-id: svn://svn.cc65.org/cc65/trunk@3954 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 18:23:31 +00:00
..
2004-11-06 13:27:38 +00:00
2005-05-05 10:32:06 +00:00
2005-07-25 18:15:11 +00:00
2005-07-25 18:15:11 +00:00
2002-11-05 20:17:38 +00:00
2003-08-12 17:24:02 +00:00
2002-10-03 18:19:25 +00:00

Implementation notes:

CONDES routines with a type code of 2 are used to implement interrupt
handlers. Note that these are called as soon as the program is started,
so they have to cope with this. The indirect segment is set to the 
system bank when calling interrupt routines, this must must not be changed
when returning.