Non-Typical Kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
binutils
Member
Member
Posts: 214
Joined: Thu Apr 05, 2007 6:07 am

Post by binutils »

zaleschiemilgabriel wrote:IMO it's not poor.
and it's not rich neither.

--
PS: http://youtube.com/watch?v=WqnUin9w_Pc :)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

Or you could code a OS based on a games console OS like mine, there's not many of these. But this does not mean it need to be for running games, it just means its make to run a single program, without any other program getting it its way.
It could just as easy be for playing music or controlling robots etc.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Post by neon »

Have fun porting stuff - who wants to reinvent the wheel anyway?
Anyone developing a new operating system is essentially already doing this.
I agree. Copy-and-paste OSes are nothing (in my opinion) to be proud of.
There is a problem with this statement. An OS is alot more then one peice of software. If almost all of the software was simply copied+paste, then I would need to agree with the above statement.

However, this assumes that the system was developed "from scratch" as a new OS. If it was being developed as a derivative of an existing OS, that is a different story as the above statement does not apply. (ie, it is being developed as an upgrade, a newer version, or it can also be different software based off of the existing OS.)

JamesM and 01000101: Please cool down. There is no reason to attack some one else just because they post their opinions.

Remember that there is a difference between "copy+paste" and "using existing software or libraries".

copy+paste implies that the developer copied and pasted code claiming that they were the original developer for the code, and not giving any credit, or may not even be understanding it.

using existing software (ie GRUB) or external libraries are fine. While it still does not mean it was "written" from scratch, the software is being used under a legit license. This is fine.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

copy+paste implies that the developer copied and pasted code claiming that they were the original developer for the code, and not giving any credit, or may not even be understanding it.
the end of your statement was exactly what I was trying to say. Using other people's code without really understanding it and having put no effort into actually 'making' the OS has no pride in it.

I appologize for the miscommunication.
User avatar
binutils
Member
Member
Posts: 214
Joined: Thu Apr 05, 2007 6:07 am

Post by binutils »

neon wrote: Remember that there is a difference between "copy+paste" and "using existing software or libraries".

copy+paste implies that the developer copied and pasted code claiming that they were the original developer for the code, and not giving any credit, or may not even be understanding it.
i don't agree, IMHO, there is no difference, even if there is difference, we couldn't identify itself unless we meet them and talk about this.

if they started "copy+paste", sooner or later they will understand it.

BTW, we are all using c/c++ compiler/syntax/mechanism/libraries.
there is no new thing about it.

--
OT: Image
User avatar
nekros
Member
Member
Posts: 391
Joined: Wed Mar 05, 2008 9:10 pm
Contact:

Post by nekros »

Not all.
User avatar
nekros
Member
Member
Posts: 391
Joined: Wed Mar 05, 2008 9:10 pm
Contact:

Post by nekros »

Dex wrote:Or you could code a OS based on a games console OS like mine, there's not many of these. But this does not mean it need to be for running games, it just means its make to run a single program, without any other program getting it its way.
It could just as easy be for playing music or controlling robots etc.
That's what I'm going to do then, except I'm going to write it in C, and have elf executables, and a make of port a C library.
EDIT: Do I need to use the IDT if I am not using the timer int. Do I need the keyboard int to use the keyboard?
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

You can turn them off (eg: cli in realmode before going to pmode )and poll for key input, but i would not.

Code: Select all

; AL returns  keypressed
TestKeyPressed:
in    al,60h
ret
And the time is used a lot by games.
Post Reply