Thanks for jumping in Tobias.XorA wrote:tofro wrote:Yep.XorA wrote: Would bad param be -15 by any chance?
I think that's the point. I tried to configure sqlux.ini for serial ports under Windows but I was unable to make it work or make any difference for BAUD.XorA wrote: uQLx codebase returns that when there are no serial ports, on Windows port you can never have any serial ports. On linux you probably need to configure them.
Yes and no. Since day one (12.01.1984) all QL systems always accepted BAUD 9600, no matter if their serial ports were working, broken or even absent. TDESK assumed in good faith that BAUD 9600 never return an error. And it worked that way since 1988. Sure, TDESK could be amended, but I really hoped that I had ultimately closed development of the version 1 codebase way back in summer 1995.XorA wrote: But if TDESK is exiting due to this it is a bug in TDESK and not the emulator!
Being Swiss, here my compromise proposal :
1. I open the QTop version 1 codebase sometime in 2022, change the way BAUD is handled (and maybe do some other changes, damn I never wanted to dig out the list of pending changes and improvements) plus compile it with the latest version of the TURBO compiler. The result will be included in QL/E v3.22 (tba).
2. Graeme amends sQLux in a way, that when no serial ports are available or supported (e.g. Windows version of sQLux), that then BAUD does not return any error. This to emulate a Sinclair QL more precisely. The result will be good for all QL programs invoking BAUD.
Deal?
Have a great day,
Urs