I did that on Virtual T and V returned 0.

On Wed, 6 May 2026 at 16:00, Kenneth Pettit <[email protected]> wrote:

> I assumed that might be your choice. :)
>
> Ken
>
> On 5/6/26 12:07 PM, John R. Hogerhuis wrote:
>
> Hmm maybe I'll take C for cloudt
>
> On Wed, May 6, 2026, 11:57 AM Kenneth Pettit <[email protected]> wrote:
>
>> VirtualT has a special port implemented you can read to know you are
>> running on VirtualT.  If you execute:
>>
>> Assembly:
>>    IN 20H
>>
>> Basic:
>>    V=INP(32)
>>
>> It will return ASCII 'V" on VirtualT and not 'V" (maybe zero or 0xFF) on
>> anything else.
>>
>> Ken
>>
>> On 5/6/26 7:32 AM, John R. Hogerhuis wrote:
>>
>> Well iirc cloudt emulates a t102.
>>
>> There probably is some way to detect that you're running a specific
>> emulator but it's nothing durable.
>>
>> We could dedicate an I/o address or something.like that.
>>
>> -- John.
>>
>>
>>
>> On Wed, May 6, 2026, 7:18 AM Douglas Quagliana <[email protected]>
>> wrote:
>>
>>> All,
>>>
>>>    How can I programatically determine which hardware machine model or
>>> which emulator the code is running on?  Ideally this should be able to
>>> identify Model 100, Model 102, Model 200, VirtualT, or VirtualVanessa.
>>>
>>> Thanks,
>>> Douglas
>>>
>>>
>>
>

Reply via email to