Re: [cc65] Apple 2 Memory Issues

From: Joseph Rose <rose.joseph121yahoo.com>
Date: 2011-04-25 20:01:28
I understand that I can use the em libraries.  You're right about the compatibility issues, also.  I built Hidden 64 because I thought it would be more direct and perhaps more efficient as well.  It helped with my text adventure. :)

From: Ullrich von Bassewitz <uz1musoftware.de>
To: cc651musoftware.de
Sent: Friday, April 22, 2011 10:01 AM
Subject: Re: [cc65] Apple 2 Memory Issues


On Fri, Apr 22, 2011 at 05:53:37AM -0700, Joseph Rose wrote:
>    I want to program for he Apple 2 Enhanced and am wondering how much RAM I
>    can get for my software under the default configuration.  I also want to
>    port Hidden 64 to the Apple 2 and want some info on the web regarding
>    Apple 2 assembler.  Any suggestions would be appreciated.

Why not use the extended memory drivers already available?

They are already there, available for and portable accross several platforms,
and they support many different extended memory types. For the C64 for
example, if you use the em API, your program will support out of the box:
The RAM beneath the ROMs, GeoRAM, the REU, the RAM from several lesser known
extension cards and you can even use the additional RAM of the DTV if your
program happens to run on one.

Drivers are loaded at runtime, so your program can just load the driver it
needs and still support many extended memory types. This does also mean that a
user can just replace the driver and doesn't need to recompile the program in
case he wants to support another memory extension.

If you had used the em API instead of "inventing" Hidden64, you could just use
the readily available em driver for the Apple. No need to port anything. And
if there's really a platform where a driver is missing, it would be a better
idea to write a matching driver instead of writing an incompatible library.

Just my opinion ...

Regards


        Uz


P.S.: A description of the extended memory functions can be found here

        http://www.cc65.org/doc/funcref-18.html

-- 
Ullrich von Bassewitz                                  uz1musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo1musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Apr 25 20:01:43 2011

This archive was generated by hypermail 2.1.8 : 2011-04-25 20:01:46 CEST