[Simh] RX image format

Alexander Voropay alec at sensi.org
Mon Sep 8 05:44:23 EDT 2008


2008/9/8 Bob Supnik <bob at supnik.org>:
> A SimH device image must contain a data item for <every> physical
> location on the device.

OK, I've created a test RX0 floppy image.

SIMH RX11 controller reads secrots in wrong (translated ? deblocked ?)
order.

 A simply test proggy which fills sectors with sector's number:
-----------------------------------
#include <stdio.h>
main (){
int nsect;
unsigned char bsector[128];
int i;
FILE *img;

img=fopen("fd.imd","w");

for (nsect=0;nsect<(77 * 26);nsect++) {
   for (i=0;i<128;i++) {bsector[i]=nsect % 256;};
   fwrite(bsector, 1, 128, img);
   };

fclose(img);
}
-----------------------------------

 A dump of this image *inside* of the RT-11 :
See a BLOCK NUMBER 3.


sim> attach rk0 rtv4_rk.dsk
sim> attach rx0 fd.imd
sim> boot rk0
....
. DUMP /OUTPUT:TT:/BYTES DX0:
DX0:
BLOCK NUMBER  000000
000/ 032 032 032 032 032 032 032 032 032 032 032 032 032 032 032 032
....
200/ 034 034 034 034 034 034 034 034 034 034 034 034 034 034 034 034
....
400/ 036 036 036 036 036 036 036 036 036 036 036 036 036 036 036 036
....
600/ 040 040 040 040 040 040 040 040 040 040 040 040 040 040 040 040
....
BLOCK NUMBER  000001
000/ 042 042 042 042 042 042 042 042 042 042 042 042 042 042 042 042
....
200/ 044 044 044 044 044 044 044 044 044 044 044 044 044 044 044 044
....
400/ 046 046 046 046 046 046 046 046 046 046 046 046 046 046 046 046
....
600/ 050 050 050 050 050 050 050 050 050 050 050 050 050 050 050 050
....
BLOCK NUMBER  000002
000/ 052 052 052 052 052 052 052 052 052 052 052 052 052 052 052 052
....
200/ 054 054 054 054 054 054 054 054 054 054 054 054 054 054 054 054
....
400/ 056 056 056 056 056 056 056 056 056 056 056 056 056 056 056 056
....
600/ 060 060 060 060 060 060 060 060 060 060 060 060 060 060 060 060
....
BLOCK NUMBER  000003
000/ 062 062 062 062 062 062 062 062 062 062 062 062 062 062 062 062
....
200/ 033 033 033 033 033 033 033 033 033 033 033 033 033 033 033 033
....
400/ 035 035 035 035 035 035 035 035 035 035 035 035 035 035 035 035
....
600/ 037 037 037 037 037 037 037 037 037 037 037 037 037 037 037 037
....
BLOCK NUMBER  000004
000/ 041 041 041 041 041 041 041 041 041 041 041 041 041 041 041 041




> I have an RT V4 floppy distro kit, and it boots correctly.

Could you make it available ?

--
-=AV=-



More information about the Simh mailing list