Page 1 of 1

nasm 's boot problem

Posted: Mon May 05, 2003 10:34 pm
by bgcq
i use a boot that other's,the first line is :[org 0],and
i usr nasmw boot.asm,then err msg:is except start line
what's means?

Re:nasm 's boot problem

Posted: Tue May 06, 2003 4:38 am
by Pype.Clicker
are you sure your boot.asm file is designed for nasm ?
and are you sure you didn't made HTTP mess up your file ?
never saw things like this : in an assembler, but it looks much like the encoding of a Unicode character in HTML (é � etc ...)

Re:nasm 's boot problem

Posted: Tue May 06, 2003 5:11 am
by bgcq
sorroy,&65306 is no in file,
the [ORG 0]
jmp 07C0h:start ; Goto segment 07C0
is error i said,and the nasmw 1.asm will be:
E:\MyOs>nasmw 1.asm
1.asm:7: error: label or instruction expected at start of line.the file is said it can be nasmw,can you help me,i
post the file attach.



[attachment deleted by admin]

Re:nasm 's boot problem

Posted: Tue May 06, 2003 5:48 am
by Pype.Clicker
the only thing i see is that the [ORG] directive *must* start the line. I.e. having white space before it on the same line will fail and say "unrecognized directive [[ORG]" ...

Maybe you should check no update is available for nasm ...

Re:nasm 's boot problem

Posted: Wed May 07, 2003 3:49 am
by bgcq
i rename [org 0] to org,it is ok

Re:nasm 's boot problem

Posted: Thu May 08, 2003 12:29 am
by Pype.Clicker
yep. That [directive] syntax looks not fully supported by nasm ...