Re: Nasm Error



Rod Pemberton wrote:
"fred smith" <fred@xxxxxxxxxxx> wrote in message

So, am I and many others too... mostly on alt.os.development.

Been in there a number of years (under another name), Alexei has saved my *** many times with helping me track down obscure bugs or solve things that just didn't make sense. Its a great NG for that sort of thing :)

Mine's written in Open Watcom C and DJGPP (GCC for DOS) with mostly inline C
assembly and a small amount of NASM.


I haven't played around with DJGPP in years :-) I think one of the thing that really attracted me to Watcom was the ability to declare far pointers on the fly. Watcom has a great IDE and Debugger for Windows and the OS/2 Presentation manager, but it lacks those in the terminal mode environment though, wd is horrid to use under DOS, DJGPP has Rhide which I really liked. I use still TASM's td.exe for debugging some asm stuff, I got too comfortable with it in the 90's, I just cant let go. lol.

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.


The C part would be easy :) I link against my own kernel32.lib which I use wlib to generate for me :) I just don't want to sit and write all new scripts and makefiles to get it working with another compiler (lazyness) ;)

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! ;-)

*grin*

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


I've been working on mine on and off over the last few years. I haven't had much time over the last year to code much.. Looks like I am going into hospital soon for surgery and I will be bed ridden for 4 weeks after it.. What better way to pass the time than writing and debugging code. lol.
.


Quantcast