Re: LBB much slower than LB in this pgm
Posted: Mon Dec 30, 2019 4:41 pm
Support forum for LB Booster (LBB)
https://lbbooster.com/forum/
On the contrary it makes perfect sense if you assume my theory is correct: that the speed is being deliberately capped to 1000 characters per second. If that's true all rates up to and including 9600 baud will run at the expected speed, and everything above 9600 baud will be capped at the equivalent of 10000 baud irrespective of the selected speed.
Code: Select all
crlf$ = chr$(10);Chr$(13)
baud = 2400
passes=10000
open DefaultDir$;"\baudtst.txt" for output as #out
for xx = 1 to 7
bx = baud/10000
ct=(1000000/baud)*10
print #out, "Baud = ";baud;" ";ct/1000; " ms/char "; ct; " us/char bx/10k = ";bx
print "Baud = ";baud;" ";ct/1000; " ms/char "; ct; " us/char bx/10k = ";bx
''open "com12:115200,n,8,1,ds0,cs0,rs" for random as #serial
open "com12:"+str$(baud)+",n,8,1" for random as #serial
start = time$("ms")
for n = 1 to passes
print #serial, "ABCDEFGHIJKLMNOPQRST"
next n
finish = time$("ms")
nchars = passes * (20 + 2)
tt = finish - start
''print "Baud = ";baud;" ";ct/1000; " ms/char "; ct; " us/char bx/10k = ";bx;chr$(10);Chr$(13)
print #out, "Actual time taken = ";tt ; " milliseconds ";tt/1000; "seconds"
print "Actual time taken = ";tt ; " milliseconds ";tt/1000; "seconds"
print #out,"Expected time for ";nchars;" chars is = "; (nchars *ct)/1000 ; " milliseconds "; (nchars *ct)/1000000;" seconds"
print "Expected time for ";nchars;" chars is = "; (nchars *ct)/1000 ; " milliseconds "; (nchars *ct)/1000000;" seconds"
print #out,"Expected time = "; nchars /bx ; " milliseconds "; (nchars /bx)/1000; " seconds"
print "Expected time = "; nchars /bx ; " milliseconds "; (nchars /bx)/1000; " seconds"
print #out," "
print
close #serial
if baud = 38400 then baud = 28800
baud = baud * 2
next xx
close #out
print DefaultDir$;"\baudtst.txt -----DONE----"
end
I believe the capping is the driver's reaction to detecting a fake chip. I assume I don't see any capping since my adapter has a genuine Prolific device. I can't think of any other reason why speed capping would be applied, since speeds up to 115,200 baud (and sometimes higher) are common and standard. As far as I know, all drivers, CPUs and versions of Windows support those higher speeds, so long as the chip is genuine.