Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Victor 9000 - Hard Disk DMA #113964 09/25/18 01:36 PM
Joined: Sep 2018
Posts: 5
D
danielj Offline OP
Member
OP Offline
Member
D
Joined: Sep 2018
Posts: 5
Hello!
New here smile I was wondering if anyone's doing any work on the Victor 9000 drivers? I've currently got an actual DMA card for the hard drive in pieces (have scanned both sides of the board) and am gradually piecing together what it's doing, but it might well benefit from someone who's got a bit of an eye for these things, plus it should help produce the emulated implementation? I believe Curt Coder wrote everything for the V9000 thus far? I confess I've precisely 0 experience of writing anything for MAME.

Grateful for any pointers, and happy to help in any way I can!

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113968 09/25/18 09:32 PM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
I wrote some code for samdisk (https://github.com/simonowen/samdisk) to interpret V9000 floppy format -- there were some images floating around and I wanted to boot them in MAME.

DOS 3 does boot, sort of (https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=112816#Post112816), but doesn't reach command prompt, so there's work to be done...

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113969 09/26/18 04:57 AM
Joined: Sep 2018
Posts: 5
D
danielj Offline OP
Member
OP Offline
Member
D
Joined: Sep 2018
Posts: 5
I suspect those were my kryofluxed images laugh was the data sound on them? Someone had a go at interpreting them and said they were riddled with errors...

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113970 09/26/18 07:53 AM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
Oops smile -- I didn't write 10-bit CRC check code, so errors are indeed possible.

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113984 09/27/18 06:15 AM
Joined: Sep 2018
Posts: 5
D
danielj Offline OP
Member
OP Offline
Member
D
Joined: Sep 2018
Posts: 5
I can redump if necessary. Is the code for samdisk in the samdisk github - it didn't look like it was? Output-wise is it just a straight sector dump? All these questions! laugh

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113987 09/27/18 07:41 AM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
It's not in samdisk github because it's incomplete - missing CRC check and does not handle variable sector per track in output. I also worked on C64 floppy support, similar problem there. I can put WIP code into my github so you can play with it, though.

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113988 09/27/18 08:25 AM
Joined: Sep 2018
Posts: 5
D
danielj Offline OP
Member
OP Offline
Member
D
Joined: Sep 2018
Posts: 5
If you could, that would be excellent and I'll have a poke at it. The other thing that happens with those disks is the rotation's variable so the bitcell timings change depending on the zone - I suspect that could have thrown off the other person's analysis. Certainly looking at the raw dump traces there was no reason to think that it was bad (the disks work fine on a real victor).

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #113999 09/27/18 08:58 PM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
Here it is - https://github.com/shattered/samdisk/tree/_2c86571

Handles only single-sided disks.

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #114006 09/28/18 09:02 AM
Joined: Sep 2018
Posts: 5
D
danielj Offline OP
Member
OP Offline
Member
D
Joined: Sep 2018
Posts: 5
Fantastic - I'll have a play with adding CRCs smile

d.

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #114154 11/02/18 06:18 PM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
Any luck? I was going to clean up V9000 and C64 code and submit it to samdisk github.

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #114641 02/09/19 06:35 PM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
V9000 and C64 code has been merged (V9000 is still without CRC and single-sided, though)

Re: Victor 9000 - Hard Disk DMA [Re: danielj] #115482 07/04/19 08:13 PM
Joined: May 2012
Posts: 516
S
shattered Offline
Senior Member
Offline
Senior Member
S
Joined: May 2012
Posts: 516
Checksum is actually a simple additive, not a CRC -- will submit this change soon. Tested both of your images, DOS is OK and CP/M (cpm11victor-kryoflux.7z) has minor problems:
Code
80 Cyls Head 0:
250Kbps Victor, 19 sectors,  512 bytes/sector:
  0.0  6 7 8 9 10 11 12 13 14 15 16 17 18 0 1 2 3 4 5 
  1.0  15 16 17 18 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
  2.0  5 6[dc] 7 8 9 10 11[m3,dc] 12 13 14 15 16 17 18 0 1 2 3 4 
  3.0  14 15 16 17 18 0 1[m3,dc] 2 3 4 5 6 7 8 9 10 11 12 13 
250Kbps Victor, 18 sectors,  512 bytes/sector:
  4.0  15 16 17 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
  5.0  5 6 7 8 9 10 11 12 13 14 15 16 17 0 1 2 3 4 
  6.0  13 14 15 16 17 0 1 2 3 4 5 6 7 8 9 10 11 12 
  7.0  3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 1 2 
  8.0  11 12 13 14 15 16 17 0 1 2 3 4 5 6 7 8 9 10 
  9.0  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 
 10.0  9 10 11 12 13 14 15 16 17 0 1 2 3 4 5 6 7 8 
 11.0  17 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
 12.0  7 8 9 10 11 12 13 14 15 16 17 0 1 2 3 4 5 6 
 13.0  15 16 17 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
 14.0  5 6 7 8 9 10 11 12 13 14 15 16 17 0 1 2 3 4 
 15.0  12 13 14 15 16 17 0 1 2 3 4 5 6 7 8 9 10 11 
250Kbps Victor, 17 sectors,  512 bytes/sector:
 16.0  6 7 8 9 10 11 12 13 14 15 16 0 1 2 3 4 5 
 17.0  14 15 16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 
 18.0  3 4 5 6 7 8 9 10 11 12 13 14 15 16 0 1 2 
 19.0  10 11 12 13 14 15 16 0 1 2 3 4 5 6 7 8 9 
 20.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
 21.0  7 8 9 10 11 12 13 14 15 16 0 1 2 3 4 5 6 
 22.0  14 15 16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 
 23.0  3 4 5 6 7 8 9 10 11 12 13 14 15 16 0 1 2 
 24.0  10 11 12 13 14 15 16 0 1 2 3 4 5 6 7 8 9 
 25.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
 26.0  6 7 8 9 10 11 12 13 14 15 16 0 1 2 3 4 5 
250Kbps Victor, 16 sectors,  512 bytes/sector:
 27.0  12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 
 28.0  2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 
 29.0  8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 
 30.0  14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 
 31.0  4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 
 32.0  10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 
 33.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
 34.0  6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 
 35.0  12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 
 36.0  2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 
 37.0  7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 
250Kbps Victor, 15 sectors,  512 bytes/sector:
 38.0  6 7 8 9 10 11 12 13 14 0 1 2 3 4 5 
 39.0  10 11 12 13 14 0 1 2 3 4 5 6 7 8 9 
 40.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
 41.0  5 6 7 8 9 10 11 12 13 14 0 1 2 3 4 
 42.0  10 11 12 13 14 0 1 2 3 4 5 6 7 8 9 
 43.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
 44.0  4 5 6 7 8 9 10 11 12 13 14 0 1 2 3 
 45.0  10 11 12 13 14 0 1 2 3 4 5 6 7 8 9 
 46.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
 47.0  5 6 7 8 9 10 11 12 13 14 0 1 2 3 4 
250Kbps Victor, 14 sectors,  512 bytes/sector:
 48.0  6 7 8 9 10 11 12 13 0 1 2 3 4 5 
 49.0  10 11 12 13 0 1 2 3 4 5 6 7 8 9 
 50.0  0 1 2 3 4 5 6 7 8 9 10 11 12 13 
 51.0  4 5 6 7 8 9 10 11 12 13 0 1 2 3 
 52.0  8 9 10 11 12 13 0 1 2 3 4 5 6 7 
 53.0  12 13 0 1 2 3 4 5 6 7 8 9 10 11 
 54.0  2 3 4 5 6 7 8 9 10 11 12 13 0 1 
 55.0  6 7 8 9 10 11 12 13 0 1 2 3 4 5 
 56.0  9 10 11 12 13 0 1 2 3 4 5 6 7 8 
 57.0  13 0 1 2 3 4 5 6 7 8 9 10 11 12 
 58.0  3 4 5 6 7 8 9 10 11 12 13 0 1 2 
 59.0  7 8 9 10 11 12 13 0 1 2 3 4 5 6 
250Kbps Victor, 13 sectors,  512 bytes/sector:
 60.0  1 2 3 4 5 6 7 8 9 10 11 12 0 
 61.0  5 6 7 8 9 10 11 12 0 1 2 3 4 
 62.0  8 9 10 11 12 0 1 2 3 4 5 6 7 
 63.0  10 11 12 0 1 2 3 4 5 6 7 8 9 
 64.0  0 1 2 3 4 5 6 7 8 9 10 11 12 
 65.0  3 4 5 6 7 8 9 10 11 12 0 1 2 
 66.0  6 7 8 9 10 11 12 0 1 2 3 4 5 
 67.0  9 10 11 12 0 1 2 3 4 5 6 7 8 
 68.0  12 0 1 2 3 4 5 6 7 8 9 10 11 
 69.0  2 3 4 5 6 7 8 9 10 11 12 0 1 
 70.0  5 6 7 8 9 10 11 12 0 1 2 3 4 
250Kbps Victor, 12 sectors,  512 bytes/sector:
 71.0  4 5 6 7 8 9 10 11 0 1 2 3 
 72.0  6 7 8 9 10 11 0 1 2 3 4 5 
 73.0  9 10 11 0 1 2 3 4 5 6 7 8 
 74.0  11 0 1 2 3 4 5 6 7 8 9 10 
 75.0  1 2 3 4 5 6 7 8 9 10 11 0 
 76.0  3 4 5 6 7 8 9 10 11 0 1 2 
 77.0  5 6 7 8 9 10 11 0 1 2 3 4 
 78.0  7 8 9 10 11 0 1 2 3 4 5 6 
 79.0  10 11 0 1 2 3 4 5 6 7 8 9 

Page 1 of 2 1 2

Who's Online Now
5 registered members (Steve Bourg, Stiletto, TeamE, box, 1 invisible), 125 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,696
Posts114,313
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3