Howto setup Slim SD HxC Floppy Emulator ?

Hardware Hacking, Programming and Game Solutions/Cheats
Post Reply
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Howto setup Slim SD HxC Floppy Emulator ?

Post by jedie »

My Slim SD HxC Floppy Emulator arrived today. A quick setup doesn't work...

The HxC is connected to the LAFUMAT controller. I use a twisted floppy cable. Which switched settings should i used to setup the HxC as Floppy drive 0 ?

Must i looked in the "Shugart switches settings" or the "PC Compatible switches settings" ?
... 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
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by Rink »

First thing: double check your orientation - the connector on those slim models is the opposite of what you'd expect. The pin numbers are marked on the board.

Caught me out the first time I connected one to an X1.

Edit: I had to file off the notch from my cable to make it fit upside down.
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by jedie »

OK, think i have a usable configuration:

I have a real 3,5" floppy drive on the "not twisted" cable. The drive is jumpered to drive 0.
I can access it with ID 0 and 1 e.g.: "DIR 0" or "DIR 1"

The HxC is on the "twisted" cable end. With switch "3" "on" respectively "ID2A" to "on" i can access it via ID 2 and e.g. "DISKINIT 2" (I hear the buzzer on access)
But with DISKINIT 2 i get a "NR ERROR"... Maybe the SD card is not setup right.

The only specs about dragon floppy disk i have found is here viewtopic.php?f=5&t=255 :
sixxie wrote:Still in HxCFloppyEmulator.exe, select "Load Raw image". For a typical DragonDOS disk, you want to set "Number of track" and "Two sides floppy" to the appropriate values and the rest of the options to:

Track type: MFM
Reverse side: leave unticked
tracks ... grouped: leave unticked
GAP3 length: 24
Sector ID start: 1
Sectors size: 256
Interleave: 2 (otherwise it'll be very slow)
Sectors per track: 18
RPM: 300
Bitrate: 250000
I have now created a image with this settings:
Image
floppy720k_01 von 3ds auf Flickr

I added the .fpf config file here.

Are this settings ok?

With these settings i have create empty images with this filenames:
DSKA0000.HFE
DSKA0001.HFE
DSKA0002.HFE
DSKA0003.HFE

DSKB0000.HFE
DSKB0001.HFE
DSKB0002.HFE
DSKB0003.HFE

in the root dir of the SD-Card.
Attachments
floppy_profile_720k.zip
.fpf config file
(224 Bytes) Downloaded 228 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
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by Rink »

No idea about the Dragon stuff, but also check that you have 'indexed mode' enabled on the emulator. I had to use the HxC floppy emulator tool to create a config file (goes on the sdcard) before using disk images named like that.
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by jedie »

From http://dragon32.info/info/drgndos.html :

Code: Select all

3.  Disk Layout
===============

        MFM Double Density
	 40 or 80 tracks (0 - 39 or 0 - 79)
	  1 or  2 sides
	 18 sectors per track (1 - 18)
	256 bytes per sector
	2:1 interleave
So i think my "format" is right.

i should check "indexed mode" ...

Anyone here using HxC Floppy Emulator ?
... 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
admin
Site Admin
Posts: 410
Joined: Thu Jul 17, 2008 10:22 pm

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by admin »

I used it along time ago - now connected to another machine. Initially it didn't support the Dragon at all, but after a few exchanges of information between myself and the author the conversion tool was able to take .VDK files and convert them.

I used the HxC conversion tools to convert .VDK files to .HFE and they all worked ok - I never did get any success in creating blank .HFE files so I simply created an empty .VDK file in XROAR and converted that to .HFE using the HxC tools.
Simon Hardy
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by jedie »

admin wrote:I used the HxC conversion tools to convert .VDK files to .HFE and they all worked ok - I never did get any success in creating blank .HFE files so I simply created an empty .VDK file in XROAR and converted that to .HFE using the HxC tools.
Ah! Good hint. Thanks!
... 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
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by Rink »

Did you get this working then?

Maybe we need a Wiki page on this topic?
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by jedie »

Rink wrote:Did you get this working then?
No. I tried a little bit, but no success, yet.
Rink wrote:Maybe we need a Wiki page on this topic?
Wiki pages with information is a general good idea :D
... 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
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: Howto setup Slim SD HxC Floppy Emulator ?

Post by Rink »

jedie wrote:No. I tried a little bit, but no success, yet.
Awwww.

Where are we up to? Does it appear to tick/flash at the right times? BTW Does Lafumat's controller act as a ROM and give you all the commands needed to work with disks?

And did you find the SDCard HxC Floppy Emulator Settings box and enable Indexed Mode? Uncheck the boxes to force a disk image to load on power up.

Find a bootable disk image from the archive that you can test in Xroar and then use the HxC Floppy Emulator software to convert it to .HFE. Put that disk on the SDcard as DSKA0000.HFE and DSKB0000.HFE. Delete everything else.
Post Reply