Am 19.03.24 um 19:25 schrieb Daniele Terdina via Ql-Users:
This is correct, thank you Dilwyn! If you'd like to test whether you are running on the Q-emuLator-specific version of SMSQ/E (file named SMSQ_QEM, that can only run on Q-emuLator), you can use MACHINE and check for code 26. On any version of QDOS or SMSQ/E, you can test whether you are running on Q-emuLator by setting D0=-26 (notice the minus sign), D1=1 and calling TRAP #1. On return, if the error code (in D0) is zero and D1.B is 1, you are running on Q-emuLator.
Thanks Daniele but how do it in basic ? Background A boot file that runs on most systems (native/emulated) on Q-emulator it must check what version of SMSQE is necessary Greetings from Switzerland Markus _______________________________________________ QL-Users Mailing List
