by nurv » Sat Jul 31, 2004 11:22 pm
Answering Jackal05 and all otheres: I try using a smal linux distro run pearpc and in terms of speed was mostly like to a windows build. The problem here is that we are not trying to make a emulation, but transforming our PC into a Mac by software. If we use linux i had to lost many time understanding linux and removing the system memory management unit. The operating system part is now mostly done. The problem now is integrating both. For those who don't know how to build a OS, every C library in any OS, at start, is included in the system it self. Being pearpc a C++ program this is also true. So my problem is that right now i can't test it because i don't know how to incorporate c++ library into a kernel.
At this point what i figure it out now, witch i extracted from my notes after analising main.cc:
#include "info.h" Program name, version, etc.
#include "cpu/cpu.h" Thread starting functions
#include "debug/debugger.h" Debuging classes and functions
#include "io/io.h" I/O functions for PCI e ISA (Maybe memory?)
#include "io/graphic/gcard.h" Manager of grafics card buffer
#include "io/ide/ide.h" Disks
#include "io/ide/cd.h" CDROM's
#include "io/prom/prom.h" WTF is a prom??? ?Programable Read Only Memory
#include "io/prom/promboot.h" the same prom??
#include "io/prom/prommem.h" Memory management unit rom?
#include "tools/atom.h" I don't kown what this is
#include "tools/data.h" More of the same... Present date fetch???
#include "tools/except.h" exceptions
#include "tools/snprintf.h" Screen Print
#include "system/display.h" Display color
#include "system/mouse.h" Mice
#include "system/keyboard.h" Keyboard
#include "system/sys.h" something clipboard
#include "configparser.h" parser of the config file
#include "system/gif.h" ?Gif dealing
#include "system/ui/gui.h" ?i don't know, diaglogs maby?
#include "ppc_font.h" font bin
#include "ppc_img.h" image bin (PPC at the start window)
#include "ppc_button_changecd.h" image Bib (CDROM change)
If some one don't agree with something please tell me...