DWLOAD - DriveWire for everybody
-
- Posts: 89
- Joined: Mon Nov 24, 2014 8:33 pm
Re: DWLOAD - DriveWire for everybody
Thanks Pere, I shall take a look when I get something workable up and running. Hopefully later this week.
Re: DWLOAD - DriveWire for everybody
from viewtopic.php?f=5&t=4964&start=50#p12216 :
I have download "dwload-demo-files.tar.xz.zip" from first post and looked into "AUTOLOAD.DWL"...
The files seems to not be changed. So it has a wrong length or not?!?
Because i just stumbled over it again.jedie wrote:So, is the length information in the generated "AUTOLOAD.DWL" is wrong? Or is http://dragon32.info/info/binformt.html wrong and Dragon Dos binary files has a terminator with 2x $00 extra bytes?!? Or, the likely case: I'm wrong
...
Seems that i'm right: The origin "AUTOLOAD.DWL" length is $025c (dez.: 604 Bytes) but if i SAVE the AUTOLOAD file, i get $025a (dez.: 602 Bytes) back.
I have download "dwload-demo-files.tar.xz.zip" from first post and looked into "AUTOLOAD.DWL"...
The files seems to not be changed. So it has a wrong length or not?!?
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Re: DWLOAD - DriveWire for everybody
jedie, it doesn't matter to the DWLOAD client whatever trailing or padding bytes there is following the "payload". It will read the file based on the headers and ignore the rest. However when using the DW4 server from Aaron all files have to be padded to a multiple of 256 bytes, so I should definitely fix up that AUTOLOAD.DWL in the demo package. Thanks for bringing this to my attention
EDIT: The file was already correct (768 bytes) in the demo package. I had of course tested it
EDIT2: Ah, you are talking about the length encoded in the header. Well, there is nothing magic about the AUTOLOAD.DWL, it is just a normal BASIC program. I might have saved the one in the demo package using an early version of the SAVE dweeb, nothing to worry about.
EDIT: The file was already correct (768 bytes) in the demo package. I had of course tested it
EDIT2: Ah, you are talking about the length encoded in the header. Well, there is nothing magic about the AUTOLOAD.DWL, it is just a normal BASIC program. I might have saved the one in the demo package using an early version of the SAVE dweeb, nothing to worry about.