DWLOAD - DriveWire for everybody

A place to discuss everything Dragon related that doesn't fall into the other categories.
sorchard
Posts: 530
Joined: Sat Jun 07, 2014 9:43 pm
Location: Norwich UK

Re: DWLOAD - DriveWire for everybody

Post by sorchard »

tormod wrote:Could it be a file permission issue on your PC?
An excellent suggestion, but I don't think it's the problem. I'm able to access FLAP & AUTOLOAD.DWL using the BASIC program.

I received a fine DriveWire adaptor and EPROM in the post today. Many thanks! It's the first time I've had a close look at your Dragon DriveWire logo. Very, very clever. I like it.

The bad news is that I'm getting the same 'Handler #0 has died' issue. With ?MO at the Dragon as well. I'm that unlucky I guess. I'll have to ponder this a while :?
Stew
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: DWLOAD - DriveWire for everybody

Post by tormod »

Very tempting to ask you to boot Linux (from CD or USB stick if needed) to see how that works :p

BTW, just noticed now there is a DriveWire4 4.3.4e since over a year, while the update facility is still stuck at 4.3.3o or 4.3.4d.

http://dwupdate.cococoding.com/xfer/
sorchard
Posts: 530
Joined: Sat Jun 07, 2014 9:43 pm
Location: Norwich UK

Re: DWLOAD - DriveWire for everybody

Post by sorchard »

tormod wrote:Very tempting to ask you to boot Linux (from CD or USB stick if needed) to see how that works :p
OR, much more satisfying, discover the cause of the problem :-)

In desperation, I downloaded the DriveWire source code. This one line from the protocol handler gave me the clue I needed:

Code: Select all

		int result = diskDrives.nameObjMount(objname);
Something to do with disks... So I put a disk in drive 0. (One of the demo disks)... then DLOAD started working! (In xroar at least)

It turns out it doesn't matter what you attempt to use as a disk, even an invalid file, this seems to perform some initialisation. The disk can be ejected again and it still works. If all the disks are ejected including 'fake' drives 255 downwards, and the server software is closed and opened again, then we are back to crashing again.

Anyway, looks like an 'uninitialised object' type of bug.

Hopefully I'll be able to try out my shiny new cable later on a real Dragon.

Thanks again to everyone for help and suggestions. Got there in the end :-)
Stew
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: DWLOAD - DriveWire for everybody

Post by tormod »

Ahhh... Thanks for being unstoppable! You are probably the first DriveWire user who goes straight to DWLOAD without having played with HDB-DOS or NitrOS-9 :) They both require a disk image loaded in slot 0. What you found out is very useful to know!
sorchard
Posts: 530
Joined: Sat Jun 07, 2014 9:43 pm
Location: Norwich UK

Re: DWLOAD - DriveWire for everybody

Post by sorchard »

I can confirm the DriveWire adaptor cable and dwload EPROM work really well. It should prove to be a very useful tool and I'm seriously impressed with the amount of effort that's gone into making this happen.
tormod wrote:You are probably the first DriveWire user who goes straight to DWLOAD without having played with HDB-DOS or NitrOS-9
Yes, I'm that unlucky ;-)

One positive outcome from my difficulties is that I've learned a lot about the way DriveWire works. One day I hope to be able to make some useful contributions to the project.
Stew
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: DWLOAD - DriveWire for everybody

Post by jedie »

I'm very unhappy that i have no time to test the ROMs from tormod :(

But good to hear, that it works!
... 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
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: DWLOAD - DriveWire for everybody

Post by jedie »

Before i do something wrong. This is the correct rotation, isn't it?

All noses down, right?
Attachments
IMG_20141110_162453_klein.jpg
IMG_20141110_162453_klein.jpg (404.65 KiB) Viewed 6618 times
... 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
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: DWLOAD - DriveWire for everybody

Post by jedie »

I have DriverWire Server 4 unter windows. And the connection works.


Can i setup the "DriveWire Server root directory" to a other point, than the current directory with "DW4UI.jar" ?!?!

And... I didn't have to put something into "Drive 0, 1, 2...", isn't it?

I have extract the dwload-demo-files into the root.
I write a Hello World on the dragon and try to save it with, but get a error:

Code: Select all

DLOAD"SAVE""HELLO.BAS"
DWLOAD
!
?MO ERROR
OK
I see in the Server logs, that:

Code: Select all

Mo Nov 10 2014 17:44:34.805  INFO   DWDiskDrives        dwproto-0-29        loaded disk 'file:///D:/Dragon/DriveWire Server/DriveWire4_4.3.3/SAVE' in drive 255
Mo Nov 10 2014 17:44:34.867  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 2 
Mo Nov 10 2014 17:44:34.867  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 9 	
Mo Nov 10 2014 17:44:34.867  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 72 H
Mo Nov 10 2014 17:44:34.867  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 76 L
Mo Nov 10 2014 17:44:34.867  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 79 O
Mo Nov 10 2014 17:44:34.868  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 46 .
Mo Nov 10 2014 17:44:34.868  WARN   DWProtocolHandler   dwproto-0-29        UNKNOWN OPCODE: 66 B
Mo Nov 10 2014 17:44:34.868  WARN   DWProtocolHandler   dwproto-0-29        DriveWire 4.3.3o (06/21/2013) by Aaron Wolfe
Mo Nov 10 2014 17:44:35.069  WARN   DWProtocolHandler   dwproto-0-29        Timed out reading from CoCo in OP_SETSTAT
Mo Nov 10 2014 17:44:35.070  WARN   DWProtocolHandler   dwproto-0-29        OP_SETSTAT took 201ms.
btw. its a Dragon 64

EDIT: btw. Loading ELISA.BAS works fine.

EDIT2: Ah, i see in the README:
*) Aaron's DriveWire4 server can currently not create new files.
So to save BASIC files using DWLOAD, create an empty file on the
server and then use "RESAVE".
;)
... 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, yes, the "U"-shaped notch of the EPROM, adapter, and socket should point in the same direction. And yes, you need to mount something (just any file) in drive 0, as sorchard found out for us in the previous posts. Sounds like you got it all working.
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: DWLOAD - HOWTO 1 : DWLOAD in ROM/EPROM (real or Xroar)

Post by jedie »

tormod wrote:DECB binary, Dragon DOS binary or BASIC files
What format is the AUTOLOAD.DWL ?!?
It's kind of tokinized BASIC with some more meta information... It's a DECB format?

Where can i find the specification of .DWL files?

I would like to have a .DWL<->.BAS (ASCII listing) converter...
... 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
Post Reply