Hi Ralph, thanks for getting back to me so quickly.

On Saturday 15 July 2006 11:30, you wrote:
> That still looks odd.  Literally.  Given it should have a whole number
> of sectors, and sectors always have an even number of bytes, it should
> be an even number of bytes long.  It's 167,401.73828125 * 256 which just
> looks wrong.  What does
>
>     od -c HardImage1 | head
>     od -c HardImage1 | tail
>
> give?

arcem-1.00> od -c HardImage1|head
0000000  \0  \0  \0  \0   | 213 343 352 354  \f   | 352 020 361 237 345
0000020 020 361 237 345 020 361 237 345 237  \f 340 352 004 220 375 345
0000040 001 220 310 344 001 240   Z 342 004 360   ^ 302 004 240 233 345
0000060 020   Z 343 004 220 234 325  \0  \0   Y 323   p 220 237 325  \0
0000100 220 331 324   l 220 237 345 001  \0   9 343  \0 005 231 030 020
0000120 215 210 022 020 255   J 022  \0 005 211 030   X 220 237 025  \0
0000140 240 231 024 020 255 212 022  \0 240 211 024   D 260 217 345  \0
0000160 005 233 350 020 215 210 342 020   Z 343  \f 260 240 321   $ 240
0000200 237 325   $ 240 237 305   ` 240 017 345 020 255 240 343 004 360
0000220   ^ 302  \0 200 233 344  \b 300 213 342  \0 220 234 344  \0  \0

arcem-1.00> od -c HardImage1|tail
2144500  \0   X  \0   X  \0   X  \0   X  \0   X  \0   X  \0   X  \0   X
*
2144600  \0   X  \0   X  \0   X  \0   X  \0   X  \0   X  \b   X  \b   X
2144620  \b   X  \b   X  \b   X  \b   X  \b   X  \b   X  \b   X  \b   X
*
2144660  \b   X  \b   X  \b   X  \b   X  \b   X  \b   X  \b  \0  \0  \0
2144700  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
243364660  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
243364675

>
> > I now have:
> >
> > MFM disc
> > 1 980 5 17 512
>
> (Which is 42,649,600.)
>
> > Which I got by getting the right number of heads (!)
>
> That doesn't matter AFAICS as it's not a real drive.  I expect the
> emulation requires the various numbers to be within certain ranges, but
> otherwise you're free to pick what you want so the total is correct.
>
> > That gets me the following error
> >
> > -------------- HDC New command: Data=0x0 - unknown/unimplemented
> > PC=0x38e0028 HDC: Param block contents:  0x1  0x0  0x0  0x0  0x0  0xc 
> > 0x0  0x2  0xa9  0xa 0xd  0xc  0x0  0x0  0x0  0x0
> > Aborted
>
> This means the hard disc emulation was given a command by the emulated
> OS, RISC OS?, that it couldn't understand.  PC=0x38e0028 is the memory
> address of the RISC instruction.  This is odd.  What OS are you running
> and at what point does this occur, during boot, when you do something on
> the desktop, etc.

It's SuSE linux 9.2, and it occurs almost immediately - as soon as the RISC OS 
'initializing' splash screen appears.

>
> > which sort of looks like progress. arcem crashes at that point. I
> > suspect I still don't have the sector size right - could you give me
> > some guidance about that?
>
> A quick look at the code suggests the valid values are
>
>     cylinders 1..1024
>     heads 1..256
>     sectors 1..256
>     sectorlength 256|512|1024|2048|4096
>
> but I could be wrong.  That's a maximum of 274,877,906,944 bytes which is
> 268,435,456 KiB, 262,144 MiB, 256 GiB.
>
> First, find out why your disc image is an odd size.

I'm starting to wonder whether I remembered to binmode the FTP connection when 
I moved the image from the windows box it started on to this machine - a 
quick perl script is in order I think...s/\r\n/\n/; I'll give that a try 
now... nope, same size.


>
> BTW, do you know about David Boddie's user space ADFS disc image reader?
> ADFSlib.  It handles hard drive ADFS images, not just floppies IIRC.
>
Just tried that,
./ADF2INF.py -l ../IMAGE.000
gives me
Unrecognised disc image: ../IMAGE.000

I get the same thing if I try it against the blank 64mb image from the arcem 
download page.

I may be able to lay my hands on another A5000 in a couple of weeks, so I have 
another potential solution, but it would be nice to be able to set up a host 
filesystem in arcem and copy the data off wholesale. 

cheers,

Charles.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
arcem-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arcem-user

Reply via email to