English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   RocHard RH800C (https://eab.abime.net/showthread.php?t=85178)

mark_k 19 December 2016 18:04

RocHard RH800C
 
1 Attachment(s)
I've set up a config to test RocHard RH800C (IDE) hard drive controller emulation. It uses the v2.0 RocHard ROM and RocHard.dms in DF0: which appears to support/work with the v2.0 ROM (it supports IDE and SCSI).

On booting RocHard.dms and running IDE_FormatHdd, the program can't seem to detect the IDE drive. There are a couple of lines in the log:
IDE50 recalibrate
IDE50 recalibrate


The config uses a 20MB HDF which I set to surfaces 4, sectors 32, cyls 320. It's 20971520 bytes long, all zero bytes.

Anyone know what I'm doing wrong?

Toni Wilen 19 December 2016 18:28

Weird. I am sure this was tested but now it is obvious that IDE byteswapping is wrong for rochard. Fixed.

TroelsDK 19 May 2017 12:57

Did you get it to work?
I'm trying to format a CF-card for my RocHard, through WinUAE, but can't seem to get it to complete the formatting process...
I used your config file... The CF-card is a small 64MB from Cisco.

https://s19.postimg.org/lv5ug4u8v/Formatter_RH_001.png
It formats fine...

https://s19.postimg.org/rkm30g0f3/Formatter_RH_002.png
Initializing seems to go okay...

https://s19.postimg.org/gz27ofu3j/Formatter_RH_003.png
Done....

https://s19.postimg.org/azegks9b3/Formatter_RH_004.png
But then this happens :crying

I've tried setting WinUAE up as A500+ with more chip-mem, but same result...
I've also tried PROM V1.0, same result.
I've also tried making a virtual disk, same result.

mark_k 19 May 2017 13:52

I'll take a look.

By the way, WinUAE has a bug where any manual geometry setting is reset to its default (typically 63 sectors/track) when you select a different/new HDF file (or even open then cancel the file-selection dialog). If working with an image of your CF card, it might be best to set the geometry in your config to match that in the card's IDENTIFY DEVICE data.

mark_k 19 May 2017 14:42

Using a blank 20MB HDF (geometry 4 heads, 32 sectors/track, 320 cylinders) I was able to use IDE_FormatHdd to format a single FFS partition and copy the contents of a Workbench 1.3 disk to it. Then I could reset and the system booted from the HD.

(I previously had the Autoboot disabled box checked in WinUAE expansion settings. After un-checking that to allow auto-booting, just resetting the emulated Amiga didn't cause it to boot from HD. After saving the config I quit and re-ran WinUAE, then it did notice the changed autoboot setting.)

If you run WinUAE with -log -scsiemulog arguments that might shed some light on when the error message appears.

TroelsDK 19 May 2017 15:46

Thanks Mark, but still not sure if I'm doing it correct.

These are the settings from the .vhd in the RocHard Formatter
https://s19.postimg.org/rnfly4zrz/20...g_-_Window.png

And here in WinUAE
https://s19.postimg.org/ni4pc81zz/20...e_Settings.png

I've now enabled auto-boot
https://s19.postimg.org/3z042v38f/20...e_-_Win_UA.png

I'm going for a 64 MB .hdf to make it fit on the CF-card
https://s19.postimg.org/qz6rf7127/20...e_Settings.png

Trying to go with the same settings
https://s19.postimg.org/ebmeoxwrj/20...e_Settings.png

The format made it through!
https://s19.postimg.org/6k5oqdsm7/Formatter_RH_008.png

Workbench was copied it I could access it from the desktop
https://s19.postimg.org/e1ew5li5b/Formatter_RH_010.png

Tried rebooting and it's gone again...
https://s19.postimg.org/8r9xeaxwf/Fo...graded_001.png

:crazy

Toni Wilen 19 May 2017 18:19

Are those images supposed to be unreadable postage stamp sized?

mark_k 19 May 2017 19:03

Click them, you're taken to a full-size image on postimg.org

mark_k 19 May 2017 19:06

TroelsDK: Could you upload/attach the WinUAE config you're using?

Toni Wilen 19 May 2017 19:13

Quote:

Originally Posted by mark_k (Post 1159167)
Click them, you're taken to a full-size image on postimg.org

Images are not links, clicking does nothing. (and if they don't work due to some browser extension = not my problem)

mark_k 19 May 2017 19:20

I just tested using a 64MB HDF with WinUAE's default geometry, which is probably what you used. I clicked Save Part Info, then Format. Formatting completed, I was prompted to insert Workbench disk, entered DF1: and pressed Return. When finished clicked Exit and back to Workbench with NEWIDE0 icon showing. Eject both floppy disks, Ctrl-A-A reset and the HD booted to Workbench. That was with WinUAE 3.4.1b8.

mark_k 19 May 2017 19:23

The images in TroelsDK's post above link to, in order:
https://postimg.org/image/rnfly4zrz/
https://postimg.org/image/ni4pc81zz/
https://postimg.org/image/3z042v38f/
https://postimg.org/image/qz6rf7127/
https://postimg.org/image/ebmeoxwrj/
https://postimg.org/image/6k5oqdsm7/
https://postimg.org/image/e1ew5li5b/
https://postimg.org/image/8r9xeaxwf/

Toni Wilen 19 May 2017 19:54

RDB mode was not enabled. (It probably should be force enabled when using emulated hardware controllers...)

TroelsDK 19 May 2017 20:03

Really appreciate the help guys! Sorry if the imagehosting site is a pain, I thought it was the best way to go about it.
I'm not at home atm but will try again later, or tomorrow with the new advice :)

TroelsDK 19 May 2017 22:10

1 Attachment(s)
This time I tried using default geometry settings, and corrected my error with 64MB, turns out my CF-card was 62MB.
Again format went well, and so did Workbench installation. But then eject both floppys and reset... Just KS1.3 image.

https://s19.postimg.org/7prb67ndv/20...e_Settings.png

mark_k 19 May 2017 22:20

Are you sure you have RDB mode enabled? The button should be ghosted-out/disabled if it is.

TroelsDK 19 May 2017 22:43

Quote:

Originally Posted by mark_k (Post 1159230)
Are you sure you have RDB mode enabled? The button should be ghosted-out/disabled if it is.

Dang it... Thought it was enabled.. That did the trick :)

Copied it on to the CF-card with WinImage, but it's not booting in the actual RocHard... It originally has a 170MB Conner CP30174E HD which works fine, except it won't boot without a KS2 ROM which I don't have... The RocHard has the updated V2 PROMs.... Using a 40-44 IDE adapter... But that's a different problem...

Glad to have gotten this to work :)

Thanks guys! :bowdown

Saghalie 19 May 2017 23:20

Not sure, but should Cylinders be 406 and not 506?

Edit:
Nevermind, 406 is for 50mb... I was looking at my configuration. for 61mb, you could try 503 instead of 506 ... it's what shows up on my system anyway.

mark_k 20 May 2017 14:14

Quote:

Originally Posted by TroelsDK (Post 1159233)
Copied it on to the CF-card with WinImage, but it's not booting in the actual RocHard... It originally has a 170MB Conner CP30174E HD which works fine, except it won't boot without a KS2 ROM which I don't have... The RocHard has the updated V2 PROMs.... Using a 40-44 IDE adapter... But that's a different problem...

It could be your CF card is not compatible with the Amiga using the IDE adaptor/converter you have. Some info about issues which might arise:
http://www.os2museum.com/wp/more-on-cf-cards/
https://www.hmisource.com/otasuke/fi...s/APNT1223.pdf

Individual Computers' TrueIDE may or may not help.

Another thing to consider though, is the different drive geometries. Your CF card will report a specific C/H/S geometry in its IDENTIFY DEVICE data. Your WinUAE config will be using a different geometry.

Try to determine your CF card's geometry. You could do that by connecting it (via IDE adaptor) to a PC, then run hdparm in Linux. Or maybe there's a PDF manual/specification for your specific card which gives that info?

TroelsDK 20 May 2017 20:18

Getting a bit to complicated for me now... I found out I have a friend who has a working setup like this, so I'll make some testing with his system. Luckily his way more technical than I am :)


All times are GMT +2. The time now is 23:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04931 seconds with 11 queries