Hi Tony,tjewell wrote:Hi Pere!
The binary files I'm pulling off disks don't seem to have that header structure - but then again, neither do any of the other BIN files I have on my system. I found this conversation from, gosh, nearly 10 years ago with Sixxie - viewtopic.php?f=5&t=275#p1644 - where he says to use Coco bin files, which is what I've been doing. But I might be going off a tangent here!
So a simple example ... I've got "FlagonBird_1.1.vdk" from the archive, and it's got just FLAGON.BIN on it. I'd like to extract FLAGON.BIN and run it directly in Xroar. Maybe this isn't the best way to do it! I can run 'DragonDos.exe read "FlagonBird_1.1.vdk" FLAGON.BIN", get the BIN file, but I can't work out how to run it.
I also note that if I do a FILE2VDK.exe FLAGON.BIN, and mount the FLAGON.BIN.vdk, I can do a DIR and see FLAGON.BIN, but when I try and run it, I'm getting an FM error.
Any idea what I'm doing wrong? And maybe there's a better way to do this? I'd just like to pull a binary file off a disk, have a look at it, maybe poke it with a Hex Editor and run it.
(Also, what's the best route for disassemblers and assemblers at the moment - for a long time I used Sixxie's perl scripts, but I'm guessing LWTOOLs is better?)
I must insist!
You will never get to load a binary file into XRoar if that binary file has *no* header. And the header must be a Dragon type one.
I know that DragonTools doesn't add the header to the file when you extract it, but then you need to add one, for instance using
a hexadecimal editor adding the 9 bytes. It is easy if you have to do it from time to time.
The three addresses exist in the disc structure, at the begining of the first sector occupied by that file inside the VDK, in fact
you will see there the whole header (9 bytes) ...
PD I use ASM6809 assembler (Sixxie) and as disassembler F9DASM