Page 4 of 7
Re: DWLOAD - DriveWire for everybody
Posted: Tue Nov 04, 2014 11:21 pm
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
Re: DWLOAD - DriveWire for everybody
Posted: Tue Nov 04, 2014 11:58 pm
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/
Re: DWLOAD - DriveWire for everybody
Posted: Wed Nov 05, 2014 2:23 pm
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
Re: DWLOAD - DriveWire for everybody
Posted: Wed Nov 05, 2014 8:12 pm
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!
Re: DWLOAD - DriveWire for everybody
Posted: Thu Nov 06, 2014 11:32 am
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.
Re: DWLOAD - DriveWire for everybody
Posted: Thu Nov 06, 2014 3:17 pm
by jedie
I'm very unhappy that i have no time to test the ROMs from tormod
But good to hear, that it works!
Re: DWLOAD - DriveWire for everybody
Posted: Mon Nov 10, 2014 4:31 pm
by jedie
Before i do something wrong. This is the correct rotation, isn't it?
All noses down, right?
Re: DWLOAD - DriveWire for everybody
Posted: Mon Nov 10, 2014 5:49 pm
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".
Re: DWLOAD - DriveWire for everybody
Posted: Mon Nov 10, 2014 8:49 pm
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.
Re: DWLOAD - HOWTO 1 : DWLOAD in ROM/EPROM (real or Xroar)
Posted: Wed Nov 12, 2014 6:03 pm
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...