On Thu, Dec 03, 2009 at 03:59:02PM -0500, Mark J. Reed wrote: > On the C128 target, does cc65 take advantage of the second 64KB memory > bank? No. Cititation from the "c128.html" document: cc65 generated programs with the default setup run with the I/O area and the kernal ROM enabled. [...] The setup gives a usable memory range of $1C00 - $BFFF. Having just the kernal ROM mapped in means, that kernal entry points may be called directly, but using the BASIC ROM is not possible without additional code. > Is there support for accessing it from C (other than inserting > assembly directives with explicit calls to INDFET/FETCH and > INDSTA/STASH)? There is an extended memory driver that allows to use the memory in the second bank. The API is (more or less) described in the function reference: http://www.cc65.org/doc/funcref-18.html The em.h header file does also contain some information. > If there's doc that explains this somewhere, I apologize for missing > it; please point me in the right direction. Maybe the c128 specific doc file is what you want: http://www.cc65.org/doc/c128.html C128 specific functions are listed in the function reference: http://www.cc65.org/doc/funcref-9.html The c128.h header file does also contain some information. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Dec 3 23:06:04 2009
This archive was generated by hypermail 2.1.8 : 2009-12-03 23:06:07 CET