flat assembler
Message board for the users of flat assembler.

Index > Main > Fasm is also useful for writing binary files also

Author
Thread Post new topic Reply to topic
hckr83



Joined: 12 Nov 2006
Posts: 86
Location: usa
hckr83 07 Apr 2007, 04:23
I ahve made my own simple filesystem and wanted to test it, so I got my nifty Hex editor and I wrote my FS header, and such..then I wrote this file to the FDD with partcopy, easy right? well apparantly partcopy doesn't perform right when writing files to sectors that aren't exactly the size of the sector, so after much pain of destroying my OS to see what was wrong..
I used FASM to write a test file using the nifty "times-...db 0" thing
this is probably the most nifty thing I have ever done, as I can use db ".." for putting test text content, I can put exectutable info into it also with assembly instructions, and I can even use the file command for putting in my own test file stuff

Now, FASM can't read binary files like a hex editor, but it does very well with writing them

..I just wanted to tell people, and maybe give them an idea..

_________________
x86 CPU Emulation library: http://sourceforge.net/projects/x86lib
Post 07 Apr 2007, 04:23
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 07 Apr 2007, 08:46
nothing new... Wink

Quote:
Now, FASM can't read binary files like a hex editor, but it does very well with writing them

it can. it's quite costly, but it can
Post 07 Apr 2007, 08:46
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.