View Single Post
Old 19 December 2016, 21:41   #5
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,480
It's basically a partition image (there was one partition covering the entire disk, no RDB). It can be accessed fine in WinUAE without RDB mode. Load config and start emulation, there's this related log output:

Mounting uaehf.device 2 (0):
FS: mounted HDF unit IMG (0000-4db2cc00, Z:\dummymo.bin)
Partition 'IMG' Dostype=444F5301 (DOS\1) Flags: 00000000
BlockSize: 1024, Surfaces: 51, SectorsPerBlock 1
SectorsPerTrack: 109, Reserved: 2, LowCyl 0, HighCyl 228
, Size 1243M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: -128
Total blocks: 1273011, Total disk blocks: 1273011
First block 0 dostype: 444F5301 (DOS\1)
RDB: fakefilesys, trying to load 'Z:\Shared\FastFileSystem_45.14', dostype 0x444F5301 (DOS\1)
RDB: 444F5301 (DOS\1) in FileSystem.resource version 40.1
RDB: faked RDB filesystem 444F5301 (DOS\1 45.14) loaded. ADD2FS=0


The partition is mounted automatically, albeit with the wrong fake geometry (as in the config file).

Now press F12, double-click the IMG entry in the list of drives to open Hardfile Settings window. Click "..." button to right of Path box. Cancel file dialog that appears. Notice the geometry shown reverts to the correct one (i.e. as specified in default.geo). Also note the bogus 79563/1/32 text.

Click OK to dismiss Hardfile Settings window then click Reset to reboot. This time the partition is mounted with the correct fake geometry:
Mounting uaehf.device 2 (0):
FS: mounted HDF unit IMG (0000-4db2cc00, Z:\dummymo.bin)
Partition 'IMG' Dostype=444F5301 (DOS\1) Flags: 00000000
BlockSize: 1024, Surfaces: 1, SectorsPerBlock 1
SectorsPerTrack: 51, Reserved: 2, LowCyl 0, HighCyl 24960
, Size 1243M
Buffers: 50, BufMemType: 00000001, MaxTransfer: 7fffffff, Mask: ffffffff, BootPri: -128
Total blocks: 1273011, Total disk blocks: 1273011
First block 0 dostype: 444F5301 (DOS\1)
RDB: fakefilesys, trying to load 'Z:\Shared\FastFileSystem_45.14_hacked', dostype 0x444F5301 (DOS\1)
RDB: 444F5301 (DOS\1) in FileSystem.resource version 40.1
RDB: faked RDB filesystem 444F5301 (DOS\1 45.14) loaded. ADD2FS=0


As I mentioned above, if you save the config then, for some reason WinUAE writes the wrong geometry to the config file.
mark_k is offline  
 
Page generated in 0.05051 seconds with 9 queries