Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #6209

Re: Getting extra memory

From Steve Drain <steve@kappa.me.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Getting extra memory
Date 2020-11-04 17:38 +0000
Organization Aioe.org NNTP Server
Message-ID <rnuovq$107c$1@gioia.aioe.org> (permalink)
References <58ca210e71bob@sick-of-spam.invalid>

Show all headers | View raw


On 04/11/2020 12:47, Bob Latham wrote:
> I'm trying to load a largish file up to 7M in size into memory, make
> some changes to it and save it out again.
 >
>             MOV R0,#16
>             ADR R1,Fname1
>             ADR R2,workspace
>             MOV R3,#0
>             SWI "OS_File"; load file
> 
> error on the file load: Abort on data transfer at &FC1AD8E8.
> But the file does load and save.

I am puzzled, probably from a shortage of information. Where is 'workspace'?

If you are calling this code from BASIC I would assume you are loading 
the file above HIMEM. Therefore there would have to be code to find 
that. Then you must account for the fact that HIMEM is an absolute 
address but Wimp_SlotSize is for the memory in the application slot 
above &8000. Is that any help?

Perhaps you could claim a dynamic area more simply. ;-)

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 12:47 +0000
  Re: Getting extra memory Martin <News03@avisoft.f9.co.uk> - 2020-11-04 13:17 +0000
    Re: Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 13:48 +0000
      Re: Getting extra memory Martin <News03@avisoft.f9.co.uk> - 2020-11-04 17:23 +0000
        Re: Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 18:04 +0000
          Re: Getting extra memory Martin <News03@avisoft.f9.co.uk> - 2020-11-04 18:44 +0000
            Re: Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 22:03 +0000
      Re: Getting extra memory druck <news@druck.org.uk> - 2020-11-04 18:06 +0000
        Re: Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 18:33 +0000
  Re: Getting extra memory Steve Drain <steve@kappa.me.uk> - 2020-11-04 17:38 +0000
    Re: Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 18:11 +0000
      Re: Getting extra memory Bob Latham <bob@sick-of-spam.invalid> - 2020-11-04 18:32 +0000

csiph-web