home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / MBUG / MBUG004.ARC / SETDISK.DOC < prev    next >
Text File  |  1979-12-31  |  17KB  |  344 lines

  1. .PL 66
  2. .MT 6
  3. .MB 5
  4. .PO 3
  5.  
  6. SETDISK.DO├  v.31.10.85
  7. ===========
  8.  
  9.  
  10. ááá  ááDocumentation for     SETDISK.COM V1.0       (C⌐ Marδ Bisho≡ 
  11. ááá                          SETDISK.WST
  12.  
  13. ááá        How to read and write to foreign CP/M computer disks
  14.  áá                         with your Microbee
  15.  
  16.  
  17. GENERAL
  18.  
  19. SETDIS╦á  comprise≤ thσ file≤ SETDISK.CO═ anΣ SETDISK.WST¼á  anΣá ha≤á beeε ì
  20. designeΣá a≤ ß replacemen⌠ Microbeσ utilit∙ fo≥ SETDRIVE.COM¼á  supplieΣ b∙ ì
  21. ApplieΣá Technology«á  SETDIS╦ i≤ ß utilit∙  t∩ read¼á era(se)¼á anΣá writσ ì
  22. file≤  t∩ foreigε CP/═ disks.
  23.  
  24. SETDRIVE'≤ majo≥ disadvantagσ i≤ tha⌠ i⌠ i≤ extremel∙ difficul⌠ t∩ adΣá ne≈ ì
  25. foreigεá disδ formats«á  SETDRIV┼ ha≤ t∩ bσ disassembled¼á  ne≈ datß added¼ ì
  26. theεá re-assembled«á  SETDIS╦á overcome≤ thi≤ probleφ b∙ usinτá ßá separatσ ì
  27. Wordstar datß filσ calleΣ SETDISK.WS╘ fo≥ thσ disδ formats«á  Thi≤ filσ ha≤ ì
  28. datß fo≥ morσ thaε 9╖ foreigε CP/═ disδ formats¼ wa≤ createΣ anΣ i≤ amendeΣ ì
  29. b∙ usinτ  WORDSTA╥  iε thσ documen⌠ mode«á  Thσ datß ha≤ beeε gleaneΣá froφ ì
  30. man∙  sources¼  somσ  ha≤ no⌠  beeε tested¼  anΣ i≤ offereΣ  'a≤ is'« 
  31.  
  32. ┴á differen⌠á versioεá oµá SETDRIV┼ wil∞ probabl∙ bσá requireΣá fo≥á futurσ ì
  33. version≤ oµ thσ Microbeσ BIOS«á  SETDIS╦ V1.░ ha≤ beeε designeΣ t∩á operatσ ì
  34. witΦá al∞ BIO╙ version≤ u≡ t∩ numbe≥ 1░ (56╦ A.P.C.¼á 128╦ S.B.C.⌐ anΣ als∩ ì
  35. ha≤á ß tablσ patchablσ unde≥ DD╘ ZSI─ MONITO╥ etc«á t∩ accommodatσ ┤á othe≥ ì
  36. BIO╙á versions«á  Unfortunatel∙ thσ 3.5ó C.I.A.B«á BIO╙ (versioε numbe≥á 6⌐ ì
  37. doe≤á no⌠ suppor⌠ othe≥ disδ format≤ a≤ i⌠ doesn'⌠ havσ ß sparσ Ske≈ table¼ ì
  38. s∩ canno⌠ bσ useΣ witΦ eithe≥ SETDRIV┼ o≥ SETDISK.
  39.  
  40. SETDIS╦ i≤ dependen⌠  oε you≥ hardware«á   Iε othe≥ words¼á don'⌠ expec⌠ t∩ ì
  41. reaΣá 8óá o≥á 8░á tracδ disk≤ iµ yo⌡ onl∙á havσá 4░á tracδá drives«á Unles≤ ì
  42. specified¼  datß i≤ fo≥ 5ó disks.
  43.  
  44.  
  45. SETDIS╦ USAGE
  46.  
  47. SETDISK.CO═ ª SETDISK.WS╘  mus⌠ bσ oε thσ currentl∙ 'loggeΣ inº drive«    
  48. The syntax for usage is identical to SETDRIVE.
  49.  
  50. áááá         SETDISK drivename: format
  51.  
  52. áááá   eg.   SETDISK B: KAYPRO 2
  53.  
  54. Space≤ arσ requireΣ betweeε SETDIS╦ drivename║ anΣ format«  Drivenamσ i≤ A¼ ì
  55. B¼ C¼ o≥ D«  Forma⌠ caε bσ shorteneΣ eg« SETDRIV┼ B║ ╦  wil∞ finΣ thσ firs⌠ ì
  56. forma⌠ iε SETDISK.WS╘ startinτ witΦ thσ lette≥ K.
  57.  
  58.  
  59. .PAèADDIN╟ NE╫ FORMAT╙ T╧ SETDISK.WST
  60.  
  61. *****¬ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ ******
  62. ¬                                                                  *
  63. ¬      Pleasσ advisσ mσ wheε yo⌡ adΣ new¼ o≥ edi⌠ olΣ format≤      *
  64. ¬      s∩ ╔ caε distributσ ß 'lates⌠ versionº oµ  SETDISK.WS╘      *
  65. ¬      t∩ everyonσ viß thσ Melbournσ Microbeσ Bulletiε Board«      *
  66. ¬                                                                  *
  67. ¬      Leavσ ß messagσ oε thσ  Bulletiε Board¼  o≥ post to :-      *
  68. ¬                                                                  *
  69. ¬                       Marδ Bisho≡                                *
  70. ¬                       2╕ Tademß Crescent¼                        *
  71. ¬                       Eltham¼  Victoria«                         *
  72. ¬                       Australia«   309╡                          *
  73. ¬                                                                  *
  74. *****¬ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ NOT┼ ******
  75.  
  76.                            
  77. To add a new format the following details must be known:-
  78.  
  79. Numbe≥ oµ track≤ pe≥ disk¼ whethe≥ singlσ o≥ double-sided¼ cylinde≥ o≥ non-ì
  80. cylinde≥ format¼á logica∞ secto≥ size¼ al∞ thσ disδ paramete≥ blocδ values¼ ì
  81. anΣ thσ disδ ske≈ translatσ table.
  82.  
  83.       
  84. SETDISK.WS╘ i≤ editeΣ b∙ usinτ WORDSTA╥ iε thσ (D)ocumen⌠ mode.
  85. Prio≥ t∩ editing¼  se⌠ righ⌠ columε t∩ 80¼  b∙ ^O╥  theε 80.
  86. Ne≈ system≤ arσ entereΣ iε alphabetica∞ order«  Thi≤ i≤ onl∙ t∩ makσ systeφ ì
  87. descriptor≤ eas∙ t∩ finΣ wheε type(ing⌐ o≥ editinτ thσ file¼á anΣ t∩á allo≈ ì
  88. shorteneΣ descriptor≤ oε thσ commanΣ line.  Data example for Microbee.
  89.  
  90.  
  91. *Microbee (40T, DS, DD, 390K)
  92. 1,3,40,4,15,1,194,127,192,0,32,2
  93. 2,5,8,1,4,7,10,3,6,9
  94.  
  95.        
  96. firs⌠ linσ :-  MUS╘ star⌠ witΦ aε ¬ theε ß descriptioε oµ thσ system.
  97.                Al∞ oµ thσ descriptioε MUS╘ bσ oε thσ onσ line.
  98.  
  99. seconΣ line:-  UDFLAG,SECMSK,SPT,BSH,BLM,EXM,DSM,DRM,AL0,AL1,CKS,OFF
  100.                Thesσ value≤ MUS╘ bσ iε decimal¼  separateΣ b∙ comma≤ 
  101.                o≥ spaces¼   anΣ MUS╘ bσ oε thσ onσ line.
  102.                SETDISK checks for 12 data items on this line.
  103.  
  104. thirΣ linσ :-  Ske≈ translatσ table« Thesσ value≤ MUS╘ bσ iε decimal¼ 
  105.                separateΣ b∙ commß o≥ space¼  anΣ ma∙ bσ oε morσ than
  106.                onσ line.  The skew is for logical sectors.
  107.                SETDISK checks that the number of skew data items
  108.                equals SPT/(SECMSK+1).
  109.  
  110.  
  111.  
  112.  
  113. .PAèMicrobeσ specifiπ data
  114. ----------------------
  115. UDFLA╟      -  up/dowε flag.
  116.                ░╜35 or 4░ tracδ single-sideΣ o≥ double-sideΣ non-cylinde≥.
  117.                1=35 or 40 track double-sided cylinder.
  118.                2=80 track single-sided or double-sided non cylinder.
  119.                3=80 track double-sided cylinder.
  120.  
  121.                bi⌠ ░ se⌠ ╜ cylinde≥ format¼  rese⌠ ╜ single-sideΣ disk
  122.                o≥ non-cylinde≥ format.
  123.                bi⌠ ▒ se⌠ ╜ 8░ tracδ disk¼  rese⌠ ╜ 35 or 4░ tracδ disk
  124.              á BIO╙ V.▒ t∩ V.1░ onl∙ support≤ =╝ 4░ tracδá D.SideΣ ì
  125.                or =< 80 track S.Sided disks 
  126.  
  127. SECMS╦      -  secto≥ mask« á ░ = logica∞ secto≥ sizσ 12╕ bytes¼
  128.                ▒ ╜ 256¼  │ ╜ 512«  Sector≤ ╛ 51▓ canno⌠ bσ reaΣ b∙ Microbeσ ì
  129.                BIOS versions to this date.
  130.  
  131.  
  132. StandarΣ CP/═ Disδ Paramete≥ Blocδ (DPB⌐ data
  133. ---------------------------------------------
  134. SP╘         -  numbe≥ oµ 12╕ bytσ records/track       2 bytes
  135. BS╚         -  blocδ shif⌠ factor                     1
  136. BL═         -  blocδ mask                             1
  137. EX═         -  exten⌠ mask                            1
  138. DS═         -  disδ spacσ maximum                     2
  139. DR═         -  director∙ maximum                      2
  140. AL░         -  allocatioε vecto≥ 0                    1
  141. AL▒         -  allocatioε vecto≥ 1                    1
  142. CK╙         -  checδ areß size                        2
  143. OF╞         -  reserveΣ tracδ offset                  2
  144.                                                     -----
  145.                                               total  15 bytes        
  146. Seσ   'Insidσ CP/Mº  b∙ DaviΣ Cortesi¼á  p.23▓  fo≥ ß detaileΣá descriptioε ì
  147. oµ thσ DP┬ data.
  148.  
  149.  
  150. FINDIN╟ FOREIG╬ SYSTE═ DATA
  151.  
  152. Thi≤á datß i≤ seldoφ iε thσ releven⌠ compute≥ manual«á  Iµ possiblσ asδ thσ ì
  153. equipmen⌠ vendo≥ fo≥ thσ details¼ howeve≥ i⌠ i≤ unlikel∙ hσ wil∞ bσ ablσ t∩ ì
  154. help«á  Nex⌠á asδá ßá 'hackerº wh∩ own≤ thσá typσá oµá equipment¼á vißá thσ ì
  155. appropriatσá use≥á group«á  Iµá thi≤á fail≤ yo⌡ wil∞ havσ t∩á d∩á you≥á owε ì
  156. sleuthing«á GooΣá luck«á Beforσá startinτá yo⌡ mus⌠ bσá certaiεá tha⌠á you≥ ì
  157. hardwarσá i≤ thσ samσ a≤ thσ foreigε systeφ eg«á i⌠ doe≤ no⌠ havσ 8░á tracδ ì
  158. drive≤ anΣ your≤ arσ 4░ track« 
  159.  
  160. Thσá DP┬á datß caε bσ founΣ quitσ easil∙ b∙ mean≤ oµ ßá shor⌠á machine-codσ ì
  161. program¼á entereΣ int∩ thσ foreigε CP/═ compute≥ witΦ DDT¼ whicΦ ever∙ CP/═ ì
  162. systeφ i≤ supplieΣ witΦ.   The  Origiε oµ prograφ i≤ 4000H.
  163.  
  164. áááá4000: 0E 00 11 18 00 2A 01 00 19 11 0E 40 D5 E9 11 20
  165. áááá4010: 40 01 10 00 ED B0 C3 00 00 00 00 00 00 00 00 00
  166. áááá4020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  167. .PAèAfte≥ entry¼á G400░ t∩ ruε thσ program«  Compute≥ wil∞ warφ boo⌠ oε prograφ ì
  168. exit«    Ruε DD╘ agaiε anΣ displa∙ 402░ - 402F╚ whicΦ i≤ ß cop∙ oµ thσ Disδ ì
  169. Paramete≥á Header¼á witΦá 4020/1╚á beinτ thσ BIO╙ ske≈á tablσá addres≤á anΣ ì
  170. 402A/B╚á beinτ thσ BIO╙ DP┬ addres≤ iε thσ usua∞ LSB/MS┬á format«á  Iµá thσ ì
  171. ske≈ tablσ addres≤ a⌠ 4020/1╚ i≤ 0░ 00¼á theε eithe≥ therσ i≤ n∩ skewinτ oµ ì
  172. logica∞á sector≤ oε thσ disδ o≥ skewinτ i≤ handleΣ internall∙ by thσá BIOS, ì
  173. eτ Microbee«    Thesσ arσ thσ result≤ fo≥ BIO╙ V.▒ oε thσ Microbee.
  174.  
  175.  
  176. áááá4020: 00 00 36 00 00 00 00 00 A2 DA BD D6 35 DD B5 DD
  177. áááá      \___/                         \___/
  178. ááááskew handled by BIOS.       DPB address in BIOS D6BDH.
  179.  
  180.  
  181. Thσá DP┬á i≤ 1╡ byte≤ iε length«á Parameter≤á arσá  SPT(▓á bytes)¼á BSH(1)¼ ì
  182. BLM(1)¼á EXM(1)¼á DSM(2)¼á DRM(2)¼á AL0(1)¼á AL1(1)¼ CKS(2)¼ OFF(2)«   EacΦ ì
  183. paramete≥ mus⌠ bσ converteΣ t∩ decimal¼ fo≥ entr∙ int∩ thσ seconΣ datß linσ ì
  184. oµ SETDISK.WST«  
  185.  
  186. Usinτáá Wordsta≥á edi⌠á SETDISK.WS╘á usinτá (D)ocumen⌠á mode«áá  FinΣáá thσ ì
  187. alphabetica∞á positioεá fo≥á thσ ne≈ system¼á  ente≥ aε ¬ theεá thσá systeφ ì
  188. descriptor¼ forma⌠ a≤ fo≥ previou≤ entries.
  189.  
  190. Oε thσ seconΣ linσ ente≥ UDFLAG¼ SECMSK¼ anΣ 1░ decima∞ value≤ fo≥ thσ DPB« ì
  191. Thσ tota∞ numbe≥ oµ datß item≤ oε thi≤ linσ MUS╘ bσ 1▓ o≥ you'l∞ ge⌠ ß 'baΣ ì
  192. dataº message«  Iµ UDFLA╟ anΣ SECMS╦ arσ no⌠ known¼ ente≥ zero(s)«  
  193.  
  194. Oεá thσá  thirΣ linσ  ente≥ thσ  ske≈ tablσ  iµ known¼á   o≥á dumm∙á value≤ ì
  195. 1,2,3,4,5,6,...«á etc«á iµ no⌠ known«á  Tota∞ numbe≥ oµ datß item≤ MUS╘á bσ ì
  196. equa∞ t∩ SPT/(SECMSK+1⌐ o≥ you'l∞ ge⌠ ß 'baΣ dataºá message«á eg«á Microbeσ ì
  197. SPT=4░á decimal¼á SECMSK=│ (51▓ bytσ logica∞ secto≥ size)¼á numbe≥ oµá datß ì
  198. item≤ ╜ 40/(3+1⌐ ╜ 10«  
  199.  
  200. Oncσá thσ abovσ figure≤ arσ iε thσ file¼á yo⌡ caε usσ SETDIS╦ t∩ 'setºá thσ ì
  201. foreigεá systeφá t∩á you≥ 'Bº disδ drivσ anΣ reaΣ thσ datß usinτá thσá BOO╘ ì
  202. Monitor.
  203. áááá
  204. Freshl∙ forma⌠ ß disδ oε thσ foreigε system¼á anΣ savσ abou⌠ 4╕á read/writσ ì
  205. file≤á oε it«á I⌠ i≤ easies⌠ t∩ usσ ß basiπ program«á ie«á FO╥ A0=▒ T╧á 48║ ì
  206. A1$="-"+STR(A0)║á SAV┼ A1$║á NEX╘ A0« O≥ elsσ froφ thσ B╛ promp⌠ savσ ▒ -1¼ ì
  207. savσ ▒ -▓ ....« savσ ▒ -48«   Then oε thσ foreigε systeφ d∩ ß DI╥ *.¬ ^╨ t∩ ì
  208. thσ printer.
  209.  
  210. Wha⌠á wσ wan⌠ t∩ d∩ i≤ reaΣ thσ director∙ oµ thσ foreigε disδ int∩á memory¼ ì
  211. s∩ wσ caε usσ thσ Monito≥ anΣ figurσ ou⌠ thσ logica∞ secto≥ sizσ anΣá skew«  ì
  212. Director∙á entrie≤á oε thσ disδ arσ iε thσ samσ sequencσ tha⌠á DI╥á output≤ ì
  213. them¼á anΣ arσ 3▓ byte≤ iε length«  ie« ┤ entrie≤ fo≥ 12╕ bytσ secto≥ size¼ ì
  214. ╕ fo≥ 256¼ 1╢ fo≥ 512« Thσ director∙ alway≤ start≤ oε thσ firs⌠ tracδ afte≥ ì
  215. thσ reserveΣ systeφ tracks«á  Thσ numbe≥ oµ reserveΣ systeφ track≤ i≤ founΣ ì
  216. iε thσ DP┬ 'OFFº value«á  Tracδ number≤ star⌠ froφ 0¼á secto≥ number≤ star⌠ ì
  217. froφ 1«  
  218.  
  219. Froφá thσ disk-controller'≤ poin⌠ oµ vie≈ tracδ number≤ increasσá froφá thσ ì
  220. edgσ t∩ thσ centrσ oε botΦ side≤ ░ anΣ 1« Howeve≥ thσ Microbeσ BIO╙ number≤ ì
  221. thσ track≤ froφ ░ a⌠ thσ edgσ oµ sidσ ░ t∩ 3╣ a⌠ thσ centre¼ theε 4░ a⌠ thσ ìèCENTR┼á oµá sidσ ▒ outwarΣ t∩ 7╣ a⌠ thσ edgσ oµ sidσ 1«á Fo≥á thσá Microbeσ ì
  222. 'OFFº ╜ 2¼ s∩ thσ director∙ start≤ a⌠ logica∞ tracδ 2« Iµ thσ UDFLA╟ iε thσ ì
  223. BIO╙ i≤ 0¼á track≤ arσ read/writteε t∩ iε orde≥ 0-79¼á s∩ wσ woulΣ looδ fo≥ ì
  224. thσá star⌠ oµ thσ director∙ oε tracδ 2«á  Iµ UDFLA╟ i≤ 1¼á theε track≤á arσ ì
  225. read/writteεá t∩á iε thσ orde≥ 0,79,1,78,2,77,│ etc«á s∩ wσ woulΣá looδá oε ì
  226. tracδ 1«á  UDFLA╟ fo≥ thσ Microbeσ 390╦ ╡ 1/4ó disδ i≤ 1¼á C.I.A.B«á 390╦ │ ì
  227. 1/2ó disδ i≤ 0« 
  228.  
  229. Thσá Monito≥ synta° i≤ Y╥ tts≤ dddΣ llll«á Thi≤ read≤ lll∞ byte≤ froφ thσ ┬ ì
  230. drivσ int∩ memor∙ addres≤ dddΣ startinτ a⌠ tracδ t⌠ secto≥ ss«á X╥ doe≤ thσ ì
  231. samσá fo≥á drivσ A«á  Ente≥ Y╥ 010▒ 100░ 3000«á  Thi≤ i≤ fo≥á thσá Microbeσ   ì
  232. 390╦á ╡ 1/4"¼á changσ t⌠ a≤ applicable«á  ┼ 1000¼á notσ thσ addres≤ oµá thσ ì
  233. firs⌠ director∙ entr∙ (samσ filenamσ a≤ firs⌠ entr∙ oε DI╥ listing⌐ anΣá ^┌ ì
  234. dowεá thσ director∙ unti∞ yo⌡ seσ thσ star⌠ oµ E╡ formattinτá bytes«á  Thi≤ ì
  235. addres≤á - firs⌠ DI╥ entr∙ addres≤ ╜ logica∞ secto≥ size«á  ^╫ bacδ t∩á thσ ì
  236. las⌠ director∙ entr∙ anΣ notσ filσ name«á  Looδ a⌠ DI╥ listinτ fo≥ thσ NEX╘ ì
  237. filσ iε sequence«  Usσ ╙ commanΣ o≥ ^┌ dowε thσ filσ t∩ finΣ thi≤ director∙ ì
  238. entry«á  Usinτá thσá logica∞á secto≥ size¼á plu≤ lookinτ a⌠á thσá director∙ ì
  239. entrie≤ anΣ DI╥ listinτ yo⌡ caε figurσ ou⌠ thσ skew«  
  240.  
  241.  
  242. eg. Microbee 390K 5 1/4" disk
  243.  
  244. 1000 - 11FFH   E5 formatting bytes            512 bytes  sector  1
  245. 1200 - 13FFH   dir entries for files  1-16    512 bytes  sector  2
  246. 1400 - 17FFH   E5 formatting bytes           1024 bytes  sectors 3 & 4
  247. 1800 - 19FFH   dir entries for files 17-32    512 bytes  sector  5
  248. 1A00 - 1DFFH   E5 formatting bytes           1024 bytes  sectors 6 & 7
  249. 1E00 - 1FF0H   dir entries for files 33-48    512 bytes  sector  8
  250.  
  251.  
  252. Lookinτá a⌠á thσ datß wσ seσ tha⌠ thσ firs⌠ DI╥ entr∙ i≤ a⌠ 1200╚á anΣá thσ ì
  253. E5'≤á theε star⌠ a⌠ 1400H¼á s∩ thσ logica∞ secto≥ sizσ i≤ 1400-1200=200╚ o≥ ì
  254. 51▓á bytes«á  Thσ 200H/512─ byte≤ oµ secto≥ ▒ froφ 1000╚ arσ E5's¼á s∩á thσ ì
  255. firs⌠ DI╥ secto≥ numbe≥ i≤ 2«á Nex⌠ i≤ 400H/1024─ o≥ ▓ sector≤ oµ E5's¼á s∩ ì
  256. thσ nex⌠ DI╥ secto≥ numbe≥ i≤ 5¼á theε 8«á Froφ thσ datß wσ seσ thσ ske≈ i≤ ì
  257. 2,5,8«á Froφ thσ Microbeσ DP┬ data¼ wσ seσ tha⌠ SP╘ (thσ numbe≥ oµ 12╕ bytσ ì
  258. sector≤ pe≥ track⌐ i≤ 4░ decimal«á A≤ thσ 'Beσ use≤ 51▓ bytσ sector≤á therσ ì
  259. arσá 1░á sectors¼á s∩ wσ mus⌠ havσ 1░ ske≈ datß items«á  A≤ thσ ske≈ i≤á aε ì
  260. arithmetiπá progressioεá wσá g∩á 2,5,8,(11-10=1),(14-10=4)¼á (17-10=7),(20-ì
  261. 10=10),(23-20=3),(26-20=6),(29-20=9)«á  Thereforσá thσ ske≈ datß wσ pu⌠á iε ì
  262. SETDISK.WS╘ i≤ 2,5,8,1,4,7,10,3,6,9.
  263.  
  264. AmenΣ thσ SECMS╦ anΣ ske≈ tablσ iε SETDISK.WST«á  Iµ yo⌡ havσ figureΣ thesσ ì
  265. correctly¼ therσ i≤ onl∙ onσ othe≥ variablσ ie« UDFLAG«  Thi≤ caε onl∙ havσ ì
  266. ßá valuσá oµ ░ o≥ ▒ fo≥ 4░ tracδ disδ drives¼á ▓ o≥ │ fo≥ 8░ tracδá drives«  ì
  267. Tr∙ eacΦ value¼á usσ SETDIS╦ anΣ d∩ ß DIR«  Yo⌡ wil∞ havσ woε wheε you≥ DI╥ ì
  268. displa∙ EXACTL┘ matche≤ thσ DI╥ listinτ donσ oε thσ foreigεá computer«á Bu∙ ì
  269. yourselµá ß drink¼á yo⌡ deservσ one«á Iµ somσ DI╥ entrie≤ arσ missinτá theε ì
  270. eithe≥ thσ ske≈ o≥ UDFLA╟ arσ incorrect«á    Iµ neithe≥ UDFLA╟ valuσ works¼ ì
  271. rechecδ previou≤ steps«  
  272.  
  273.  
  274. .PAèPATCHIN╟ SETDISK.CO═ V1.░ BIO╙ VERSIO╬ TABLE
  275.  
  276. T∩á allo≈á fo≥ differen⌠ Microbeσ BIO╙ versions¼á SETDIS╦ use≤ ßá tablσá oµ ì
  277. offse⌠ addresses¼á whicΦ arσ addeΣ t∩ thσ JM╨ vecto≥ a⌠ 0001H«  Thi≤ vecto≥ ì
  278. i≤ t∩ WBOO╘ (warφ boot⌐ iε thσ BIOS¼á whicΦ i≤ thσ star⌠ oµ thσ BIO╙ ½á 3H«  ì
  279. BIO╙á V.▒ WBOO╘ ╜ D603H«á  Tablσ ▒ i≤ fo≥ BIO╙ version≤ ▒ t∩ 1░ anΣá shoulΣ ì
  280. NO╘á bσá altered«á  Table≤ ▓ t∩ ╡ arσ fo≥ patchinτ SETDIS╦ t∩ operatσá witΦ ì
  281. othe≥ BIO╙ versions« 
  282.   
  283. ¬á Firs⌠á tablσ bytσ i≤ BIO╙ versioε numbe≥ checkeΣ b∙á SETDISK«á  Thi≤á i≤ ì
  284. locateΣ a⌠ WBOO╘ ½ 30H«  
  285. For BIO╙ V.▒ D60│ ½ 3░ ╜ D63│  (D633H⌐ ╜ 1.
  286.  
  287. ¬ SeconΣ bytσ (filler⌐ i≤ alway≤ ░ anΣ i≤ onl∙ t∩ makσ tablσ lengtΦ u≡ t∩ ╕ ì
  288. bytes«  
  289.  
  290. ¬ ThirΣ ª fourtΦ byte≤ arσ offse⌠ froφ WBOO╘ t∩ UDFLA╟ address¼á whicΦ i≤ ▓ ì
  291. byte≤ prio≥ t∩ thσ sparσ DPB« ie« offse⌠ ╜ sparσ UDFLA╟ addres≤ - WBOOT.
  292. For  BIO╙ V.▒ offse⌠ CA╚ ╜ D6C─ - D603«  
  293.  
  294. ¬ FiftΦ ª sixtΦ byte≤ arσ offse⌠ froφ WBOO╘  t∩ thσ star⌠ oµ thσ sparσ ske≈ ì
  295. table«  ie« offse⌠ ╜ sparσ ske≈ address - WBOOT.
  296. For BIO╙ V.▒ offse⌠ DB╚ ╜ D6D┼ - D603.
  297.  
  298. ¬á SeventΦ anΣ eightΦ byte≤ arσ offse⌠ froφ  WBOO╘ t∩á DPB:«á DPB║á i≤á thσ ì
  299. vecto≥ addres≤ oµ thσ Disδ Paramete≥ block¼á locateΣ 0A╚ byte≤ int∩ DPBASE¼ ì
  300. thσ star⌠ oµ thσ Disδ Paramete≥ Header«  ie« offse⌠ ╜ DPBASE + 0A╚ - WBOOT.
  301. For BIO╙ V.▒ offse⌠ 4B╚ ╜ D64┤ ½ 0┴ - D603.
  302.  
  303. Offset≤ arσ entereΣ int∩ thσ tablσ iε thσ usua∞ LSB/MS┬ format.
  304.  
  305.  
  306. áááá                ;TABLE 1 FOR BIOS VERSIONS 1 - 10
  307. áááá                ;****  DO NOT ALTER TABLE 1  ****
  308. áááá05C3  01        DEFB      1         ;DUMMY CHECK BYTE BIOS v.1-10
  309. áááá05C4  00        DEFB      0         ;FILLER
  310. áááá05C5  CA00      DEFW      00CA      ;BIOS OFFSET SPARE UP/DOWN FLAG
  311. áááá05C7  DB00      DEFW      00DB      ;BIOS OFFSET SPARE SKEW TABLE
  312. áááá05C9  4B00      DEFW      004B      ;BIOS OFFSET DPBASE+0AH
  313.     
  314. áááá                ;TABLE 2
  315. áááá05CB  00        DEFB      0         ;BIOS VERSION NUMBER  
  316. áááá05CC  00        DEFB      0         ;FILLER
  317. áááá05CD  0000      DEFW      0000      ;BIOS OFFSET SPARE UP/DOWN FLAG
  318. áááá05CF  0000      DEFW      0000      ;BIOS OFFSET SPARE SKEW TABLE
  319. áááá05D1  0000      DEFW      0000      ;BIOS OFFSET DPBASE+0AH
  320.  
  321. áááá                ;TABLE 3
  322. áááá05D3  00        DEFB      0         ;BIOS VERSION NUMBER  
  323. áááá05D4  00        DEFB      0         ;FILLER
  324. áááá05D5  0000      DEFW      0000      ;BIOS OFFSET SPARE UP/DOWN FLAG
  325. áááá05D7  0000      DEFW      0000      ;BIOS OFFSET SPARE SKEW TABLE
  326. áááá05D9  0000      DEFW      0000      ;BIOS OFFSET DPBASE+0AH  
  327.  
  328. .PAèáááá                ;TABLE 4
  329. áááá05DB  00        DEFB      0         ;BIOS VERSION NUMBER  
  330. áááá05DC  00        DEFB      0         ;FILLER
  331. áááá05DD  0000      DEFW      0000      ;BIOS OFFSET SPARE UP/DOWN FLAG
  332. áááá05DF  0000      DEFW      0000      ;BIOS OFFSET SPARE SKEW TABLE
  333. áááá05E1  0000      DEFW      0000      ;BIOS OFFSET DPBASE+0AH
  334.  
  335. áááá                ;TABLE 5
  336. áááá05E3  00        DEFB      0         ;BIOS VERSION NUMBER  
  337. áááá05E4  00        DEFB      0         ;FILLER
  338. áááá05E5  0000      DEFW      0000      ;BIOS OFFSET SPARE UP/DOWN FLAG
  339. áááá05E7  0000      DEFW      0000      ;BIOS OFFSET SPARE SKEW TABLE
  340. áááá05E9  0000      DEFW      0000      ;BIOS OFFSET DPBASE+0AH
  341.  
  342.  
  343. END SETDISK.DOC
  344.