Dont care

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Dont care

Post by neon »

My problem know is unable to open file dose it have to have the exstention .asm?
Open what file? the executable? The assembly file?
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Dont care

Post by Troy Martin »

lollynoob, you seem to have been a troll in the past, but not anymore! :P

Sorry if I offended you there :lol:
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: Dont care

Post by cotton509 »

omg it worked thanks guys yay yay :D :D :D :D :D :D :D :D :D :D
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Dont care

Post by Troy Martin »

cotton509 wrote:My problem know is unable to open file dose it have to have the exstention .asm?
You have to tell Windows what to use as a default program for opening .asm files.
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
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Dont care

Post by neon »

cotton509 wrote:omg it worked thanks guys yay yay :D :D :D :D :D :D :D :D :D :D
Now I wonder if you can get it working with GRUB and testing it on real hardware...
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

ok now to get global asembler.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Dont care

Post by Troy Martin »

Global...assembler...???

What the hell is that?
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: Dont care

Post by cotton509 »

Acualy i dont need to sorry for that wasted post and lolly noob has been aa troll but not anymore.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

ok lets work togethor on thje kernal i will boot it i am getin gcc for windows to do the other parts like the kernal.
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

Troy Martin wrote:lollynoob, you seem to have been a troll in the past, but not anymore! :P

Sorry if I offended you there :lol:
Haha no problem, I just don't like to be considered a troll (I get banned more often if people think that, and making new accounts all the time is troublesome).

On topic though; cotton, you need to be more clear when you're posting things. Everyone else is not inside your head; "global assembler" might make sense to you, but to other people it's nonsense: how can an assembler be global?
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

the bare bones guide uses gas its the same as asm but a differant program.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Dont care

Post by Troy Martin »

Ohhh, that's the GNU assembler. It's wayyyyyyy different than nasm, the syntax is practically reversed.
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
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

the bare bones guide uses gas its the same as asm but a differant program.
Why did you post this, lol?

Edit:

Code: Select all

 is not [quote]
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Dont care

Post by Troy Martin »

Actually, I think it looks pretty cool in code tags :P
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
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Dont care

Post by neon »

This thread is moving way to fast. :)
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Locked