DWLOAD - DriveWire for everybody

A place to discuss everything Dragon related that doesn't fall into the other categories.
fridgemagnet
Posts: 89
Joined: Mon Nov 24, 2014 8:33 pm

Re: DWLOAD - DriveWire for everybody

Post by fridgemagnet »

Thanks Pere, I shall take a look when I get something workable up and running. Hopefully later this week.
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: DWLOAD - DriveWire for everybody

Post by jedie »

from viewtopic.php?f=5&t=4964&start=50#p12216 :
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 :P
...
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.
Because i just stumbled over it again.
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
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: DWLOAD - DriveWire for everybody

Post by tormod »

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.
Post Reply