Open what file? the executable? The assembly file?My problem know is unable to open file dose it have to have the exstention .asm?
Dont care
Re: Dont care
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Dont care
lollynoob, you seem to have been a troll in the past, but not anymore!
Sorry if I offended you there
Sorry if I offended you there
Re: Dont care
omg it worked thanks guys yay yay
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Dont care
You have to tell Windows what to use as a default program for opening .asm files.cotton509 wrote:My problem know is unable to open file dose it have to have the exstention .asm?
Re: Dont care
Now I wonder if you can get it working with GRUB and testing it on real hardware...cotton509 wrote:omg it worked thanks guys yay yay
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: Dont care
ok now to get global asembler.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Dont care
Global...assembler...???
What the hell is that?
What the hell is that?
Re: Dont care
Acualy i dont need to sorry for that wasted post and lolly noob has been aa troll but not anymore.
Re: Dont care
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.
Re: Dont care
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).Troy Martin wrote:lollynoob, you seem to have been a troll in the past, but not anymore!
Sorry if I offended you there
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?
Re: Dont care
the bare bones guide uses gas its the same as asm but a differant program.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Dont care
Ohhh, that's the GNU assembler. It's wayyyyyyy different than nasm, the syntax is practically reversed.
Re: Dont care
Why did you post this, lol?the bare bones guide uses gas its the same as asm but a differant program.
Edit:
Code: Select all
is not [quote]
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Dont care
Actually, I think it looks pretty cool in code tags
Re: Dont care
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();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}