Á Proposeä Standarä Formaô foò Quaä Densitù Micrï-Decisioî Diskettes (Standard© (Proposeä© (Max) Diskettå Formaô Numberº (1© (2© (3© (4© (5)* FORMAÔ DESCRIPTION: Usefuì Storagå (Bytes)º 186Ë 384Ë 394Ë 792Ë 816K Sideó (SS/DS)º SS DS SS DS DS Densitù (DD/QD)º DÄ DÄ QÄ QÄ QD CYLinderó formatteä: 4° 4° 8² 8± 84 BLocë Sizå (BLS)º 2Ë 2Ë 2Ë 4Ë 2K DISË PARAMETEÒ BLOCK: Sectoró Peò Tracë (SPT)º 4° 4° 4° 4° 40 Blocë SHifô factoò (BSH)º ´ ´ ´ µ 4 BLocë Masë (BLM)º 1µ 1µ 1µ 3± 15 EXtenô Masë (EXM)º ± ± ± 3 1 Disë Sizå Maximuí (DSM)º 9´ 19´ 199 19¹ 404 DiRectorù Maximuí (DRM)º 12· 19± 19± 19± 447 ALlocatioî Bytå ° (AL0)º C° E° E° C° FE ALlocatioî Bytå ± (AL1)º ° ° ° ° 0 ChecK Sizå (CKS)º 3² 4¸ 4¸ 4¸ 112 OfFSeô (OFS)º ² ² ² ² 2 CBIOÓ REQUIREMENTS: CBIOÓ CSÖ Sizå (Bytes)º 3² 4¸ 4¸ 4¸ 112 CBIOÓ ALÖ Sizå ¨Bytes)º 1² 2µ 2µ 2µ 51 ª  Foò  hackeró  only® Diskettå  formaô  (5©  requireó significanô expansioî oæ thå ALÖ anä CSÖ tableó iî  thå CBIOS®   Forgeô iô unlesó yoõ havå  CBIOS.MAC¬  M80.COÍ anä L80.COM. Diskettå formató (1© anä (2© arå generateä bù FORMAT.COÍ oî standarä 4¸  tracë  peò incè (tpi© drives® Theså arå thå  "standard¢  Singlå Sideä  Doublå Densitù (SSDD© anä Doublå Sideä Doublå Densitù  (DSDD© formató  thaô arå useä oî thå normaì Micrï-Decision®   Formató  (3)¬ (4© anä (5© arå designeä tï takå advantagå oæ thå increaseä  storagå capacitù  oæ 9¶ tpé "quaä density¢ drives® Alì threå  quaä  densitù formató makå uså oæ thå "extra¢ trackó thaô arå availablå beyonä thå normaì "last¢ cylinder® Iî anù case¬ FORMAT.COÍ musô bå patcheä tï generatå  theså  quaä densitù formats® Whilå somå  patchinç  oæ  thå CBIOÓ ió alsï required¬ onlù formaô (5© haó gonå sï "hoç wild¢ thaô thå  CBIOÓ  needó  tï  bå extensivelù  rå-written®   Formaô  (3©  ió basicallù thå DSDÄ formaô "unfolded¢ tï fiô oî onå sidå oæ á 9¶  tpé diskette® Iô ió includeä becauså thå Shugarô SA41° singlå sideä  9¶ tpé  drivå  ió sometimeó availablå foò aó littlå aó  onå  dollaò  aô computeò  "swað  meets"® Onlù twï "extra¢ trackó  arå  added¬  thuó keepinç  thå maximuí blocë numbeò belo÷ 200® Unlesó thå  CBIOÓ  ALÖ tableó arå expandeä beyonä theiò presenô 2µ bytå length¬ thå maximuí permissiblå  blocë  numbeò ió 19¹ (ALV=(DSM/8)+1)®   Foò  thió  samå reason¬  formaô (4© useó á 4Ë blocë sizå anä caî onlù afforä tï  adä onå extrá cylinder® Thå sizå oæ thå CBIOÓ CSÖ tableó placå  similaò restrictionó  oî thå maximuí numbeò oæ directorù  entries®   Withouô expandinç thå CSÖ tableó beyonä theiò presenô 4¸ bytes¬ á maximuí oæ Š19± directorù entrieó arå checkeä (CKS=(DRM+1)/4)® Formaô (5)¬  foò example¬  woulä  reqirå  significanô expansioî oæ thå  CSÖ  anä  ALÖ tableó  iî  thå  CBIOS®   Sucè  aggressivå  tweakinç  oæ  thå  CBIOÓ generallù  meanó  editinç CBIOS.MAà anä theî rå-assemblinç  iô  witè M80.COÍ   anä  L80.COM®   Sincå  noô  alì  oæ  theså  programó   arå universallù available¬ implementatioî oæ formaô (5© ió besô lefô  tï thå  dedicateä hacker® Oî thå otheò hand¬ diskettå formató (3©  anä (4©  maù bå fullù implementeä witè á "tooì kit¢ consistinç  oæ  jusô SYSGEN.COÍ anä DDT.COÍ froí thå originaì CP/Í distributioî diskette® Iî  keepinç  witè  thå KISÓ philosophù (Keeð  Iô  Simple¬  Stupid!)¬ formaô  (5©  musô falì bù thå waysidå iî favoò oæ  thå  morå  easilù implementeä formató (3© anä (4)® Steð 1º Forcinç FORMAT.COÍ tï formaô morå thaî 4° tracks. Beforå attemptinç anù patchinç oæ FORMAT.COM¬ geô "thå biç  picture¢ bù  doinç  á harä copù dumð oæ thå file® Togglå thå printeò  oî  bù pressinç  controì-Ð  (^P)¬  theî uså DDÔ  tï  loaä  FORMAT.COÍ  intï memory: DDÔ FORMAT.COÍ {Return} DDÔ  wilì  displaù (anä print© itó versioî number¬ followeä  bù  twï addresseó titleä "NEXT¢ anä "PC"® Pà (Prograí Counter© wilì  alwayó bå  0100¬ buô NEXÔ (thå nexô availablå addresó afteò thå enä oæ  thå file© wilì depenä oî whicè revisioî oæ FORMAT.COÍ ió beinç  patched® Iæ  thå NEXÔ addresó ió 0B00¬ thå filå occupieó 1° blockó oæ  memorù (0B0° ­ 010° ½ 0A00¬ oò 1° blockó oæ 25¶ byteó each)® Thå  commanä tï dumð theså 1° blockó tï thå screeî (anä thå printer© woulä be: D010° 0AFÆ {Return} No÷  thaô  yoõ  havå harä copù oæ FORMAT.COM¬ looë  foò  thå  formaô controì  tableó  locateä  jusô afteò thå gianô pilå  oæ  ASCIÉ  texô messages® Thå tablå yoõ arå lookinç foò wilì enä witè thå numbers: 0± 0² 0³ 0´ 0µ FÆ FE Theså arå thå sectoò numberó useä foò formattinç disketteó witè fivå 1Ë sectors® Iô wilì bå followeä bù otheò tableó thaô wilì end: 0± 0² 0³ 0´ 0µ 0¶ 0· 0¸ 0¹ 0Á 0 0à 0Ä 0Å 0Æ 1° FÆ FE (foò formattinç witè sixteeî 25¶ bytå sectors)¬ anä possiblù also 0± 0² 0³ 0´ 0µ 0¶ 0· 0¸ FÆ FE (foò  formattinç  witè eighô 51² bytå sectors)®   Thå  firsô  table¬ however¬  ió  thå  onlù onå thaô needó tï  bå  patched®   Thå  tablå structurå coulä bå expresseä iî assemblù languagå aó follows: ;FIRST¬ THÅ TABLÅ FOÒ SINGLÅ SIDEÄ FORMAT: DEF× S_NUMÓ ;² BYTÅ ADDRESSº TABLÅ CONTAININÇ SECTOÒ NUMBERS DEF 0³ ;CODÅ FOÒ 1Ë SECTOÒ SIZÅ DEF µ ;µ SECTOÒS DEF 5FH ;GAÐ LENGTÈ (GAÐ 3© USEÄ IÎ FORMATTING DEF 0E5È ;FILLEÒ BYTÅ USEÄ IÎ FORMATTING DEF 2¸È ;(LASÔ TRACË NUMBEÒ « 1© OÎ SINGLÅ SIDEÄ FORMAT ;CHANGÅ TÏ 51È FOÒ SINGLÅ SIDEÄ QUAÄ DENSITY. ;REPEAÔ THÅ ABOVÅ INFÏ FOÒ DOUBLÅ SIDED: DEF× S_NUMÓ ;REPEAÔ ADDRESÓ OÆ SECTOÒ NUMBEÒ TABLE DEFB 0³ ;CODÅ FOÒ 1Ë SECTOÒ SIZE DEF µ ;µ SECTORS DEF 5FÈ ;GAÐ LENGTH DEF 0E5È ;REPEAÔ FILLEÒ BYTE Š DEF 50È ;(LASÔ TRACË NUMBEÒ « 1© OÎ DOUBLÅ SIDEÄ FORMAT ;CHANGÅ TÏ 0A2È FOÒ DOUBLÅ SIDEÄ QUAÄ DENSITY. ;FINALLY¬ THÅ TABLÅ OÆ SECTOÒ NUMBERS: S_NUMS: DEF 1,2,3,4,5 DEF 0FFÈ ;FLAÇ ENÄ OÆ SECTOÒ NUMBERS DEF 0FEÈ ;FLAÇ ENÄ OÆ TABLE Bù  changinç  thå  28È bytå tï 51H¬ thå  singlå  sideä  formaô  wilì continuå  foò á totaì oæ 8± tracks® Similarly¬ thå changå froí  50È tï 0A2È wilì forcå thå doublå sideä formaô tï continuå througè tracë 161® Steð 2º Correctinç thå booô sectoò iî FORMAT.COM Unlesó FORMAT.COÍ writeó ouô thå correcô booô sector¬ thå CBIOÓ wilì bå  unablå  tï recognizå thå ne÷ diskettå aó á  valiä  quaä  densitù format®   Thå  datá thå CBIOÓ expectó tï finä ió locateä iî  twï  2´ bytå  lonç tableó consistinç oæ á ¹ bytå BTA (booô versioî  oæ  thå CBIOÓ  MTAB© anä itó associateä 1¶ bytå Disë Parameteò Blocë  (DPB)® Theså  tableó arå locateä jusô followinç thå formaô  controì  tableó describeä earlier® Thå originaì tablå foò singlå sideä diskó is: 0° 0° 0° 0° 0° 0° 0° 0° 0° 2¸ 0° 0´ 0Æ 0± 5Å 0° 7Æ 0° C° 0° 2° 0° 0² 0° E1 anä shoulä bå changeä to: 0± F¸ 5¸ 0µ DÆ 0³ 0µ 1à FÆ 2¸ 0° 0´ 0Æ 0± C· 0° BÆ 0° E° 0° 3° 0° 0² 0° 16 Thå originaì tablå foò doublå sideä diskó is: 0° 0´ 0° 0° 0° 0° 0° 0° 0° 2¸ 0° 0´ 0Æ 0± C² 0° BÆ 0° E° 0° 3° 0° 0² 0° 89 anä shoulä bå changeä to: 2± Fà 7Ä 0µ DÆ 0³ 0µ 1à FÆ 2¸ 0° 0µ 1Æ 0³ C· 0° BÆ 0° C° 0° 3° 0° 0² 0° 24 Alì  otheò changeó arå strictlù cosmetic¬ buô recommendeä  nonå  thå less®   Gï  tï thå ASCIÉ texô portioî oæ thå codå anä adä  thå  texô "Quaä  densitù  version¢  jusô beforå thå  copyrighô  notice®   Alsï changå everù occurrencå oæ "Doublå density¢ tï "Quaä density"® Mosô heartilù recommendeä ió addinç thå texô "8± cylinderó formatteä ­ 9¶ tpi¢ jusô afteò thå "Noô á SYSTEÍ Diskette¢ message® Bå surå noô tï clobbeò  thå Carriagå Returî ­ Linå Feeä (0DÈ 0AH© thaô followó  thå "Noô á SYSTEM...¢ message¬ anä adä anotheò 0DÈ 0AÈ afteò thå "..® 9¶ tpi¢  message®   Botè messageó wilì theî bå  displayeä  wheneveò  aî attempô  ió  madå  tï  booô thå disë (eveî  iî  á  4¸  tpé  drive!)® Finally¬  hiô á controì-à (^C© tï returî tï thå A¾ prompô  anä  savå thå updateä formaô prograí bù typing: SAVÅ 10 FORMAT96.COÍ {Return} Steð 3º Correcôing thå CBIOÓ MTA anä DP iî MOVCPM.COM Thå  CP/Í  distributioî diskettå carrieó twï copieó  oæ  thå  systeí image®   Onå copù ió oî thå systeí tracks¬ anä thå otheò copù ió  iî thå filå MOVCPM.COM® Modifyinç thå systeí imagå iî MOVCPM.COÍ giveó uó  thå opportunitù tï creatå custoí systeí imageó foò  botè  singlå sideä anä doublå sideä quaä densitù booô disks® Repeaô thå ^Ð tricë tï dumð MOVCPM.COÍ tï thå printer® Tï cuô dowî oî thå wasteä paper¬ Šjusô dumð thå CBOOÔ area: D090° 09FÆ {Return} anä thå CBIOÓ area: D230° 2EFÆ {Return} Tï  creatå á singlå sideä quaä densitù MOVCPM.COM¬ jusô replacå  thå firsô  2´  byteó aô 98° witè thå correcteä tablå  foò  singlå  sideä diskó froí FORMAT96.COM: 0± F¸ 5¸ 0µ DÆ 0³ 0µ 1à FÆ 2¸ 0° 0´ 0Æ 0± C· 0° BÆ 0° E° 0° 3° 0° 0² 0° 16 Tï  creatå á doublå sideä quaä densitù MOVCPM.COM¬  thå  replacemenô byteó comå froí thå tablå foò doublå sideä disks: 2± Fà 7Ä 0µ DÆ 0³ 0µ 1à FÆ 2¸ 0° 0µ 1Æ 0³ C· 0° BÆ 0° C° 0° 3° 0° 0² 0° 24 Theî  proceeä tï correcô thå DP anä MTA tableó thaô wilì bå  founä somewherå betweeî 260° anä 2900® Yoõ wilì mosô likelù finä ¶  DPB'ó oæ 1µ byteó each¬ beginninç witè á "default¢ SSDÄ DP of: 2¸ 0° 0´ 0Æ 0± C² 0° 7Æ 0° C° 0° 2° 0° 0² 00 whicè ió theî followeä bù eitheò µ morå SSDÄ DPB's¬ oò µ DSDÄ DPB's: 2¸ 0° 0´ 0Æ 0± C² 0° BÆ 0° E° 0° 3° 0° 0² 00 Thå "default¢ DP ió onlù useä wheî thå CBOOÔ checksuí fails¬ sï seô iô tï thå whateveò DP waó specifieä iî thå booô sectoò (thaô  woulä bå  byteó ¹ througè 2´ aó installeä aô addresó 098¸ ­ 0996)®   Theså samå byteó arå installeä foò thå seconä DP also¬ sincå thaô ió  thå drivå "A¢ DPB® Thå succeedinç DPB'ó arå modifieä aó ió  appropriatå foò  thå targeô hardwarå configuration® Iæ thå DP ió  screweä  up¬ however¬ don'ô leô iô worrù yoõ toï much® Thå DP foò eacè drivå ió overwritteî  bù thå DP froí thå booô sectoò oæ whateveò disë ió  iî thå  drivå wheî yoõ dï á warí boot® Abouô 5° oò 6° byteó afteò  thå lasô  DPB¬  however¬ comeó thå MTA area® Thió seô oæ fivå  ¹  bytå lonç tableó describeó anä controló thå disë drives® Thå firsô tablå wilì generallù bå identicaì tï thå firsô ¹ byteó iî thå booô  sectoò (addresó 98° ­ 988)® Thå fiftè tablå specifieó thå configuratioî oæ thå  virtuaì  "E¢ drive¬ sï iô (anä anù otheò unuseä  drivå  tables© wilì  bå identicaì tï thå firsô table® Thå byteó iî eacè  MTA  arå defineä aó follows: Bytå 0º Biô 0,1¬ oò ² ió thå motoò controì biô (001,010,100,100). Bitó 3,´ describå disë usagå iî doublå sideä mode: °° -¾ Eveî trackó oî sidå 0¬ odä trackó oî sidå 1. 0± -¾ 1sô 4° (oò 80© trackó oî sidå 0¬ resô oæ trackó arå oî sidå 1 1° -¾ Botè trackó treateä aó singlå tracë witè  twicå aó manù sectors Biô µ flagó thå drivå aó doublå sided. Biô ¶ ió useä onlù bù foreigî disë formató iî CBIOÓ 3.1 Biô · flagó thå drivå aó holdinç á foreigî format Bytå 1º Biôó 0,± holä thå physicaì drivå addresó (00,01,10,11) Biô ² flagó thå drivå aó doublå sided Biôó 3,´ describå thå sectoò sizå useä durinç formatting: 0° -¾ 12¸ bytå sectors 0± -¾ 25¶ bytå sectors 1° -¾ 51² bytå sectors 1± -¾ 102´ bytå sectors Biô µ flagó thå drivå aó quaä densitù (¸° tracks) Biô ¶ flagó thå drivå aó doublå density Biô · flagó thå drivå foò uså aó á virtuaì drive ŠBytå 2º Motoò oî waiô timå iî incrementó oæ ´ ms. Bytå 3º Heaä settlå timå (afteò seek© iî incrementó oæ ´ ms. Bytå 4º 16*(16-steppinç ratå iî ms.© « (heaä unloaä time)*´ ms. Bytå 5º 2*(heaä loaä timå iî incrementó oæ ´ ms© « 1º (03) Bytå 6º Lasô sectoò numbeò oî tracë: (05) Bytå 7º Gað lengtè foò read/writå: (1CH) Bytå 8º Spacå foò holdinç currenô tracë numbeò (0FFH) Á  singlå sideä drivå wilì havå biô µ oæ bytå ° anä biô ² oæ bytå  ± botè reseô tï 0® Á doublå sideä drivå wilì havå botè thoså bitó seô tï  1® Thå firsô twï byteó oæ thå MTA entrieó foò  variouó  driveó are: Singlå Sideä Doublå Sideä Singlå ­ Quaä Doublå ­ Quad 0± D¸ ......® 2± Dà ......® 0± F¸ ......® 2± Fà ....... 0² 5¹ ......® 2² 5Ä ......® 0² F¹ ......® 2² FÄ ....... 0´ 5Á ......® 2´ 5Å ......® 0´ FÁ ......® 2´ FÅ ....... 04 5à ......® 24 5Æ ......® 04 F ......® 24 FÆ ....... Selecô byteó ² througè ¸ aó appropriatå foò thå particulaò drivå  tï bå used® Thå  finaì  patcè  tï  makå ió iî thå  ASCIÉ  texô  oæ  thå  booô-uð copyrighô noticå locateä á fe÷ hundreä byteó pasô thå MTA data® Tï providå rooí foò á "Quaä Density¢ booô uð message¬ abbreviatå  otheò portionó  oæ  thå booô uð messagå aó deemeä  appropriate®   Jusô  bå carefuì noô tï clobbeò anù codå oò pointers® Wheî thå lasô tweaë ió make¬ returî tï thå A¾ prompô witè á ^à anä savå thå ne÷ file: SAVÅ 5² MOVCPMQ2.COÍ {Return} Steð 4º FORMAT96inç anä SYSGENinç á quaä densitù booô disk. Beforå installinç á quaä densitù drivå aó drivå "A"¬ yoõ musô  firsô generatå  á bootablå quaä densitù diskette® Thå easiesô waù  tï  dï thió  ió tï temporarilù instalì á quaä densitù drivå aó  drivå  "B"® Thå disë iî driöå "A¢ shoulä contaiî thå followinç files: DDT.COM¬ MOVCPMQ2.COM¬ FORMAT96.COM¬ anä SYSGEN.COM Uså  DDÔ  tï loaä thå formaô prograí intï memory¬  theî  modifù  thå currenô systeí tï recognizå drivå "B¢ aó quaä density® Type: DDÔ FORMAT96.COÍ {Return} theî looë foò thå currenô MTA areá arounä F700H: DF70° {Return} Oncå  yoõ havå founä thå MTA area¬ locatå thå MTA foò  drivå  "B"® Iô wilì begiî: 0² 5¹ ......® oò 2² 5Ä ...... Seô drivå "B¢ tï doublå sideä quaä densitù bù changinç thoså ² byteó to: 2² 7D Ruî thå formaô prograí bù typing: G10° {Return} Wheî thå prograí askó foò á drive¬ presó "B"® Wheî askeä "Singlå oò doublå sideä format?"¬ responä witè á "D"® Jusô "gï witè thå  flow¢ anä yoõ wilì bå rewardeä witè á formatteä quaä densitù diskette. Tï turî thå diskettå intï á bootablå systeí diskette¬ type: MOVCPMQ² 6´ ª {Return} ŠThå  modifieä MOVCPÍ prograí wilì generatå á 64Ë systeí  anä  inforí yoõ thaô iô ió readù tï sysgen® Aô thaô point¬ typå: SYSGEÎ {Return} anä  responä  tï  thå "Source?¢ querù witè á  {Return}¬  anä  answeò "Destination?¢ witè á "B"® Presó {Returný wheî asked¬ anä yoõ  wilì havå generateä á reaì livå quaä densitù booô disk® Steð 5º Iæ iô feeló good¬ dï it. Yoõ  maù  no÷ rå-configurå youò hardware¬ copù  thå  modifieä  fileó (MOVCPMQ2.COÍ  anä FORMAT96.COM© tï youò ne÷ booô disk¬ anä  proceeä tï  creatå  á  plethorá oæ ne÷ quaä densitù  booô  diskó  witè  jusô FORMAT9¶   anä  SYSGEN®   Shoulä  youò  terminaì   requirå   speciaì installatioî foò noî-standarä controì codes¬ thå recommendeä  methoä oæ  patchinç  ió  witè INIT.COÍ anä  TERMINAL.DAÔ  froí  thå  Morro÷ Owner'ó Revie÷ Upgradå kit® Iæ yoõ arå comfortablå witè DÕ oò  ZAP¬ feeì  freå tï uså theí iî preferencå tï DDÔ foò patchinç MOVCPÍ  anä FORMAT®   Iæ  yoõ havå noô yeô purchaseä MOR'ó  FLO  collectioî  oæ Morro÷   sourcå  code¬  delaù  nï  longer®   Everù  littlå  biô   oæ documentatioî oî "whaô makeó iô run¢ makeó iô easieò tï hack¬ tweak¬ anä otherwiså fine-tunå youò machine® Havå aô it!