Added examples to the sim_disk attach help
This commit is contained in:
parent
123a398f75
commit
9dcf5dc25e
1 changed files with 51 additions and 1 deletions
52
sim_disk.c
52
sim_disk.c
|
@ -1196,7 +1196,57 @@ fprintf (st, " -X When creating a VHD, create a fixed sized VHD (vs
|
|||
fprintf (st, " expanding one).\n");
|
||||
fprintf (st, " -D Create a Differencing VHD (relative to an already existing VHD\n");
|
||||
fprintf (st, " disk)\n");
|
||||
fprintf (st, " -M Merge a Differencing VHD into its parent VHD disk\n");
|
||||
fprintf (st, " -M Merge a Differencing VHD into its parent VHD disk\n\n");
|
||||
fprintf (st, "Examples:\n");
|
||||
fprintf (st, " sim> show rq\n");
|
||||
fprintf (st, " RQ, address=20001468-2000146B*, no vector, 4 units\n");
|
||||
fprintf (st, " RQ0, 159MB, not attached, write enabled, RD54, autosize, SIMH format\n");
|
||||
fprintf (st, " RQ1, 159MB, not attached, write enabled, RD54, autosize, SIMH format\n");
|
||||
fprintf (st, " RQ2, 159MB, not attached, write enabled, RD54, autosize, SIMH format\n");
|
||||
fprintf (st, " RQ3, 409KB, not attached, write enabled, RX50, autosize, SIMH format\n");
|
||||
fprintf (st, " sim> atta rq0 RA81.vhd\n");
|
||||
fprintf (st, " sim> show rq0\n");
|
||||
fprintf (st, " RQ0, 456MB, attached to RA81.vhd, write enabled, RA81, autosize, VHD format\n");
|
||||
fprintf (st, " sim> set rq2 ra92\n");
|
||||
fprintf (st, " sim> att rq2 -f vhd RA92.vhd\n");
|
||||
fprintf (st, " RQ2: creating new file\n");
|
||||
fprintf (st, " sim> sho rq2\n");
|
||||
fprintf (st, " RQ2, 1505MB, attached to RA92.vhd, write enabled, RA92, autosize, VHD format\n");
|
||||
fprintf (st, " sim> ! dir RA92.vhd\n");
|
||||
fprintf (st, " Volume in drive H is New Volume\n");
|
||||
fprintf (st, " Volume Serial Number is F8DE-510C\n\n");
|
||||
fprintf (st, " Directory of H:\\Data\n\n");
|
||||
fprintf (st, " 04/14/2011 12:57 PM 5,120 RA92.vhd\n");
|
||||
fprintf (st, " 1 File(s) 5,120 bytes\n");
|
||||
fprintf (st, " sim> atta rq3 -c RA92-1.vhd RA92.vhd\n");
|
||||
fprintf (st, " sim> atta rq3 -c RA92-1.vhd RA92.vhd\n");
|
||||
fprintf (st, " RQ3: creating new virtual disk 'RA92-1.vhd'\n");
|
||||
fprintf (st, " RQ3: Copied 1505MB. 99% complete.\n");
|
||||
fprintf (st, " RQ3: Copied 1505MB. Done.\n");
|
||||
fprintf (st, " sim> sh rq3\n");
|
||||
fprintf (st, " RQ3, 1505MB, attached to RA92-1.vhd, write enabled, RA92, autosize, VHD format\n");
|
||||
fprintf (st, " sim> ! dir RA92*\n");
|
||||
fprintf (st, " Volume in drive H is New Volume\n");
|
||||
fprintf (st, " Volume Serial Number is F8DE-510C\n\n");
|
||||
fprintf (st, " Directory of H:\\Data\n\n");
|
||||
fprintf (st, " 04/14/2011 01:12 PM 5,120 RA92-1.vhd\n");
|
||||
fprintf (st, " 04/14/2011 12:58 PM 5,120 RA92.vhd\n");
|
||||
fprintf (st, " 2 File(s) 10,240 bytes\n");
|
||||
fprintf (st, " sim> sho rq2\n");
|
||||
fprintf (st, " RQ2, 1505MB, not attached, write enabled, RA92, autosize, VHD format\n");
|
||||
fprintf (st, " sim> set rq2 ra81\n");
|
||||
fprintf (st, " sim> set rq2 noauto\n");
|
||||
fprintf (st, " sim> sho rq2\n");
|
||||
fprintf (st, " RQ2, 456MB, not attached, write enabled, RA81, noautosize, VHD format\n");
|
||||
fprintf (st, " sim> set rq2 format=simh\n");
|
||||
fprintf (st, " sim> sho rq2\n");
|
||||
fprintf (st, " RQ2, 456MB, not attached, write enabled, RA81, noautosize, SIMH format\n");
|
||||
fprintf (st, " sim> atta rq2 -c RA81-Copy.vhd VMS055.dsk\n");
|
||||
fprintf (st, " RQ2: creating new virtual disk 'RA81-Copy.vhd'\n");
|
||||
fprintf (st, " RQ2: Copied 456MB. 99% complete.\n");
|
||||
fprintf (st, " RQ2: Copied 456MB. Done.\n");
|
||||
fprintf (st, " sim> sho rq2\n");
|
||||
fprintf (st, " RQ2, 456MB, attached to RA81-Copy.vhd, write enabled, RA81, noautosize, VHD format\n");
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue