Search found 150 matches

by DDRM
Fri 19 Apr 2019, 09:40
Forum: BBC BASIC language
Topic: Variable Created At Runtime
Replies: 2
Views: 2122

Re: Variable Created At Runtime

Hi Matt, I'm open to correction here, but my understanding is: In Fnassign, the variable to which the value is to be assigned is passed by reference (because of the RETURN): that is to say, the variable passed in will be directly affected by what happens in the function. When you call FNassign (usin...
by DDRM
Thu 18 Apr 2019, 08:36
Forum: BBC BASIC language
Topic: Establishing the ESC state
Replies: 3
Views: 2644

Re: Establishing the ESC state

Hi Matt, I'd hoped this would be listed on this wiki page: http://www.bbcbasic.co.uk/wiki/doku.php?id=interpreter_20internal_20variables&s[]=variables but unfortunately it wasn't. I tried extending it with this code: FOR x%= 0 TO 1023 *ESC ON n%=?x% *ESC OFF f%=?x% IF n%<>f% THEN PRINT x%.n%,f% *ESC...
by DDRM
Tue 09 Apr 2019, 08:36
Forum: Announcements
Topic: BBCSDL updated again?
Replies: 3
Views: 2951

BBCSDL updated again?

OK, a bit confused...

I was confused by a post on groups.io, which was a late follow-up to an update from 2017, BUT when I checked on Richard's main site

http://www.bbcbasic.co.uk/bbcsdl/

I see that a new version (1.02a) HAS appeared recently (April 4th 2019), so check it out!

Best wishes,

D
by DDRM
Tue 09 Apr 2019, 08:25
Forum: Graphics and Games
Topic: 3D GUI
Replies: 8
Views: 4277

Re: 3D GUI

Hi Ric, Thanks, that downloads fine. I ran the main Graphics GUI 18.3.3, and it looks very impressive! I loaded the ball test - grp object, and could wiggle it around, move it in the visual field. By double-clicking I got all the points up, and could reshape the object by moving nodes, etc. That all...
by DDRM
Fri 05 Apr 2019, 08:00
Forum: Graphics and Games
Topic: 3D GUI
Replies: 8
Views: 4277

Re: 3D GUI

Hi Ric,

It looks like one would need to download quite a number of support files: would it be possible to make a zip file or something with a minimal package that could be downloaded as a single hit? Apologies if it's there and I've missed it....

Best wishes,

D
by DDRM
Fri 05 Apr 2019, 07:54
Forum: BBC BASIC language
Topic: Less Than, Greater Than
Replies: 2
Views: 2351

Re: Less Than, Greater Than

Hi Matt,

In that case, I guess you could use

UNTIL ABS(15-A%)>4

...but I'm not sure it would be significantly faster, and I'm fairly sure it's significantly less clear (and you have to be more careful about boundary conditions), so I'm not sure I'd recommend it.

Best wishes,

D
by DDRM
Fri 22 Mar 2019, 11:13
Forum: Database and Files
Topic: Getting file information
Replies: 3
Views: 3912

Re: Getting file information

Hi Simon, Sorry to be so long getting back on this. With a bit of playing, and help from Richard, I've come up with this, which may help. It's a bit fiddly because some data gets returned in 16 bits, so an integer picks up two, while others are returned in 64 bits, so you need a long integer. Weirdl...
by DDRM
Tue 19 Mar 2019, 08:47
Forum: Interpreters & Run-Time Engines
Topic: Can I Use Another IDE??
Replies: 5
Views: 4431

Re: Can I Use Another IDE??

Hi John, I suspect the issue is that .bbc files are tokenised (see "keyword tokens" and "program storage in memory" in the manual): the keywords are converted to 1 byte values. I think that is what the run-time engine expects, so if you send it a text file it doesn't know how to handle it. I guess y...
by DDRM
Sat 16 Mar 2019, 17:28
Forum: Graphics and Games
Topic: Source code for old BBC Micro games
Replies: 6
Views: 3962

Re: Source code for old BBC Micro games

Hi Colin, I think the point he was making is that you can probably write it in BBC BASIC, and a modern computer will run the code as fast as an old BBC would have run assembled code - so you don't NEED to be able to write 6502 code. Of course, if you are converting an old program, you DO need to be ...
by DDRM
Sat 16 Mar 2019, 17:21
Forum: Database and Files
Topic: Getting file information
Replies: 3
Views: 3912

Re: Getting file information

Hi Simon,

The technique shown in the manual under "Listing the disk directory" should allow you to find what you need?

Best wishes,

D