[cc65] 65816 (Was: Inserting Assembly Routines)

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-11-28 14:11:40


>>>>> "UvB" == Ullrich von Bassewitz <uz_at_musoftware.de> writes:

UvB> But adding a simple form of support for 65816 based systems would
UvB> be rather easy: Use a 64KB data space and pack the DATA, BSS and
UvB> RODATA segments and the parameter stack into this space. This
UvB> would be supported directly by the 65816 architecture using the
UvB> DBR register.

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.

So the linker would just accept overlapping segments?

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
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 14:12:25 CET