Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Bret Johnson
> Don't forget Hampa Hug's PCE - PC Emulator: > http://www.hampa.ch/pce/pce-ibmpc.html It turns out that PCE has a custom BIOS so it's pretty easy to detect. I was thinking it would be set up more like PCem and 86Box which actually use images of the original ROMs from the original computers way

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] Bonus/Devel CD

2022-10-26 Thread Bret Johnson
> Don't forget Hampa Hug's PCE - PC Emulator: > http://www.hampa.ch/pce/pce-ibmpc.html I'll experiment with that one too, but it's really hard to detect emulations of really old hardware. You usually need things like PCI and CPUID to detect things reliably. ___

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Bret Johnson
> What VPC are we talking about? > VPC as in Virtual PC? > The one made by Microsoft? > I doubt, any version of VPC included FreeDOS, but feel free to prove > me wrong. :-) I might have misspoke there -- I thought it was JPC he was talking about (JPC does come with a version of FreeDOS). Virtual

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Robert Riebisch
Hi Bret, > 86Box > Bochs > DOSBox > DOSBox-X > DOSEmu / DOSEmu2 > Hyper-V > JPC > KVM > Parallels > PCem > QEMU > vDOS > VirtualBox > VirtualPC (Connectix) > VirtualPC (Microsoft) > VMWare Don't forget Hampa Hug's PCE - PC Emulator: http://www.hampa.ch/pce/pce-ibmp

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Robert Riebisch
Hi Bret, >> VPC uses FreeDOS?? Not sure. > > Yes. What VPC are we talking about? VPC as in Virtual PC? The one made by Microsoft? I doubt, any version of VPC included FreeDOS, but feel free to prove me wrong. :-) Cheers, Robert -- BTTR Software https://www.bttr-software.de/ DOS ain't dead 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] Berndpci.com (what & where answered)

2022-10-26 Thread Paul Dufresne via Freedos-devel
Rugxulo  said: >I can't remember exactly (would have to check), but I think I just >used BERNDPCI.COM. What: a program in assemble to search a PCI device with a specified vendor ID and device ID helpmsg        db "BerndPCI, the simple PCI device counter",13,10         db "A Public Domain

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

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Bret Johnson
> VirtualBox gives you the chance to have 5 different network cards; > other virtualizers probably similar. I would know which Ethernet NIC I have configured in VirtualBox. In VirtualBox you can also detect the Ethernet card though PCI, but that's not true in every VM. In addition, just becaus

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread tom ehlert
> One of the main things that started me down this rabbit trail was > the need to know which Ethernet card is being virtualized in a > particular VM so I can load the correct packet driver. > I have a > single ETHERNET.BAT file I run to install the packet driver, and > since detecting which netw

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Bret Johnson
> Since what you need to know is which Ethernet card is being > virtualized, perhaps it would be sufficient to simply scan the PCI > bus to see what class 2 devices reside there? > ... > Of course, if the majority of cards for which you need to search are > non-PCI (e.g. some old ISA stuff) then th

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread tom ehlert
> One of the main things that started me down this rabbit trail was > the need to know which Ethernet card is being virtualized in a > particular VM so I can load the correct packet driver. ca. 30 years ago PCI enumerating has been invented. > I have a > single ETHERNET.BAT file I run to inst

Re: [Freedos-devel] Bonus/Devel CD

2022-10-26 Thread Ralf Quint
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 personally do both). How involved in testing/recommending applicat