Re: [Freedos-devel] Detecting VMs

2022-10-26 Thread Jerome Shidel
Hi, > On Oct 26, 2022, at 3:11 PM, Robert Riebisch wrote: > > Hi Jerome, > >> Without going into great details, I have made a couple programs that >> can do some (i think) neat visual tricks that require VGA support. One >> such visual trick works on nearly all REAL hardware and in DOSBox. >> H

Re: [Freedos-devel] Detecting VMs

2022-10-26 Thread Robert Riebisch
Hi Jerome, > Without going into great details, I have made a couple programs that > can do some (i think) neat visual tricks that require VGA support. One > such visual trick works on nearly all REAL hardware and in DOSBox. > However, it does not work in any other tested VM. Therefore testing for

Re: [Freedos-devel] Detecting VMs (was: Bonus/Devel CD)

2022-10-26 Thread Ralf Quint
On 10/26/2022 7:43 AM, Danilo Pecher wrote: Since thengraphics cards of VMs are, as far as I'm aware generally VESA compatible, unless you specifically decide not to use one in qemu or bochs, you should have a relatively high hitrate by using the 4Fh interrupt to query the VESA info. In the case

Re: [Freedos-devel] Detecting VMs (was: Bonus/Devel CD)

2022-10-26 Thread Danilo Pecher
Since thengraphics cards of VMs are, as far as I'm aware generally VESA compatible, unless you specifically decide not to use one in qemu or bochs, you should have a relatively high hitrate by using the 4Fh interrupt to query the VESA info. In the case of Virtualbox/VMWare, you'll definitely find o

Re: [Freedos-devel] Detecting VMs (was: Bonus/Devel CD)

2022-10-26 Thread Bret Johnson
> It also has a general Emulation detection. But, that rarely detects > a generic VM. AFAIK, it's not possible to detect a generic VM, though I think when I get done with what I'm doing I can come pretty close. In your case, though, it sounds like you actually need that capability for your VGA

Re: [Freedos-devel] Detecting VMs (was: Bonus/Devel CD)

2022-10-26 Thread Jerome Shidel
> On Oct 25, 2022, at 11:24 PM, Bret Johnson wrote: > >> Jerome's V8Power Tools will detect some VMs, IIRC: > > Yes, I checked that out. In the version I looked at, it detects 3 different > VMs all using the same method (looking for a specific identification string > in BIOS memory). That

Re: [Freedos-devel] Detecting VMs (was: Bonus/Devel CD)

2022-10-26 Thread Jerome Shidel
> On Oct 26, 2022, at 3:40 AM, Ralf Quint wrote: > > On 10/24/2022 6:38 PM, Bret Johnson wrote: >> Anyway, I'm wondering how "involved" FreeDOS should be in the VM world (I >> think in today's world the vast majority of users install DOS under a VM >> rather than on real hardware, though I p