Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2385

8-bit acorn software: other • Re: file won't run in ADFS (BeebFAX)

$
0
0
Hi Brian,

Line 440 calls OSGBPB at &FFD1. A%, X%, and Y% have to be used since CALL uses them to set the values of the A, X and Y registers. In any case they are LOCAL so are preserved.

Is the file “Data” being opened? If not file% will be zero and thus the channel error.

You could try moving the control block on line 440, e.g. X%=&6800.

On line 130 try taking the CLOSE#0 out.

You said you added a way to exit the program: You should close the data file, e.g. IF file%>0 CLOSE#file%.
Hi Martin ,

back to your non 100% BASIC version again. I have tried everything you suggested
above but keep getting this error.
MVIMG_20240827_194155.jpg
Line 440 has those LOCAL variables A%,X%,Y%
as you say but these same variable are used in the Host program or it's ROM so could that be an issue
despite them being defined as LOCAL?

Also on Line 110 there is a line

Code:

IF ?&4001<>&15 then *Load !BOOT 4000
can you explain why !BOOT is loaded in at that area?

cheers

Statistics: Posted by brianmartin_2001 — Tue Aug 27, 2024 7:57 pm



Viewing all articles
Browse latest Browse all 2385

Trending Articles