Re: [cc65] 65816 (Was: Inserting Assembly Routines)

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-11-28 16:17:13


On Thu, Nov 28, 2002 at 02:11:40PM +0100, MagerValp wrote:
> But not in emulation mode, and if you switch to native mode you need
> to implement your own irq handlers and a few other things. Not
> impossible of course, but a bit more work than just setting DBR.

As long as the 816 code does not switch register sizes, it does not need a
special handler. And even if it does, a simple

        IRQ816: rep     #$30
                jmp     IRQ

would be enough.

> So the linker would just accept overlapping segments?

Memory areas may overlap, and so may the segments contained in these memory
areas. Otherwise overlays and banking would be impossible.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2002-11-28 16:17:17 CET