Roydea6 Posted September 4, 2019 Share Posted September 4, 2019 380 IF PEEK(20)>250 THEN ? "+"; This is what I have tried but doesn't look good. This is also counting over 900 files to add to program. The plus signs '+' show in groups of three (3). And displays 5-6 groups before program starts. I also want to keep the wait prompt to one graphics 0 36 character line. I have tried other characters and the plus sign was the best looking for me. Quote Link to comment Share on other sites More sharing options...
Rybags Posted September 4, 2019 Share Posted September 4, 2019 If you know how many files are being read or whatever, then how about a countdown instead? You can lower CPU load by doing a custom display list which has just 1 or 2 text lines instead of 24. You can speed up Basic repetitive operations by putting those parts near the beginning of the program. You can speed up some file operations with assembler routines. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted September 6, 2019 Share Posted September 6, 2019 You need to set an additional flag every time the condition is true and clear it when it is false. The flag will prevent multiple symbols being printed while the condition is true (which is what's happening currently). You'll need a separate counter which counts max items/36 before displaying another symbol. This kind of control is usually called a progress bar. 2 Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted September 7, 2019 Share Posted September 7, 2019 Here's a clever way: SCR=PEEK(19) +256*PEEK(20) Increase the variable COUNT by 1,like this: COUNT=COUNT+1: POKE SCR+COUNT, [screen code for +] 1 Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted September 8, 2019 Author Share Posted September 8, 2019 I have stopped trying to get a progress bar using the time peeks and decided on something like this.. ? " Press START" POS. 15,18:? COUNT And the file count variable goes to the line # for counting. This shows visually on screen plus I can guess how long till my programs starts. And don't have to worry about it having crashed. Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted September 9, 2019 Author Share Posted September 9, 2019 (edited) An example of my wait prompt (Progress Bar) is gone. Edited November 22, 2019 by Roydea6 file is cluttering up my dropbox storage. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted September 12, 2019 Share Posted September 12, 2019 You could count down to 0 instead; then the user doesn't have to guess at what point the timeout elapses. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.