This page will give you specific instructions and tips for using DOS in PCem. The entirety of the main guide applies here too.

What you'll need

Premade configurations

To make setup as easy as possible, you can just pick one of these premade configurations. They represent machines compatible with DOS games, based on era they were released in, and specs they were intended for.
Here's how we created them:

Using with libTAS

This section will be focusing on setting up a configuration to make tool-assisted speedruns. These guidelines will help you make a TAS that people will be able to sync on other machines. If nobody else can sync your run, then it will probably not get accepted!
Be aware of our Movie Rules for libTAS movies and especially for running DOS in PCem in libTAS.

CD driver issues

The FreeDOS CD driver, udvd2.sys, is known to have some bugs, especially with CD audio playback, and some games do not even work with it at all, such as Fallout. If you're trying to run a game that requires a CD and it's not working quite right, you should try swapping out the CD driver as part of your movie. oakcdrom.sys is known to work well with PCem. To swap out the CD driver:
You can then install your game and continue.

flash.bin

flash.bin is a file that contains the flash memory of the system. Because the ROM gets written into it, we can't distribute it. This file may also contain custom system parameters from previous configs using the chipset.
For these reasons, flash.bin should be deleted before starting a TAS. Failure to do this may result in desyncs. The Late 80s setup does not use this, but flash.bin can be found in ~/.pcem/roms/pb570/ for the Early 90s setup and in ~/.pcem/roms/ga686bx/ for the Late 90s setup.
If you use a verification movie to install your game, you can use the flash.bin that is generated from it, as long as we will be able to reproduce it.

libTAS Settings

All settings from the general PCem guide apply
Expand/Collapse collapse-content-_c64e3b950c394155918ff19f3b3a2f91

EmulatorResources/PCem/DOS last edited by feos on 9/12/2023 7:41 PM
Page History Latest diff List referrers View Source