Re: OidZone and Crash Course update
BP>---------------------- Information from the mail header --------------------
BP>Sender: Euphoria Programming for MS-DOS <EUPHORIA at
MIAMIU.ACS.MUOHIO.ED
BP>Poster: Bob Paddock <bpaddock at EXECPC.COM>
BP>Subject: Re: OidZone and Crash Course update
BP>----------------------------------------------------------------------------
BP>>I just tried Peter Blue's Space Invaders at 5000 ticks/sec on a 486 DX-50,
BP>>and things ran fine under DOS 6.2 or Win 3.1.
BP>>Then I changed it to 50000/sec and the program ran correctly, but at an
BP>>*extremely* slow speed.
BP>Some thing to do with sign extension after 32767?
if the timer routine takes in signed argument values, then yes, it
could be. If you cast from unsigned int (0-65535) to a signed int
(-32768 --32767) the values higher than 32767 will not correspond (the
first bit of the number either means a sign or 32768) That is why 50000
turns into -17232.
|
Not Categorized, Please Help
|
|