Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

AceOS.jpg
Home About Architecture Drivers C Library Shell Specifications Links Downloads
Ace OS Logo
You are here : Ace OS -> Development Kits Development Kits for Ace OS

Development Kits required to build

The list of softwares you required to build Ace OS.

Tool / Website Description Class
 
Mingw 2.0
www.mingw.org
It is required to compile the C/C++ files. Compiler / Linker
 
NASM
http://nasm.sourceforge.net/
Netwide Assembler. It is compiler of Intel Syntax Asssembly language files. It supports wide variety of output file formats. Compiler / Linker
 
DJGPP 2.0
www.delorie.com/djgpp
GNU Compiler Collection Ported to DOS. Compiler / Linker
 
BOCHS
http://bochs.sourceforge.net
A X86 emulator for windows. It can programmed to be emulate as 486/Pentium. Recenly it supports CD Drive accessing also. Emulator
 
SciTe Editor
http://www.scintilla.org
A very good editor. Supports syntax highlighting for various languages. It also has many customizable nice features such as word completion, line numbers etc. IDE / Editor
 
DevCpp
http://www.bloodshed.net/devcpp.html
A free C++ IDE for Windows and Linux for MinGW compiler with Syntax higlighting. IDE / Editor
 
RadASM
http://radasm.sonshinesoftware.com/
Free ASM IDE for windows. Supports syntax highlighting, help topics (MSDN) etc. It supports NASM, MASM and TASM. IDE / Editor
 
RHIDE
DJGPP
A console based C/C++ IDE for DJGPP. It is included in the DJGPP package with source code. IDE / Editor
 
NasmIDE
http://radasm.sonshinesoftware.com/
A console based IDE for NASM. It is distributed with the source code. IDE / Editor

Build Instructions

  1. Download Ace OS Source Code. Click here to go to Download page
  2. Extract the downloaded zip file into a directory with Folder Names
  3. Go to MS-DOS Command Prompt. Do not restart windows, you should run Command.com in windows box.
  4. Change to AceOS directory
  5. . It depends on where you extracted the downloaded zip file.
  6. Make sure the path variable contains all the Development kit directories
  7. Type mingw32-make and press enter
  8. Now all source will be compiled to produce lot of object files. Then it link all the object files into Kernel.bin. After successfull compilation, you will get a message like the following
    ld -Ttext 0x19000 -Tdata 0x258c0 --image 0x19000 --shared -entry _KernelEntry -nostartupfiles -o Kernel.exe
    Kernel.o Processor.o Timer.o CTimer.o CKernel.o MemMan.o Heap.o DeviceDriver.o IO.o TMan.o TaskMan.o MemMove.o
    VGAText.o VGACursor.o Keyboard.o CKeyboard.o PIC.o PCI.o RTC.o GSH.o Harddisk.o HMess.o Printf.o Partition.o
    FAT.o String.o Beep.o -LC:\MinGW\lib\gcc-lib\mingw32\3.2 -LC:\MinGW\lib -lmingwex -lgcc
  9. Now you have to create boot images. Change to Boot directory. Type make and press enter. Be carefull about your letter cases.
  10. Thats all. you build the system successfully.

Boot Disk Creation

  1. Change to directory Boot
  2. Type make and press enter.
  3. Insert a DOS formatted empty good floppy disk into drive A:
  4. Type mboot.bat
  5. and press enter. Follow on screen instruction.

Emulation with Bochs

This is a little bit harder than the above two tasks. This task is only usefull to developers. You can also debug your codes through Bochs.

  1. You need BOCHS and WinImage to complete this task sucessfully. Download it.
  2. Install WinImage and run it
  3. Create a new Image File and insert the following files using the Insert Menu or press INS, OSLoader.bin and Kernel.exe
  4. Select Boot Sector Properties... from Image menu.
  5. Now click the Open button select the Boot.bin in the Ace OS Directory
  6. Save the file
  7. Add BOCHS directory to your path
  8. Change to AceOS Directory
  9. Type bochs press enter
  10. Now bochs will show 5 options, select 1. Read options from...
  11. When it asks for Configuration file name press enter or type bochsrc.txt
  12. Now bochs will again show first 5 options, select 2. Edit options
  13. In the next screen select 6. Disk options
  14. Select 1. Floppy Disk 0: and enter the path and file name of the image file previosuly created.
  15. Return to previous menu and Select Memory options(4)
  16. Type the correct location of the files VGABIOS-elpin-2.40 and BIOS-BOCHS-LATEST. These files are located in your bochs directory.
  17. Return to main menu by pressing Zeros. Save the cofiguration file by pressing 3
  18. Now choose option 4. Begin Simulation
  19. The above settings are only once needed. Thereafter you have to Begin Simulation straigt away.
  20. If you want to debug the code run bochsdbg instead of bochs





Best viewed in 1024 x 768 using IE 4.x, Netscape 6.x or higher. JavaScript support is also required for dynamic menu. This page is last updated on 1-Sep-2005
This site is visited times since 1-Oct-2002. Power Team LogoPower Team