document.write("\
<P>Double sided discs are assumed to be single step and flip-sided, but the\
   sidedness and stepping can be changed by function 1, requesting the\
   \"Other\" format types.\
<P>Sidedness of three kinds are recognised:\
<UL>\
  <LI>Flip-sides: Logical tracks 0-159 on alternate sides of the disc, from\
      physical track 0-79.\
  <LI>Up and Over A: Logical tracks 0-79 on side 0 of the disc. and logical\
      tracks 80-159 on side 1.\
  <LI>Up and Over B: this is the reverse of normal Up and Over on the second\
      side, so that both sides are identical.\
</UL>\
<P>The table below may (or may not) make this clearer.  If in doubt, use Flip\
   sides, which is the fastest and commonest format.  If you are trying to\
   read a strange disc and Flip sides produces nonsense, then try Up and\
   Over A, which is much more common than B.\
<BR><BR><CENTER><TABLE BORDER=1>\
  <TR><TH>Sidedness</TH><TH>Logical<BR>track n<SMALL><SUP><U>o</U></SUP></SMALL></TH>\
      <TH>Physical<BR>track n<SMALL><SUP><U>o</U></SUP></SMALL></TH><TH>Side</TH></TR>\
\
  <TR><TH VALIGN=TOP ALIGN=RIGHT ROWSPAN=5>Flip sides</TH>\
      <TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>1</TD><TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>1</TD></TR>\
  <TR><TD ALIGN=CENTER>2</TD><TD ALIGN=CENTER>1</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>3</TD><TD ALIGN=CENTER>1</TD><TD ALIGN=CENTER>1</TD></TR>\
  <TR><TD ALIGN=CENTER>159</TD><TD ALIGN=CENTER>80</TD><TD ALIGN=CENTER>1</TD></TR>\
\
  <TR><TH VALIGN=TOP ALIGN=RIGHT ROWSPAN=5>Up and Over A</TH>\
      <TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>1</TD><TD ALIGN=CENTER>1</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>79</TD><TD ALIGN=CENTER>79</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>80</TD><TD ALIGN=CENTER>79</TD><TD ALIGN=CENTER>1</TD></TR>\
  <TR><TD ALIGN=CENTER>159</TD><TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD></TR>\
\
  <TR><TH VALIGN=TOP ALIGN=RIGHT ROWSPAN=4>Up and Over B</TH>\
      <TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>79</TD><TD ALIGN=CENTER>79</TD><TD ALIGN=CENTER>0</TD></TR>\
  <TR><TD ALIGN=CENTER>80</TD><TD ALIGN=CENTER>0</TD><TD ALIGN=CENTER>1</TD></TR>\
  <TR><TD ALIGN=CENTER>159</TD><TD ALIGN=CENTER>79</TD><TD ALIGN=CENTER>0</TD></TR>\
</TABLE></CENTER>\
<P>Sidedness and stepping are recorded at &amp;BE3A and &amp;BE3D for drive A &amp; B\
   respectively.  They are set to the default values of 0 and &amp;8F on\
   initialisation and can be changed by poking new values.  The byte value is\
   worked out as follows (where x is any bit value):\
<UL>\
  <LI>&amp;Fx = 40 tracks single stepping\
  <LI>&amp;8x = 80 tracks single stepping\
  <LI>&amp;4x = 40 tracks double stepping\
  <LI>&amp;xF = Double sided Flip sided\
  <LI>&amp;x8 = Double sided Up and Over A\
  <LI>&amp;x4 = Double sided Up and Over B\
  <LI>&amp;x2 = Single sided.\
</UL>\
<P>One powerful facility of RAMDOS is the ability to read or format tracks\
   whose logical track numbers are different from their physical track\
   numbers.  This allows the creation of protected discs which can only be\
   read with RAMDOS.  The physical track number is position of the track on\
   the disc (0-39 or 0-79), and the logical track number is the number\
   encoded into the sectors when formatting.  The offset is the difference\
   between them.  This offset must be poked into &amp;BE39 for drive A and &amp;BE3?\
   <I>[here the original documentation is unclear - DC]</I>\
   for drive B. The default value is zero, which allows the reading of all\
   normal formats.\
<P>The formats D10,D20,D40 and D80 hold more data because they use 10\
   sectors per track, instead of the normal 9.\
");