PearPC Client OS as primary OS in a pc

Discuss PearPC's Development and any bugs you find here

Postby Guru3 » Sun Jul 25, 2004 6:35 pm

which version of slackware?
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Postby Guest » Mon Jul 26, 2004 11:19 am

the lastet. Slackware 10,
Guest
 

Postby nurv » Fri Jul 30, 2004 11:30 pm

Hi there

after completed the first boot of kilt i started reading the pearpc code to understand it. If some one are aware of the existence of any type of documentation about this please tell me.

More. At this moment i could understand that gConfig struct is a grafics card struct. So i have to send the comms output to the PCI Bus 0, Device 0, Function 0. Or what the hell that can be.

Third. The debug information, that normaly prints on CMD window will desapear... Sory but theres nothing i can do about it.

The kernel will also include the Config file, meaning, change the configuration only be possible after recompiling the kernel. Boring i know must is the only way to make a smaller kernel since the other way is to install ext2fs reading file system

Respond with your questions or ideias...

Thanks
nurv
Member
Member
 
Posts: 48
Joined: Sun Jul 18, 2004 2:06 pm

Postby Jackal05 » Sat Jul 31, 2004 8:54 pm

It shouldn't be that hard. Can't you just use a kernal from a linux distro that is already out there?
And then perhapes use grub for selecting which partition to boot from.
Edit: ah I see, you guys are already on it.
Jackal05
Avid Helper
Avid Helper
 
Posts: 136
Joined: Sun Jul 25, 2004 11:22 pm

Postby patrickweber » Sat Jul 31, 2004 10:55 pm

Well, I am not a big (outside of windows) coder.. I only know Visual Basic Smile.. But I would be thrilled if I could be a beta tester. Or even an alpha tester or whatever comes before that! I would love to test every aspect of it. If you could keep me updated my email address is:

patrick@patrickweber.com

Thanks!
patrickweber
 

Postby 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...
nurv
Member
Member
 
Posts: 48
Joined: Sun Jul 18, 2004 2:06 pm

Postby Jackal05 » Sun Aug 01, 2004 1:16 am

There must be some sorta kernal already there build for the purpose of others incorporating their application to.
Jackal05
Avid Helper
Avid Helper
 
Posts: 136
Joined: Sun Jul 25, 2004 11:22 pm

Postby patrickweber » Sun Aug 01, 2004 1:34 am

[quote="nurv":dbd8be7c32]
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...
[/quote:dbd8be7c32]Now remember that I am not a C++ programmer so I might be totally wrong. Can you have a #include to the pearpc? Like #include "ppc.h" and then call all the commands you need from it. So it is an external library but all the calls are made from inside the kernel?
patrickweber
Member
Member
 
Posts: 25
Joined: Sun Aug 01, 2004 12:10 am
Location: Behind You!

Postby Jackal05 » Sun Aug 01, 2004 3:22 am

PearPC was written in ASM and partiely C++.
Jackal05
Avid Helper
Avid Helper
 
Posts: 136
Joined: Sun Jul 25, 2004 11:22 pm

PreviousNext

Return to PearPC Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron