RE: [cc65] Atari Extended Memory Driver Anybody?

From: Shawn Jefferson <>
Date: 2012-09-12 02:29:26

> From: [] On Behalf
> Of Oliver Schmidt
> Talking about optimizations: Judging from this in your 130XE driver
> "@4:     jsr     STACK                   ; copy one byte" it seems
> that you call to the stack routine for every byte on copyfrom and
> copyto. Is there a sepcific reason why you don't do the copy in that
> scenario page by page (similar to the map/commit scenario) with the
> last page potentially being a partial page? I must admit I haven't
> fully understood the source - I more or less just saw your comment...

I originally intended on doing that, but there were some complications... so
I chose this method which seems to work fairly well, while still minimizing
the size of the code that has to sit in the stack.

If you want to optimize the driver by redesigning the code flow, please do!
I won't be offended. :)

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 12 02:29:42 2012

This archive was generated by hypermail 2.1.8 : 2012-09-12 02:29:46 CEST