document.write("\n\
<H4>Patching a CP/M + disk</H4>\n\
<P>The following instructions show how to reconfigure the CP/M + on your\n\
   Start of Day Disc so that it can access Drive B without calling RAMDOS+.\n\
   <SPAN STYLE=\"text-align:center; font-weight:bold; color:#FF4040\"><BLINK>\n\
     Do not reconfigure your original System Disc.</BLINK></SPAN>\n\
<P>These instructions are for use with a single disc drive, and it may be\n\
   less confusing if you disconnect drive B while reconfiguring your disc.\n\
<P>Reset your computer by pressing CTRL-SHIFT-ESC simultaneously.\n\
   Put your copy of the System Disc in Drive A, with Side A uppermost.\n\
<P>Type in the commands which are underlined, and follow the instructions in\n\
   square brackets. The other words are the responses made by the computer.\n\
<P STYLE=\"text-align:center; font-weight:bold; color:#FF4040\"><BLINK>\n\
   You carry out the following procedure at your own risk.  Although I have\n\
   checked this data, you should be aware that OCR errors may have slipped\n\
   through, and entering incorrect data will bugger things <I>really</I> spectacularly.</BLINK>\n\
<PRE><U>|CPM</U>                    [Enter]\n\
[Turn the disc over. Press any key.]\n\
A&gt; <U>B:SAVE</U>               [Enter]\n\
A&gt; <U>B:SID C1OCPM3.EMS</U>    [Enter]\n\
CP/M 3 SID - Version 3.0\n\
?\n\
&#163; <U>G100</U> [Put the disc to be reconfigured\n\
   in drive A and press ENTER.]\n\
CP/M 3 SID - Version 3.0\n\
NEXT MSZE  PC  END\n\
6500 6500 0100 D2FF\n\
&#163; <U>S1087</U>                 [Enter]\n\
1087 32   <U>C3</U>            [Enter]\n\
1088 DD   <U>E2</U>            [Enter]\n\
1089 B0   <U>0E</U>            [Enter]\n\
108A C9   <U>X</U>             [Enter]\n\
?\n\
&#163; <U>S10A2</U>                 [Enter]\n\
10A2 FF   <U>32</U>            [Enter]\n\
10A3 FF   <U>DD</U>            [Enterl\n\
10A4 FF   <U>B0</U>            [Enter]\n\
\n\
[Continue typing the following numbers,\n\
   pressing ENTER after each]\n\
\n\
21 E5 03 11 7F FF 01 1B 00 ED B0 C9\n\
\n\
10B1 FF   <U>X</U>             [Enter]\n\
?\n\
&#163; <U>S5A5</U>                  [Enter]\n\
05A5 FF   <U>28</U>            [Enter]\n\
05A6 FF   <U>00</U>            [Enter]\n\
05A7 FF   <U>04</U>            [Enter]\n\
\n\
[Continue typing the following numbers,\n\
   pressing ENTER after each]\n\
\n\
0F 00 8F 01 FF 00 F0 00 20 00 00 00\n\
02 03 01 50 0A 31 00 02 09 10 60 FF\n\
\n\
05C0 32   <U>X</U>                   [Enter]\n\
?</PRE>\n\
\n\
<PRE>&#163; <U>SF1A</U>                        [Enter]\n\
0F1A 79   <U>CD</U>                  [Enter]\n\
0F1B F6   <U>F8</U>                  [Enter]\n\
0F1C 20   <U>01</U>                  [Enter]\n\
0F1D 23   <U>X</U>                   [Enter]\n\
?\n\
&#163; <U>S3B8</U>                        [Enter]\n\
03B8 FF   <U>79</U>                  [Enter]\n\
03B9 FF   <U>E6</U>                  [Enter]\n\
03BA FF   <U>03</U>                  [Enter]\n\
03BB FF   <U>F6</U>                  [Enter]\n\
03BC FF   <U>20</U>                  [Enter]\n\
03BD FF   <U>C9</U>                  [Enter]\n\
03BE FF   <U>X</U>                   [Enter]\n\
?\n\
&#163;[Press CTRL &amp; C together]\n\
CP/M 3 SAVE - Version 3.0\n\
Enter file (type RETURN to Exit):\n\
   <U>C10CPM3.EMS</U>                [Enter]\n\
Delete C10CPM3.EMS? <U>Y</U>         [Enter]\n\
Beginning hex address <U>100</U>     [Enter]\n\
Ending hex address <U>6500</U>       [Enter]\n\
A&gt;</PRE>\n\
The disc is now reconfigured.\n\
<A NAME=otherformats></A><H4>Technical details</H4>\n\
<P>This patch enables CP/M + to recognise a 5.25\" drive B.\n\
   It can only be used on CP/M + on the CPC, and not on CP/M 2.2\n\
   Plus on the PCW.\n\
<P>The DPB values are the ones poked into &amp;5A5-&amp;5BF.  The values\n\
   above are for the D20 format.  If you wish to have a different\n\
   format, use the following values:\n\
<PRE STYLE=\"font-size:8pt\">D1:  14 00 04 0F 00 67 01 7F 00 C0 00 20 00 00\n\
     00 02 03 01 50 09 01 00 02 2A 52 60 FF\n\
D10: 28 00 04 0F 00 8F 01 7F 00 C0 00 20 00 00\n\
     00 02 03 01 50 0A 11 00 02 09 10 60 FF\n\
D2:  24 00 04 0F 00 67 01 FF 00 F0 00 20 00 00\n\
     00 02 03 01 50 09 21 00 02 2A 52 60 FF\n\
D20: 28 00 04 0F 00 8F 01 FF 00 F0 00 20 00 00\n\
     00 02 03 01 50 0A 31 00 02 09 10 60 FF\n\
D40: 28 0O 04 0F 00 C7 00 7F 00 C0 00 20 00 00\n\
     00 02 03 01 28 0A 51 00 02 09 10 60 FF\n\
D80: 28 00 04 0F 00 C7 00 7F 00 C0 00 20 00 00\n\
     00 02 03 00 50 0A 71 00 02 09 10 60 FF</PRE>\n\
");