Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Wed, 04 Nov 2020 11:23:26 -0600 From: Martin Subject: Re: Getting extra memory Newsgroups: comp.sys.acorn.programmer Date: Wed, 04 Nov 2020 17:23:18 +0000 (GMT) Message-ID: <58ca3a4a89News03@avisoft.f9.co.uk> References: <58ca210e71bob@sick-of-spam.invalid> <58ca23d0f5News03@avisoft.f9.co.uk> <58ca26a060bob@sick-of-spam.invalid> User-Agent: Pluto/3.18 (RISC OS/5.28) NewsHound/v1.52-32 Organization: None Lines: 38 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-QQUiLRL81SROTaqNbgQHkEcnme3P/yqtShS9GG+Sxn8DuHRi8qgFXQ0TI2sWbwWzpDawuLdDnJvxYtz!/o5l+ldYoI6sgMQMN4piiE3rktec4YlZWZkMZJWzQjbm73fgoVcDQvNhiTx3rG6wIqOTwslghT3O!s/w= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2328 Xref: csiph.com comp.sys.acorn.programmer:6208 In article <58ca26a060bob@sick-of-spam.invalid>, Bob Latham wrote: > In article <58ca23d0f5News03@avisoft.f9.co.uk>, > Martin wrote: > > In article <58ca210e71bob@sick-of-spam.invalid>, > > Bob Latham wrote: > > Not sure what, if or how you have set workspace. > It starts out as just the "next" slot 640K. So how is the expression 'workspace' set to &8000+next ? > > I am not sure why you are resorting to assembler, when you could > > do it in BASIC quite easily. > 1. For the speed. The time will be largely spent in OS_File for load and save, which is the same in Basic & assembler. > 2. This is for pleasure, I like assembler. Always my first choice > unless I need chunky maths then I'm forced into Basic. Aaah! It was not clear you are a masochist :-)) [snip simple BASIC] > Thanks for that. I can see that may well be the sensible way but I > do want to understand why my assembler code errors. Have you looked at the output from the *Showregs command? And checked what code the abort is in (eg with *Where) It in BASICVFP in this 5.28 ROM, but yours is probably different. -- Martin Avison Note that unfortunately this email address will become invalid without notice if (when) any spam is received.