Re: [cc65] Extended memory

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2002-11-20 21:51:25


Hello Ullrich,

Wednesday, November 20, 2002, 3:55:53 PM, you wrote:

UvB> Are there any other known memory expansions out there, that do not map into
UvB> this scheme?

the action-replay/retro-replay ram maps in in the $8000-$a000 area,
and you then can select multiple 8k banks in that range... i guess a
possible support-routine for cc65 must be made sure to operate below
$8000 only (simelar to the floating-point routines i made, since they
use the basic rom)

btw is there a way to tell the linker that a certain module has such
requirements, other than placing it (for example) first in link order?
i thought some sort of section attribute or whatever to tell the
linker to put modules "at beginning" or "at end" of a certain section
could overcome this issue in a quite flexible way. (and it shouldnt be
much of a problem to implement either.... even less if you consider
the "at end" attribute to be rather useless and leave it out)

anyway, just an idea... could be quite useful for certain other
wrappers that call routines from basic-rom (or, from mapped in
cartridges for that matter)...possibly also useful for other targets
that have banked memory (ram under kernal-rom and such)

UvB> If anything else fails, it would even be possible to use disk swapping,
UvB> because the 256 byte window maps nicely to the commonly used sector sizes (128
UvB> and 256 bytes).

i'd be quite curious about that ;=)

anyway.......gotta work on getting that snapshot uploaded (that
testsuite still shows some probs with longs vs ints it seems ;/)
......

btw is there a reason for not having a toplevel makefile for easy
doing the usual "make all install" thing? :) if the answer is the same
as for the (formerly ;=P) missing file i/o, i can post what i hacked
up for myself now :=)

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
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-20 21:51:49 CET