I can write you an extension for that later today.

Thanks
Daniele
________________________________
From: Ql-Users <ql-users-boun...@lists.q-v-d.com> on behalf of desin via 
Ql-Users <ql-users@lists.q-v-d.com>
Sent: Tuesday, March 19, 2024 12:24 PM
To: ql-us...@q-v-d.com <ql-us...@q-v-d.com>
Cc: desin <de...@vtxmail.ch>
Subject: Re: [Ql-Users] Q-emulator



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
_______________________________________________
QL-Users Mailing List

Reply via email to