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

Re: Dont care

Post by cotton509 »

People i am running into the problem when i use the nasm comand in comand promt the problem is do i use a text editor and save the files as .s and .o then use the comand wich them makes them work?
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 »

Save it to a .asm file and then run "nasm -o output.ext source.asm" or something like 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 »

oh i just got it thanks troy.
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 »

No problem.
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 »

nope it did nothing grrr i am hating nasm.
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

Don't hate NASM, it's working just as it should. You're the one incapable of using a simple command line tool.
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 »

/facepalm

What does it spit out, what errors?
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 »

no the comand line goes back to the directory i set but it did nothing like the file is forect i used nasm.c and compiler.h
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 »

That's what nasm does when it finds no errors. Your file should be in that directory.
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 »

no the comand line goes back to the directory i set but it did nothing like the file is forect i used nasm.c and compiler.h
If you used "nasm.c" and "compiler.h" you're doing something wrong; those files don't exist.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

yes they do
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

Show me.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

i will try assemble
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

You've been "try assemble" this whole time, why does anyone need to know that?
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 »

Take a screenshot of the directory or folder. Attach it to a reply. Prove to us that these files exist.
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
Locked