[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving binary files to /RAM



Laine Houghton <laine@intergate.com> wrote:

> "Simon Williams" <email@DELETE_THIS.luddite.no-ip.com> wrote in message
> news:1gr4l27.10w3ygd1bycnoyN%email@DELETE_THIS.luddite.no-ip.com...
> > Is there a [hopefully simple] way to load BIN files from disk and then
> > save them to /RAM in Applesoft?
> >
> 
> By SAVE I assume you mean move.
> 
> 10 D$=CHR$(4)
> 20 PRINT D$; "BLOAD  /DISK/BIN"
> 30 PRINT D$;"BSAVE  /RAM/BIN, A$XXXX, L$XXXX"

<snip>

Thanks Laine, I was trying to do this without specifying the start
address and length, which just gives a PATH NOT FOUND error.

As a follow-up question, is there a way to first delete any existing
files from /RAM in Applesoft?

-- 
._____.
|[LD8]! SIMON WILLIAMS :: LUDDITE ENTERPRISES UNLIMITED
| (O) | 68K MACINTOSH SERVER   http://luddite.no-ip.com
!__!__! FAILURE RECORDS http://failurerecords.no-ip.com