Re: Support for older Euphoria programs? And porting DOS->Windows?
- Posted by Insolor May 03, 2011
- 1850 views
SDPringle said...
Isolar, why did you mark sound() as a stub. It does everything the DOS version did.
sound() is not a stub, but it works different from it's DOS equivalent. Try this code with dos_rescue and dos32:
-- include dos_rescue.ew -- uncomment it for Win32 -- include graphics.e -- uncomment it for DOS sound(1000) for i = 1 to 1000000000 do end for sound(0)
DOS version of the given procedure will produce very long beep, while the version form the dosrescue will produce single short beep. I have no ideas how to make them work alike.
Now I have made few more bug fixes and improvements (such as optimized scroll() that works fine even on an old 1.66 MHz machine), so I will upload the newer version of the library soon.