Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6213
| From | Bob Latham <bob@sick-of-spam.invalid> |
|---|---|
| Subject | Re: Getting extra memory |
| Newsgroups | comp.sys.acorn.programmer |
| Message-ID | <58ca40954abob@sick-of-spam.invalid> (permalink) |
| References | <58ca210e71bob@sick-of-spam.invalid> <rnuovq$107c$1@gioia.aioe.org> <58ca3eaab3bob@sick-of-spam.invalid> |
| Organization | None |
| Date | 2020-11-04 18:32 +0000 |
In article <58ca3eaab3bob@sick-of-spam.invalid>, Bob Latham <bob@sick-of-spam.invalid> wrote: > In article <rnuovq$107c$1@gioia.aioe.org>, > Steve Drain <steve@kappa.me.uk> wrote: > > 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. ;-) > I rather suspect you're on the nail Steve. > In the light of those thoughts I need to have a look and think. All fixed now. It was HIMEM it just didn't cross my mind. It explains why it was the Basic module that was moaning. Thanks Steve. Cheers, Bob. -- Bob Latham Stourbridge, West Midlands
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar | Unroll 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