NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: johntk on December 24, 2018, 08:32:20 PM

Title: can't assemble simple .asm file to .rdf format
Post by: johntk on December 24, 2018, 08:32:20 PM
rdf is badly broken when assembling on windows.  When will this be worked on.  I reported this over 2 years ago.

test.asm
section .text

C:\Compilers\x64\nasm>nasm c:\Users\johnk\OneDrive\Desktop\test.asm -o c:\Users\johnk\OneDrive\Desktop\test.rdf -f rdf
c:\Users\johnk\OneDrive\Desktop\test.asm: panic: rdf segment numbers not allocated as expected (2,4,6)

I may have to get the source code and try to fix it myself.  Any pointers on where to look in the code to fix this problem.
John
Title: Re: can't assemble simple .asm file to .rdf format
Post by: debs3759 on January 05, 2019, 10:20:29 PM
It would be easier for someone to help you if you provide some source code that demonstrates the problem.
Title: Re: can't assemble simple .asm file to .rdf format
Post by: Frank Kotler on January 05, 2019, 11:37:31 PM
Hi Debs,

He did provide source code. That's it.

I sympathize with his situation. Better to report it to bugzilla than here. He is apparently the only  user interested in rdf   (Why, John?). It is apparently a low priority. Compare last working version with current to see what changed,

Good Luck,
Frank

Title: Re: can't assemble simple .asm file to .rdf format
Post by: johntk on January 22, 2019, 09:34:56 PM
I explained this last year in my other posts.  I am writing my own OS. and I was using rdf but I am using elf now.  It is not that important, I just thought that this was a simple problem to fix but if it is to hard or not worth anyone's time to fix this problem then don't worry about it.  I did put this on Bugzilla last year.  I am doing my OS. development on a windows machine which makes it harder but I have gotten a gcc cross compiler and linker and it works.
John.