This is a speed bench mark to see how the QB compiler compares
with the QB interpreter. I toggled the printer port when the program
started and ended.
See the QB source file below.
FOR X = 1 TO 100 :NEXT
225 usec interpreted
475 usec compiler!!! What ??? In this example the interpreter was
faster for some strange reason.
I suspect there is a lot of initialization code for the stand alone
compiled program.
In any event the interpreter is plenty fast enough as you have 8,000 usec at
7500 RPM to run all your programs. Fast enough for timed fuel injection but
we don't need that. Batch injection will work fine.
This mother board is several years old. New Micro ATX MB's are probably
twice as fast.
What is truly wonderful is I can pull the DOS boot USB stick out of the
DOS computer
and plug it into my Mint Linux computer and read and write on it. It
would do the
same thing on Windows 7 or below. I think :)
Did you ever see a DOS computer with 2 Gig free on the hard drive? :)
This is the first time in my life. DOS was limited to 100 meg drives as
I recall.
-------------------------------------------------------
Here is the bench mark program.
ON KEY(1) GOSUB fish 'F1 key
KEY(1) ON
start:
OUT 888, 1 'toggle bit 0 printer port
FOR x = 10 TO 1000: NEXT x 'count to 1000
OUT 888, 0 'toggle bit 0
GOTO start
fish:
END
-------------------------------------------
Be sure to save your QB source files as plain text.
I am really jazzed about this approach to EFI/EFIS. The DOS USB support
put it over the hump.
Paul Lamar
The Rotary Engine News Letter. Powered by Linux.
ACRE NL web site.
http://www.rotaryeng.net
You Tube
http://tinyurl.com/beqqxas
Copyright 1998-2013 All world wide rights reserved.