Installing On Virtualpc: by Renee Brandt
Installing On Virtualpc: by Renee Brandt
by Renee Brandt Okay, I decided to write a Mini How-to to install FreeDOS on a guest PC using Virtual PC. I will guide you step by step how to set it up. All you need is: A copy of Virtual PC A FreeDOS CD Image file
First off you have to start Virtual PC. Cancel the wizard that will popup when you first open VirtualPC and click FILE-Virtual Disk Wizard. Click Next and then make sure "Create a new floppy or hard disk image" is selected before you click Next again. Then choose "Create hard disk image" and hit Next. Give the image a location and filename and then hit Next. In the next screen you can set the space on your virtual hard drive. Use a "dynamically expanding disk image" so the size of the disk image will grow when there is more data in the image. Hit Next when you made your choice. As a disk format select FAT16. Hit Next, check the summary and hit Finish when everything is correct. Now youre back in the main screen of Virtual PC. Select NEW PC and click Next. Give the guest PC a nice name and hit Next again. Choose GUIDE ME and then click Next. Choose DOS as the operating system and click Next. The memory allocation can be set to 16 MB as an minimum, but 32 MB is alright though. Hit Next when you are content, and in the next screen make sure you choose Select an existing hard disk image. In the next screen you have to point out the location of your image file you have created with the other wizard. Hit Next then Finish. Select the new PC and hit start up. Now at the top of the screen click CD and then capture image. Point out the location of the FreeDOS CD image (standard the file is called fdbootcd.iso). Make sure below the floppy picture is greyed out. Now reboot (Right-alt + R or PC-Reset) if you were too late to mount the image of the FreeDOS CD before the Guest PC was totally booted. Now you get some sort of menu. Hit 1 followed by ENTER. In the next screen hit 1 and in the screen after that hit 2 if your PC is 386 or higher, otherwise press 1. In the next screen hit 1 again and then 1 again. Read the screen and when youre done press any key. Read the README or just press ESCAPE to continue. Because we use a fresh hardisk press 4. Read the text again and press any key. Choose a directory where to install FreeDOS to (I prefer C:\FDOS or C:\DOS). Press any key, and then choose whether you want the SRC_BASE pack or not installed (it is optional). FreeDOS will be installed now. Wait and when its done press a key to continue. When youre back at the DOS prompt type boot and hit the ENTER key. Now reboot. When the system is rebooting press DEL. You will come in a BIOS screen. Go to Boot and open the boot device priority. Make the HD the first boot device. Save changes and exit.
Now when it lets you choose between two options, press 1. Now if you want to use the local CDROM driver on your virtual PC, type: EDIT CONFIG.SYS Delete the ;1? before this line: DEVICE=C:\xxx\bin\atapicdd.sys /D:FDCD0001 Note xxx is the folder you installed FreeDOS. The problem with this driver is that it is very slow when you use it (I dont know why, I still have to figure out). If you want a fast one, make sure you have mounted the FreeDOS CD-ROM, reboot the system, press DEL, goto Boot and make the CD-ROM the first device. In the menu press 1, 1, and then 2. FreeDOS will be loaded and the CD-ROM drive will be much faster. I havent been any further and havent used EMM386.EXE. If anyone has experience with it or knows how to use it, please contact me at [email protected] and you can also contact me for questions or if you want to say something or want to judge it. Sorry for my bad English. And oh yeah Im not responsible for any damage to your hardware or software. It worked for me with no problems. (AND DONT COPY THIS AND GET ALL THE CREDIT!!!) Thank you ;) Renee Brandt
====Intrucciones para compilar:==== Se requiere Turbo C++ para poder compilar. --nesecitas activar las libreras de graficos, eso se hace en el men principal, selecciona "Options -> Linker -> Libraries", aparecer una ventana de ttulo "Libraries", debes activar la opcin que dice "Graphics Library", y presiona "OK". --necesitas cambiar la forma en que genera el cdigo el compilador, eso se hace en el menu, selecciona "Options -> Compiler -> Code generation", aparecer una ventana con 3 cuadros verdes, ve a la que dice "Model", seleciona la opcin "Huge" y presiona "OK".
--nesecitas crear un nuevo proyecto y agregar todos los archivos con extensin ".C", eso se hace en el menu, selecciona Project -> Open project..., aparecer una ventana con el ttulo "Open project file", pero "open" en este caso no es para abrir un proyecto sino para crear un nuevo proyecto, escribe un nombre para el proyecto y presiona el boton OK. Se cerrar la ventana y aparecera un cuadro azulverdoso en la parte inferior de la pantalla con el ttulo "Project: <Nombre del proyecto>". ve nuevamente al menu project -> add item... , aparecer un cuadro con el ttulo add to project list, seleciona algun archivo con extencion ".C" y has clic en el boton add, has lo mismo con los demas archivos ".C" y finalmente has clic en Done. Compila mientras este abierta la ventana de patito.c porque es el archivo principal, si no est abierto has doble clic en patito.c en la ventana del proyecto. Si todo va bien, podrs compilar si errores.
====Para usuarios de Windows==== Ya que este es un juego para MSdos, las versiones recientes de Windows ya no ejecutan nativamente los programas MSdos, ahora lo emulan con un programa interno. Esto causa que el juego no funcione como debera o no funcione en lo absoluto. Las versiones de Windows incompatibles son: Milenium, NT, XP, Vista, Seven, y posteriores. Algunos de los problemas comunes son: -El teclado tiene hasta 1 segundo de retraso. -No obedece el teclado. -No inicia el modo grfico. -No funciona nada.
Recomiendo que se use con Windows 95/98/98SE/98Plus, MSdos, Freedos, o compatible (puedes crear un disco de inicio de MSdos en cualquier version de windows). He adaptado un poco el juego para que sea jugable tanto en MSdos como en Windows y DosBox, pero no hago milagros.
====El emulador DosBox=== Recomiendo elevar los ciclos del juego hasta que la velocidad sea estable.
====Para usuarios de MSdos:==== Problemas comunes: --No aparece el raton en modo MSDOS: Para solucionar este problema he incluido el archivo "mouse.com", que instala un driver genrico para el ratn. Ejecutalo antes de iniciar el juego.
====Requerimientos para jugar==== --Sistemas operativos compatibles: MSdos, Freedos, Windows 3.1/95/98/98SE/98Plus/ME o compatible. Procesador PII a 433MHz, 32MB de RAM, 40MB de disco duro.
====Sobre los archivos del juego==== "PATITO.EXE" Es el juego en ejecutable msdos. "EGAVGA.BGI" es el driver de graficos de 16 colores 640 X 480. "patito bros.C" Es el archivo C principal. "MUNDO0.C" Es el codigo de cada nivel en el juego. "DIBUJAR.C" Contiene muchas funciones graficas. "DIBUJAR2.C" ms funciones graficas. "DIBUJAR3.C" y ms. "Editor.C" El editor de nivel. "teclado.h" Es una utilidad para el funcionamiento de varias teclas simultaneas. "teclas.h" Es una lista de los scancodes. "0.txt" Es el mapa del mundo. "0-0.txt" ... "x-x.txt", son los mapas de cada escena. "0-0.tim" ... "x-x.tim", son los mapas de cielo
"0.tic" Es el archivo de configuracion de nivel. "Mouse.com" Es un driver para ratn perteneciente a la organizacin Freedos.