RECALL and anything else at the same time?
Posted: Thu Jun 18, 2009 4:27 pm
Is there anything that I could do in order to enhance the "beauty" of the following program;
(This is an example, FIRST part of the program)
10 CLS
20 DIM A$(500)
30 FOR S=0 TO 500
40 A$(S) = "Example text"
50 NEXT S
60 STORE A$,"FILE.TAP"
70 END
Now, when I want to "RECALL" the "FILE.TAP", I would do the following;
(Example, SECOND part of the program)
10 CLS
20 DIM A$(500)
30 RECALL A$,"FILE.TAP"
40 ...
Note that in the SECOND example, at the line of 30 (where RECALL statement is executing) a program remains waiting for a rather long time period (a couple of seconds).
So, my goal is to attempt to do any kind of LORES or TEXT animation on screen (during this very time while the RECALL is doing it's job).
Now, my question is:
Is there anything that I could do (from within the BASIC programming!) in order to have two jobs executing at the same time:
- the execution of the RECALL, and
- the display animation of any kind (in TEXT or LORES mode)?
As far as I know, the program given in the SECOND example will just remain "stuck" until the RECALL is finished it's job, so I cannot think any idea that would enable some screen animation during THAT TIME period (during the "RECALL").
Any ideas? If possible from within the "BASIC" programming??
Best regards
Brana
(This is an example, FIRST part of the program)
10 CLS
20 DIM A$(500)
30 FOR S=0 TO 500
40 A$(S) = "Example text"
50 NEXT S
60 STORE A$,"FILE.TAP"
70 END
Now, when I want to "RECALL" the "FILE.TAP", I would do the following;
(Example, SECOND part of the program)
10 CLS
20 DIM A$(500)
30 RECALL A$,"FILE.TAP"
40 ...
Note that in the SECOND example, at the line of 30 (where RECALL statement is executing) a program remains waiting for a rather long time period (a couple of seconds).
So, my goal is to attempt to do any kind of LORES or TEXT animation on screen (during this very time while the RECALL is doing it's job).
Now, my question is:
Is there anything that I could do (from within the BASIC programming!) in order to have two jobs executing at the same time:
- the execution of the RECALL, and
- the display animation of any kind (in TEXT or LORES mode)?
As far as I know, the program given in the SECOND example will just remain "stuck" until the RECALL is finished it's job, so I cannot think any idea that would enable some screen animation during THAT TIME period (during the "RECALL").
Any ideas? If possible from within the "BASIC" programming??
Best regards
Brana