help disaster

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.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post 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.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: help disaster

Post 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.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post 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
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post 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
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: help disaster

Post 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.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: help disaster

Post 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.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post by cotton509 »

tisk tisk tisk loly noob us grib boot loader and work on the os not the bootloader
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: help disaster

Post 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.
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: help disaster

Post 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.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post 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
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: help disaster

Post by 01000101 »

Well, you small grain of respect I had for you, just disintegrated. I think I'm done following this post.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post 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
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: help disaster

Post by lollynoob »

Haha, you don't know assembly, I bet you don't know C++, and you're a terrible poster.

Get out.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post 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.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: help disaster

Post by cotton509 »

hey dont be harsh come on i am learning. :roll: :( :( :( :( :( :( :( :( :( :
Locked