Search found 145 matches

by badaman
Wed May 15, 2024 9:18 am
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Re: Dynamic program loading in SuperBASIC

As the QL does not know the number of lines in the listing until it is fully loaded using a similar mechanism could not be programmed too easily. However, a ROM routine could be incorporated within the LOAD routine to calculate the % loaded based on the byte size of the program / bytes loaded. The ...
by badaman
Wed May 15, 2024 9:09 am
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Re: Dynamic program loading in SuperBASIC

I was looking for a name to refer to this method, and today, in the Spanish forum they proposed "shadow loading". If you can think of another possibility, I would like to know about it.
by badaman
Wed May 15, 2024 8:27 am
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Re: Dynamic program loading in SuperBASIC

Derek_Stewart wrote: Wed May 15, 2024 7:14 am Hi

Great idea, just need this added to part of the QL ROM, or assembler extension.

so that no extra programming lines have to be added.
Are you talking about implementing a routine in the system that shows, by default, a load percentage for the programs?

How would it be?
by badaman
Tue May 14, 2024 7:43 pm
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Re: Dynamic program loading in SuperBASIC

That is indeed a very interesting finding - I had not realised that lines without line numbers are executed as soon as the loading process reaches that line. The discussion on the Spanish forums is well worth a read and the uploaded video shows it in action: https://www.youtube.com/watch?v=Ppv3Ued5...
by badaman
Tue May 14, 2024 7:31 pm
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Re: Dynamic program loading in SuperBASIC

I suppose it depends on not adding too many "progress" lines in between lines of SuperBASIC so as not to have too much effect on loading times. Correct. It is "useful" for programs with many lines, where the loading time is long, or, for example, when reading _bas files from a m...
by badaman
Tue May 14, 2024 12:21 pm
Forum: General QL Chat
Topic: Anouncement for the 40th Anniversary of the Sinclair QL in Dormagen (Germany)
Replies: 35
Views: 5999

Re: Anouncement for the 40th Anniversary of the Sinclair QL in Dormagen (Germany)

This meeting is going to be exciting, and seems full of news. Enjoy a lot! And document it :)
by badaman
Mon May 13, 2024 3:26 pm
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Re: Dynamic program loading in SuperBASIC

Interesting what you say. What I explain in the link is something else, and is only used for loading programs in SuperBASIC. It is easy to calculate the charging progress. If a program has 100 lines, and we want to show the progress of the load every 10%, it is enough to put a PRINT instruction ever...
by badaman
Sun May 12, 2024 11:18 pm
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 13
Views: 339

Dynamic program loading in SuperBASIC

Can you imagine that your SuperBASIC program could show a progress bar while it is loading with LOAD or LRUN, or show the user how long it took to load this program using only SuperBASIC, without needing any extension? These are some of the things that we can achieve with the method that I explain h...
by badaman
Sat May 11, 2024 9:57 am
Forum: Software & Programming
Topic: QSTAR 2
Replies: 22
Views: 593

Re: QSTAR 2

Well done! And that it is translated into Spanish is a plus for our community. Thank you!
by badaman
Sat May 04, 2024 12:46 am
Forum: QL Emulation
Topic: sQLux v1.0 (The Xmas Turkey)
Replies: 259
Views: 88639

Re: sQLux v1.0 (The Xmas Turkey)

Badaman - can you set SQLux in 512x25 pixels resolution and post a screen copy? Maybe it's just an artefact introduced by the scaling routine on SQLux.
The problem persists at that resolution. The parameters used in the emulator are:

WIN_SIZE = 1x
FIXASPECT = 0
FILTER = 0