Re: [cc65] Atari Extended Memory Driver Anybody?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-08-10 23:20:56
On Fri, Aug 10, 2012 at 03:55:55PM +0200, Oliver Schmidt wrote:
> - The routine hits $D301 twice for every single byte implementing a
> byte-per-byte transfer from/to the "soft window". Something like the
> below (using 19 bytes)
>
> 1:ldy #$..
> sty $D301
> lda $....,x
> ldy #$..
> sty $D301
> sta $....,x
> dex
> bne 1
> rts

You will probably need to disable interrupts while the memory layout is
changed, but the general idea is good. 

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 Fri Aug 10 23:21:05 2012

This archive was generated by hypermail 2.1.8 : 2012-08-10 23:21:08 CEST