|
Apologies if I seem to be conducting a
conversation with myself here but I would welcome some input from others,
especially if they could test this out on other hardware.
TIMER_FRAMES_BAS is essentially as
follows:
LRESPR timing_code
100 REMark QL Timer routines - frame counter
110 REMark for QL World DIY Toolkit May 1989 120 T_ON : t=DATE 130 REPeat poll : IF DATE>t : EXIT poll 140 T_START : t=t+1 150 REPeat poll : IF DATE>t : EXIT poll 160 T_STOP 170 PRINT T_COUNT;" frames per second." As stated above, on QL2K this produces a count of 24
frames/sec.
However, if I insert a PAUSE 1 instruction within the loop at
line 150 it produces a (?correct) count of about 50! Why? Presumably,
something about the way QL2K handles the frame counter and prevents it from
updating.
If anyone is willing to test this elsewhere I can forward a
copy of the relevant section of DIY Toolkit as supplied to me by Rich Mellor,
although the whole package is available at http://romblon.dbs.informatik.uni-muenchen.de/~krojer/ql/diytk.zip.
Regards
Stephen
--- -- Outgoing mail is probably Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.484 / Virus Database: 282 - Release Date: 27/05/2003 |
- [ql-users] QL S*Basic : Time wait routine. Jimmy MONTESINOS
- Re: [ql-users] QL S*Basic : Time wait routine. RWAPSoftware
- RE: [ql-users] QL S*Basic : Time wait routine. Jimmy MONTESINOS
- Re: [ql-users] QL S*Basic : Time wait routine. Stephen Meech
- Re: [ql-users] QL S*Basic : Time wait routine. Stephen Meech
- Re: [ql-users] QL S*Basic : Time wait routin... Stephen Meech
- [ql-users] is minus one = -1? Stephen Meech
- [ql-users] is minus one = -1? P Witte
- Re: [ql-users] is minus one = -1? Robert Newson
- Re: [ql-users] is minus one = -1? Marcel Kilgus
- Re: [ql-users] is minus one = -... P Witte
- Re: [ql-users] is minus one = -... TonyTebby
- Re: [ql-users] is minus one... Marcel Kilgus
- Re: [ql-users] is minus one... Dilwyn Jones
- Re: [ql-users] is minus one... Marcel Kilgus
- Re: [ql-users] is minus one... P Witte
