Re: [cc65] Restoring vectors (CBM machines)

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-06-12 14:17:51


On Thursday 12 June 2003 13:34, josef.soucek_at_ct.cz wrote:

> On C64 the RESTOR ($FF8A) routine do the following:
> Jumps to $FD15 and fills the I/O vector area ($0314-$0333) from the table
> which is present from the $FD30 to $FD4F. The table is also put to the RAM
> area under the ROM ($FD30-$FD4F). Btw. Anybody knows why?

this is a bug in the kernel rom :o)

> The problem which this solution is that I/O vector area is 'reset' to
> 'default', but if there is a cartridge installed which depends on the I/O
> vectors 'redirecting' e.g. IDE64 it is snipped off.
>
> My suggestion is to remove the RESTOR call from crt0.s and 'restore' only
> these vectors which are absolutely necessary.

that would however bloat the program to large extend. also if you have such a 
cartridge, you have a reset button.

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-06-12 14:20:06 CEST