Search found 147 matches

by badaman
Wed May 15, 2024 5:00 pm
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 15
Views: 387

Re: Dynamic program loading in SuperBASIC

Hi, I tried adding unumbered line with MRUN to a numbered programme. BUt on QPC2, Q68, SMSQmulator, the sysem is going so fast the SBASIC is loaded and no counter can be seen, only a flash of the status loading bar. This gives a new meaning to the definition of "shadow loading" for cases ...
by badaman
Wed May 15, 2024 4:58 pm
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 15
Views: 387

Re: Dynamic program loading in SuperBASIC

bwinkel67 wrote: Wed May 15, 2024 12:18 pm I added a twirling clock to minesweeper program and it works really well:
Great!
by badaman
Wed May 15, 2024 9:18 am
Forum: Software & Programming
Topic: Dynamic program loading in SuperBASIC
Replies: 15
Views: 387

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: 15
Views: 387

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: 15
Views: 387

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: 15
Views: 387

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: 15
Views: 387

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: 6045

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: 15
Views: 387

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: 15
Views: 387

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...