[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving binary files to /RAM
- Subject: Re: Moving binary files to /RAM
- From: "Laine Houghton" <laine_h@yahoo.com>
- Date: 2 Feb 2005 13:14:53 -0800
- Complaints-to: groups-abuse@google.com
- In-reply-to: <1gr88vg.1mehugmkahvkN%email@DELETE_THIS.luddite.no-ip.com>
- Injection-info: c13g2000cwb.googlegroups.com; posting-host=4.227.233.254; posting-account=OzxWYgwAAADLz-DJYQ1SqSYLEOVrUFN2
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com
- References: <1gr4l27.10w3ygd1bycnoyN%email@DELETE_THIS.luddite.no-ip.com> <10vngq9175mp5e5@corp.supernews.com> <1gr5fun.1pixfg1vgp896N%email@DELETE_THIS.luddite.no-ip.com> <10vo7oktk9co5c0@corp.supernews.com> <1gr5zon.d2hs7hoiep0yN%email@DELETE_THIS.luddite.no-ip.com> <10vr1sftgit59c6@corp.supernews.com> <1gr88vg.1mehugmkahvkN%email@DELETE_THIS.luddite.no-ip.com>
- User-agent: G2/0.2
- Xref: g2news1.google.com comp.sys.apple2:7911
Simon Williams wrote:
> Laine Houghton <laine@intergate.com> wrote:
>
> > I did a test saving blocks of 1's 2's 3's......... 3072 bytes
just as the
> > program would do. The 12's representing the 12'th file ends right
at $BFFF
> > The 13'th to 16'th files would be contained in the bank 1 bank 2
and beyond
> > memory.
> >
> > I'm guessing that the bank switching overhead introduces an
unavoidable
> > delay that a program such as yours is sensative to.
>
> I'm actually surprised it's that much of a delay, though I'll admit I
> have no idea how memory actually works ;-)
> Presumably then, this would still be an issue were I to write an
> assembly routine to handle the file moving.
>
This kind of dawned on me. The /ram driver is contained in main memory
bank1.
When it comes time to retrieve Aux memory from bank1 you can't use the
driver from bank1 so some code moving is going to have to happen first.
Perhaps that is the delay.