BBC BASIC for Windows
« *LOAD address out of range ERROR »

Welcome Guest. Please Login or Register.
Nov 21st, 2009, 09:32am




Pages: 1  Reply Notify Send Topic Print
 thread  Author  Topic: *LOAD address out of range ERROR  (Read 35 times)
19Grumpah42
New Member
Image

member is offline

Avatar




PM

Gender: Male
Posts: 35
xx *LOAD address out of range ERROR
« Thread started on: Nov 1st, 2009, 8:27pm »
Quote

Hello, I'm sure this is very basic! I cannot fathom this HALT and error message...
I am trying to load a 3KBy file as follows. [I plan to use FN_createspritefrommemory(N%, P%, W%, H%) to use it]...

File% =OPENUP (@dir$+"LAN_check.ico")
Ss%=EXT# File%
CLOSE#File%
DIM address% Ss%+1
*LOAD (@dir$+"LAN_check.ico")+STR$~address%+STR$~address%

These are the memory param.s....
address% = h1002503F
LOMEM = h10024406
HIMEM = h10821700
I have 1.42 GBy of RAM available at this time.

Is it the address% which is "out of range"? I have searched here and wiki, and cannot find any help for so basic a problem. shocked

I think my next question will be "How do I get this loaded image into the executable? I know it's possible, all the big guys do that."
--Grahame
User IP Logged

C-2-Q 3GB, C-2-Duo 2GB, both GeForce 9500 GT, . Also an old Pentium-II /Win98SE http/ftp/vnc server (built by IBM, it just won't quit!).
Richard Russell
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 276
xx Re: *LOAD address out of range ERROR
« Reply #1 on: Nov 1st, 2009, 10:54pm »
Quote

Quote:
*LOAD (@dir$+"LAN_check.ico")+STR$~address%+STR$~address%

You're missing some delimiters here (hint: try simply PRINTing the string so you can see exactly what command you are issuing).

It should probably be something like:

Code:
      OSCLI "LOAD """+@dir$+"LAN_check.ico"" "+STR$~address%+" +"+STR$~Ss% 

but if that doesn't work change OSCLI to PRINT and all should be revealed!

Richard.
User IP Logged

Pages: 1  Reply Notify Send Topic Print
« Previous Topic | Next Topic »


New Monthly Ad-Free Plan!

$6.99 Gets 50,000 Ad-Free Pageviews!
| Hookah | Free Shoutboxes |

This Board Hosted For FREE By Conforums ©
Get Your Own Free Message Board!