Page 2 of 6

Re: help disaster

Posted: Mon Nov 10, 2008 8:43 pm
by cotton509
okm but i dont have time write now heres how its going to work for me start with a hellow world kernal made at home then at some featers to, have vga detect ram and video card then ad interups for keyboard driver. then from there i will start some lybraries to run comands that are simple. compands for now: new, delet, list, find, chang, format. thats the compamds for now i will add on the name is ? i need idease it hasx to be simple.

Re: help disaster

Posted: Mon Nov 10, 2008 8:46 pm
by Troy Martin
/facepalm

You're shooting too high, start with something simple like printing a few characters to the screen and/or a puts(); function.

Re: help disaster

Posted: Mon Nov 10, 2008 8:47 pm
by cotton509
he is the idea forlybrairyes to work,

{void
int
if value = new goto new.gpp
print menu
menu = ;
new folder
new partition
new file
}
you get the point not good coding but good idea

Re: help disaster

Posted: Mon Nov 10, 2008 8:50 pm
by cotton509
i will put my base kernal code sorta and dont put me down i will do it people thought i coulednt steel there passwords with out them knowing and i did with a usb lol. and they thought i couldednt put old computers to use wrong

Re: help disaster

Posted: Mon Nov 10, 2008 8:51 pm
by lollynoob
If you spend all of your spare time researching operating system design and learning low level programming, you might have read-only filesystem support and a basic command prompt six months from now, at the very best. I've been learning since the beginning of '07, and I'm still working on my bootloader; granted, I've restarted development plenty of times but that should give you an idea of the pace you'll work at, assuming you spend a little time each day learning (and genuinely understanding what you learn about) operating system programming. This sort of thing is not something that gets done quickly; there are no shortcuts.

Also, stop typing so fast, and read your posts before you send them; otherwise, you'll sound like an idiot.

Re: help disaster

Posted: Mon Nov 10, 2008 8:51 pm
by 01000101
Troy Martin wrote:/facepalm

You're shooting too high, start with something simple like printing a few characters to the screen and/or a puts(); function.
haha.

Troy Martin is correct though. Aiming for a command-line in the first place is already beyond the scope of a 'basic' kernel. How about you get to a simple 'hello world' kernel with very basic puts()/print()/putch() functions. I'd leave out even interrupts/handlers until you can achieve that.

Re: help disaster

Posted: Mon Nov 10, 2008 8:57 pm
by cotton509
tisk tisk tisk loly noob us grib boot loader and work on the os not the bootloader

Re: help disaster

Posted: Mon Nov 10, 2008 9:00 pm
by 01000101
If I was 100% certain what you just said, I'd /facepalm you as well, but once again, your 'accent' is deceiving. If you are saying that developing a bootloader (not GRUB) is a waste of time, you deserve it, if not, explain please.

Re: help disaster

Posted: Mon Nov 10, 2008 9:01 pm
by lollynoob
Tsk tsk, cotton; write a bootloader if you want to actually understand how computers work. Writing a kernel is fine, but writing a bootloader is just as useful of an experience.

Besides, you've written neither.

Re: help disaster

Posted: Mon Nov 10, 2008 9:03 pm
by cotton509
tisk tisk tisk just use grub i will use your os if its in c++ i will figure out a exploit code vulnderbillity eventual and warn you

Re: help disaster

Posted: Mon Nov 10, 2008 9:04 pm
by 01000101
Well, you small grain of respect I had for you, just disintegrated. I think I'm done following this post.

Re: help disaster

Posted: Mon Nov 10, 2008 9:04 pm
by cotton509
here is the first bits

asm

[bits 32]

[global start]
[extern_main]

start:
call_main
cli
hlt




video driver

ifndef VIDEO_H
#define Video_H

classvideo
{
public:
~video();
void clear();
voit write(char *cp);
void put(char c)
PRIVATE:unsigned short *videomem ;
unsigned int off;
unsigned int pos;

};

#endif




second half of video driver is comping

Re: help disaster

Posted: Mon Nov 10, 2008 9:08 pm
by lollynoob
Haha, you don't know assembly, I bet you don't know C++, and you're a terrible poster.

Get out.

Re: help disaster

Posted: Mon Nov 10, 2008 9:10 pm
by cotton509
01000101 wrote:If I was 100% certain what you just said, I'd /facepalm you as well, but once again, your 'accent' is deceiving. If you are saying that developing a bootloader (not GRUB) is a waste of time, you deserve it, if not, explain please.

not insulting him it takes to much time to make a boot loader and it slows development down but the bootload is custom but grub is amazing and good. i use it will linux alot linux that has lilo screw lilo i use grub its better and easyer for me.

Re: help disaster

Posted: Mon Nov 10, 2008 9:11 pm
by cotton509
hey dont be harsh come on i am learning. :roll: :( :( :( :( :( :( :( :( :( :