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 »

i dont get it this is the code i am using
/code global loader
extern kmain

MODULEALIGN equ 1<<0
MEMINFO equ 1<<1
FLAGS equ MODULEALIGN | MEMINFO
MAGIC equ 0x1BADB002
CHECKSUM equ -(MAGIC + FLAGS)
section .text
align 4
MultiBootHeader:
dd MAGIC
dd FLAGS
dd CHECKSUM

; reserve initial kernel stack space
STACKSIZE equ 0x4000

loader:
mov esp, stack+STACKSIZE
push eax
push ebx

call kmain
hlt

section .bss
align 32
stack:
resb STACKSIZE
/code
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

What don't you get? Also you haven't shown me compiler.h or nasm.c yet. Take a screenshot of them and attach it, if you say they exist.
Last edited by lollynoob on Sat Nov 15, 2008 8:52 pm, edited 1 time in total.
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 »

Code tags work like this:

Code: Select all

[code]code code code
code code
code
code code code
    code code code code
   code code
         code
[/code]
Indentation is preserved.
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 »

proof
Attachments
proof.GIF
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

is that good?
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

Hahaha you're a dumb *******, you downloaded nasm's source code, not the nasm executable.
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

dont swear you broke a fourm rule and next time tell me that ugh.
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

Don't tell me what to do; besides, I was being informative. You need to download the nasm executable to assemble code. I called you a dumb fucker because I thought that was obvious. If you can't handle certain arbitrary words, then maybe you don't need to be on the computer past your bedtime.
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 »

Rule #7, sentence five: Trolls should live underground without internet.

Lollynoob is a troll, so theoretically he should be underground without internet. He's not, so it that breaking the rules? Yes. But nobody cares.

(That probably was better in my head.)
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 »

dont swear you broke a fourm rule and next time tell me that ugh.
You already broke several.

Get the NASM Win32 binaries from here (Clicky). It comes with nasm.exe so you do not need to build it.
Last edited by neon on Sat Nov 15, 2008 9:02 pm, edited 1 time in total.
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 »

i got the latest release man its simple thanks fior leting me know. #-o
cotton509
Member
Member
Posts: 91
Joined: Mon Nov 10, 2008 8:08 pm

Re: Dont care

Post by cotton509 »

Troy Martin wrote:Rule #7, sentence five: Trolls should live underground without internet.

Lollynoob is a troll, so theoretically he should be underground without internet. He's not, so it that breaking the rules? Yes. But nobody cares.

(That probably was better in my head.)

ok dam he can get anaywith it he is a troll with a proxy
User avatar
lollynoob
Member
Member
Posts: 150
Joined: Sun Oct 14, 2007 11:49 am

Re: Dont care

Post by lollynoob »

How am I a troll? I'm certainly offensive, but a troll is someone who says what they do for the sole reason of being disruptive; trolls don't think about their posting, or put anything of value into what they post. I, however, fully support what I post; I might be offensive about saying it, but I often have a valid point.

I'm thinking you're mommy just doesn't like you reading naughty words on the internet though, so your only retort is "TROLL, TROLL, GET UNDER A BRIDGE LOL aren't i clever heh."

Regardless, let's get back on topic. Now that you know to download the nasm executable, what other help do you need, cotton?
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Dont care

Post by neon »

No worries as long as you got the binaries :)
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 »

My problem know is unable to open file dose it have to have the exstention .asm?
Locked