Re: Nasm Error
- From: "Rod Pemberton" <do_not_have@xxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 05:59:43 -0500
"fred smith" <fred@xxxxxxxxxxx> wrote in message
news:474d1a2e$0$23258$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for the reply Frank, I am writing a Hobby OS.
So, am I and many others too... mostly on alt.os.development.
All of the
bootloader, second stage stuff is written with Nasm, all of the kernel
is written in Watcom C, with the odd Wasm module linked into it. I was
doing this all previously under DOS.
Mine's written in Open Watcom C and DJGPP (GCC for DOS) with mostly inline C
assembly and a small amount of NASM.
GCC isnt an option for me, it would be too much of a headache to convert
everything over,
Not the C part. Should be close to 100% except for different namings of DOS
functions, which you shouldn't be using in an OS anyway.
and the GNU assemblers horrible at&t syntax is
something I want to stay as far away as I can from.
Yeah, that's little bit different, but not that hard to do: reverse the
registers, throw on some size letters, add one percent if no args, add two
percents if args, lookup some special letter codes to pass args... Sigh,
okay, more work than one recollects! ;-)
As Watcom and Nasm appeared to be on the OS/2 platform, and I had a
spare box with the operating system doing nothing, I thought "why not".
"Why not." That's how most of us got started... heh. ;-)
Rod Pemberton
.
- Follow-Ups:
- Re: Nasm Error
- From: fred smith
- Re: Nasm Error
- References:
- Nasm Error
- From: fred smith
- Re: Nasm Error
- From: Frank Kotler
- Re: Nasm Error
- From: fred smith
- Nasm Error
- Prev by Date: Re: Nasm Error
- Next by Date: Re: keyboard/mouse programming
- Previous by thread: Re: Nasm Error
- Next by thread: Re: Nasm Error
- Index(es):
Relevant Pages
|