PCem – An emulator of old PC hardware platforms
pcem-emulator.co.uk
pcem-emulator.co.uk
I got given a mouse driver by a cousin who'd bought a new mouse that came with a driver that put most of itself in HMA and only a couple of k of LMA. That finally made it easy to have sufficient RAM left over.
I had a few minor issues with that driver, so I'd keep two copies of autoexec.bat around, one for when I wanted to play Frontier, and one for when I wanted to do anything else.
[1] The "Press X to not die" kind, not the Mac video format.
Also, apparently can run Windows NT and XP...
86box (PCem fork) with Slackware to the rescue and here is my game running under Slackware 14.2 (the latest version) with Window Maker under an emulated 300MHz mobile MMX (my computer isn't fast enough to run this at 100% all the time sadly, but it was good enough to do some profiling):
https://i.imgur.com/4X7lvZ7.png
In fact i wrote the Linux port under the emulated machine :-P
however, Pcem really shine in the amount of hardware supported and better support for windows. Also it seem to be more accurate, but i, personally, never found a game that needed it, but if you have some games that don't work with dosbox it may be worth a shot.
For DOS games, DOSBox is generally the better and -especially- faster choice with the main exception being mid80s games that assumed a 4.77MHz CPU (you can still play them on DOSBox but you need to fiddle around with the cycles and even then it assumes 1 cycle = 1 instruction, whereas PCem counts cycles correctly and also it takes into consideration the graphics card performance whereas DOSBox draws things as fast as it can).
For Windows games, assuming you cannot run them in modern Windows, it is basically the best choice - assuming you have a really fast PC, otherwise you'll get sound stuttering and slowdowns (with my AMD Ryzen 7 3700X i can emulate a Pentium 75Hz -mostly- fine but anything above that starts to cause sound to stutter).
Though in my experience 99% of the Windows games out there will work in modern Windows with something like dgVoodoo2, a framecapping tool like RTSS and perhaps adjusting the compatibility options. It might take some fiddling here and there. Notable exception being mid-2000s games with DRM.
It's the fastest and most secure way to run DOS except the native one. No, I tried Qemu+KVM+FreeDOS, and is not as good.
PCem and the like do have some advantages, such as emulating specific hardware, or not being limited to running in x86/amd64.
One thing I really like about DOSBOX, is how ordinary folders in the host can be mapped to drives in the guest OS. I wish pcem has something similar. This can make creating files with ancient software more convenient (e.g. new retro games).
For older machines and some other emulators i've written a tool to create floppy disk images from a list of files:
http://runtimeterror.com/tools/fat12img/
(though that can only do 1.44MB floppies, meaning that it only works with an emulated 286 and above)
Or in a Unix platform, with just dd and vnconfig under OpenBSD or kpartx under Linux.
>dd if=/dev/zero of=a.img bs=1440k count=1
>vnconfig vnd0 a.img
>newfs_msdos -F 12 /dev/rvnd0c
>vnconfig -u vnd0
>file a.img
a.img: x86 boot sectorThat's under OpenBSD, under Linux is similar.
Also i'm using Windows and wanted a GUI tool.
People has been running really old Slackware releases under Bochs/Qemu since forever.
It means every chip is accurately emulated down to individual clock cycle access times.
I wish they focused on making emulation of older models (like the original PC) as good as possible, instead of catering to people who just want to play DOS games.
I'll have to see though, as my project depends on the BIOS and ROM on the machine, which I why DOSBox doesnt work for me.