![]() ![]() Note that in case a folder name is longer than 8 characters or contains spaces, you should use the tilde version of that folder name (e.g. You can mount drive C: as follows:ĭOSBox recommends that you don't map a DOSBox drive directly to a root directory, so you should use some folder instead of C:\. C:) to a particular drive or folder on your hard disk. In DOSBox you start at drive Z:, which is virtual, so you need to map a drive in DOSBox (e.g. The commands are pretty standard: cd changes directory typing the name of an executable runs that executable, etc.īut first, before you can access your files, you need to mount a drive. This is what it looks like after running a game:ĭOSBox can be used like any command line interface. This is what it looks like (as soon as you run it): Just as in DOS, you will get a listing of all items in your directory.DOSBox is a program that emulates DOS, allowing you to run most old games that might not run on modern operating systems. If you'd like to test this, type C: and press enter. This mounts your home directory to the C:\ drive in DosBox. Your home directory (/home/username) works nicely. I suggest you mount a directory that you have permission to write to (as a user, not a superuser). This launches DosBox in a new window, and starts you with a Z:\ prompt Open triminal windows and type the following command Mounting a directory to a drive in DosBox You should again get a listing of all items on the CD. Again if you'd like to test this type, D: and press enter. Now your CD is mounted in DosBox to the D: drive. Now that we're done with that OS stuff back to DosBox. If you have more than one CD-ROM drive Ubuntu may will have mounted it to /media/cdromx where x is a number. Ubuntu will happily auto-mount the CD for you to /media/cdrom0 assuming that you placed teh CD in that drive. Now at the terminal prompt, type in dosbox It should auto mount the C: drive, (and if you followed step 8a, it will also start you on the C: drive) If you want dosbox to automatically start on the C: drive, enter C: on a new line after your mount line. ![]() This will automatically mount the C: drive to your dosprog directory. # Lines in this section will be run at startup.Type the following in on a new line: Type sudo gedit nf This will open the dosbox configuration file. This puts you back in your terminal session We could mount the C drive everytime we open dosbox by typing mount c /home/yourname/dosprog everytime, but why do that whendosbox can create a configuration file to take care of that for you! But first we need to create the file.Īt the dosbox Z:\ prompt, type in config -writeconf /home/yourname/nf You now have the configuration file. Try typing in the dos command C: Note that it says the drive doesn't exist. Neat, huh? Note that it automatically puts you at the Z:\ drive We want to change that. I called mine dosprog, so I typed mkdir dosprog The full pathname to this file is home/yourname/dosprog If not, type cd /home/yourname/Ĭreate a directory to store your DOS programs in. Open a terminal session, and it should take you to your home directory. Open terminal window and type the following command In theory, any DOS application should run in DOSBox, but the emphasis has been on getting DOS games to run smoothly, which means that communication, networking and printer support are still in early developement. However, it is not restricted to running only games. DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, modem, etc., necessary for running many old DOS games that simply cannot be run on modern PCs and operating systems, such as Microsoft Windows 2000, Windows XP, Linux and FreeBSD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |