home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug097.arc / 512KOS.DOC < prev    next >
Text File  |  1979-12-31  |  11KB  |  273 lines

  1. .. True A4 paper, 6 lines per inch
  2. .. ... = true underline,  = ESC,  = double width
  3. .PL 70
  4. .HE2CF
  5.                                                        27/1/88
  6.  
  7.  512k Enhanced Operating System
  8.  
  9.            Version 2.2
  10.  
  11.  
  12.      CONTENTS :
  13.  
  14. The Operating System
  15.      - Compatability                                   2
  16.      - Computer Types                                  2
  17.      - Use of Memory                                   2
  18.      - Function keys                                   3
  19.      - Status Line
  20.      - System Setup Window
  21.      - Disk Types
  22.      - Cold Boot Sequence
  23.  
  24. System Setup Window
  25.      - dsjdslksd
  26.      - siudslkdfkl
  27.  
  28. Support Programs
  29.      - SETSYS, operating system configuring            ##
  30.      - FKEY, function key load/save                    ##
  31.      - SAVESYS, saving system configurating
  32.      - CD, changing disk types
  33.      - .....
  34.  
  35. All this drivel is written by Peter Broughton and is copyright.
  36. So there !!!
  37.  
  38. .HE2CF                 512k Enhanced Operating System
  39. .paè1.   THE OPERATING SYSTEM.
  40.  
  41. 1.1  Compatability.
  42.  
  43. Thσá 512δá enhanceΣ operatinτ systeφ i≤ upwardl∙ compatablσá witΦ ì
  44. thσ standarΣ 128δ operatinτ systeφ versioε 7¼á anΣ support≤á mos⌠ ì
  45. oµ it≤ features«á Iε addition¼ i⌠ i≤ compatablσ witΦ versioε ▒ oµ ì
  46. thσ 512δ operatiiτ system« Thσ shel∞ anΣ associateΣ program≤ (eg« ì
  47. TRANSFER¼á INIT⌐ wil∞ al∞ worδ iε thσ expecteΣ fashion«á Thσ onl∙ ì
  48. prograφá knowε no⌠ t∩ worδ unde≥ thσ 512δ systeφ i≤ VTE╪ (versioε ì
  49. 1.34, possably others).
  50.  
  51.  
  52. 1.2  Computer Types.
  53.  
  54. Thσá operatinτá systeφ caε bσ useΣ oε al∞ Microbeσ 256δ anΣá 512δ ì
  55. computers¼á tha⌠ is¼ 64δ CIAB'≤ o≥ 128k'≤ tha⌠ havσ beeε upgradeΣ ì
  56. t∩á 256δ o≥ 512k«á Iε addition¼á i⌠ wil∞ worδ oε ß 128δá compute≥ ì
  57. althougΦá no⌠ al∞ oµ thσ system'≤ feature≤ caε bσ used«á I⌠á wil∞ ì
  58. no⌠á worδ oε ß 64δ computer¼á neithe≥ wil∞ i⌠ worδ oεá thσá TC25╢ ì
  59. (Telecomputer).
  60.  
  61.  
  62. 1.3  Use of Memory.
  63.  
  64. Oµ thσ availablσ 256δ o≥ 512δ oµ memory¼á 64δ i≤ reserveΣ fo≥ thσ ì
  65. use≥ prograφ areß (TPA¼ Transien⌠ Prograφ Area)¼ thi≤ i≤ thσ samσ ì
  66. a≤á thσ 128δ operatinτ system«á Thσ nex⌠ 32δ i≤ reserveΣá b∙á thσ ì
  67. operatinτá system«á Thi≤ i≤ wherσ thσ operatinτ systeφ store≤ thσ ì
  68. windo≈á prograφ anΣ thσ curren⌠ definitioε oµ thσ functioεá keys« ì
  69. I⌠ als∩ store≤ herσ thσ section≤ oµ thσ operatinτ systeφ tha⌠ arσ ì
  70. reloadeΣ afte≥ eacΦ warφ boot«á Thesσ arσ thσ Shel∞á (SHELL.SYS)¼ ì
  71. thσ CC╨ (CCP.SYS⌐ anΣ thσ BDOS« A≤ thesσ arσ reloadeΣ froφ memor∙ ì
  72. insteaΣá oµá froφá disk¼á thσ timσ requireΣ fo≥ ßá warφá boo⌠á i≤ ì
  73. reduced«á I⌠á als∩ mean≤ tha⌠ thσ disδ iε drivσ A║á afte≥ boot-u≡ ì
  74. need not be a boot disk.
  75.  
  76. Thσ remaininτ memor∙ (160δ fo≥ ß 256δ computer¼á 416δ fo≥ ßá 512δ ì
  77. computer⌐á i≤ divideΣ betweeε tw∩ ramdisk≤ anΣ ß disδ cache«á Thσ ì
  78. amoun⌠á oµá memor∙ allocateΣ t∩ eacΦ i≤ selecteΣ b∙á thσá prograφ ì
  79. SETSYS (see below).
  80.  
  81. Thσá ramdisk≤á functioε iε mucΦ thσ samσ wa∙ a≤ thσ ramdisδ oεá ß ì
  82. 128δá computer«á Thσá firs⌠ (main⌐ ramdisδ i≤á calleΣá 'M:'¼á thσ ì
  83. seconΣ i≤ calleΣ 'N:'«á Notσ tha⌠ iµ yo⌡ arσ usinτ thσ Shellá yo⌡ ì
  84. canno⌠á loτá ont∩á disδ N║á a≤ thσ Shel∞ doe≤ no⌠á kno≈á tha⌠á it ì
  85. existsíá However¼á yo⌡ caε cop∙ file≤ int∩ N:¼á o≥ refe≥ t∩ file≤ ì
  86. alread∙áá iεáá N║áá b∙á prefixinτá theirá namσá witΦá 'N:ºáá (eg« ì
  87. N:AFILE.EXT)«á Thσ CC╨ doe≤ no⌠ suffe≥ froφ thi≤ problem¼ yo⌡ caε ì
  88. treat N: as any other disk.
  89.  
  90. Thσá disδ cachσ i≤ aε areß oµ memor∙ se⌠ asidσ t∩á hel≡á increasσ ì
  91. thσá speeΣá a⌠ whicΦ physica∞ disk≤ caε bσ accessed«á Wheneve≥á ß ì
  92. secto≥ i≤ reaΣ froφ o≥ writteε t∩ ß disδ ß cop∙ oµ thσ secto≥á i≤ ì
  93. placeΣ int∩ thσ disδ cache«á Wheneve≥ ß prograφ request≤ ß secto≥ ì
  94. froφá ßá disδ thσ compute≥ firs⌠ check≤ thσ disδ cache¼á iµá tha⌠ ì
  95. secto≥á i≤á iε thσ cachσ i⌠ caε bσ quickl∙ copieΣ ou⌠á oµá memor∙ ì
  96. insteaΣá oµ beinτ reaΣ froφ thσ disk«á Thi≤ i≤ particularl∙á gooΣ ì
  97. fo≥á program≤á tha⌠á repeatedl∙ acces≤ thσ samσá file≤á oεá disk¼ ìèWordsta≥ o≥ database≤ arσ gooΣ examples.
  98. ..pa
  99.  
  100. Thσá limitatioεá oµá thσ disδ cachσ i≤ tha⌠ i⌠á mus⌠á bσá cleareΣ ì
  101. wheneve≥ thσ compute≥ think≤ ß disδ migh⌠ havσ beeε changed« Thi≤ ì
  102. happen≤ wheneve≥ thσ compute≥ i≤ warφ booted¼á wheneve≥ thσ Shel∞ ì
  103. accesse≤ ß disδ o≥ wheneve≥ ß prograφ `logsº ß disk.
  104.  
  105.  
  106. 1.4  Function Keys.
  107.  
  108. %%%%%%%
  109.      F1 .. F8  = CTRL 1..8
  110.      F9 .. F12 = CTRL SHIFT 2..5
  111. %%%%%%%
  112. Iµá ßá functioε ke∙ i≤ 'waitedº (seσ windo≈ stufµ fo≥ ho≈á t∩á d∩ ì
  113. this⌐á theεá pressinτ tha⌠ functioε ke∙ agaiε wil∞ picδá u≡á froφ ì
  114. wherσ i⌠ stopped«á Iµ yo⌡ pres≤ an∙ othe≥ functioε ke∙ first¼á o≥ ì
  115. cal∞ u≡ thσ window¼á thσ 'waitº wil∞ bσ aborteΣ anΣ tha⌠ functioε ì
  116. key will start from the beginning when next pressed. Get that!?!
  117.  
  118. Try this then :
  119. eg if F1 has:
  120.      abcd^M(wait)efg(wait)hijk(end)
  121. Press F1 once, get :
  122.      abcd^M
  123. press it again, get:
  124.      efg
  125. press it again, get:
  126.      hijk
  127. press it again, get;
  128.      abcd^m
  129. etc., etc.
  130.  
  131.  
  132. 1.5  Status Line.
  133.  
  134. Thσ statu≤ linσ i≤ ß 25tΦ linσ appearinτ oε thσ screeε belo≈á thσ ì
  135. 2┤ line≤ useΣ b∙ thσ maiε display« I⌠ show≤ thσ statu≤ oµ variou≤ ì
  136. function≤á oµ thσ systeφ a≤ wel∞ a≤ thσ curren⌠ timσ anΣ datσ (iµ ì
  137. thσ rea∞ timσ clocδ hardwarσ i≤ fitted)« Thσ layou⌠ oµ thσ statu≤ ì
  138. linσ i≤ a≤ follows:
  139.  
  140.   FAST   A<>M   LOCK   FKEY PRESSED   time  date
  141.    |      |      |      |      |       |
  142.    |      |      |      |      |       +-- Curren⌠ timσ anΣ date.ì
  143.    |      |      |      |      +-- Display≤ afte≥ ß functioεá ke∙ ì
  144. ááá|áááááá| ááááá|áááááá|áááááááááái≤á presseΣá anΣ whilσá i⌠á i≤ ì
  145. ááá|áááááá|áááááá|áááááá|áááááááááábeing `read'.
  146.    |      |      |      +-- Display≤á iµá thσ functioεá key≤á arσ ì
  147. ááá|áááááá|áááááá|ááááááááááenabled.
  148.    |      |      +-- Displays if Caps Lock is set (upper case).
  149.    |      +-- Display≤á iµá drive≤ A║á anΣ M║á (o≥ N:⌐ havσá beeε ì
  150. ááá|ááááááááááswappeΣ  b∙ thσ prograφ SWAPA.CO═ (iµ N║á theεá thσ ì
  151. ááá|áááááááááá`M' in the display is replaced by an `N').
  152.    +-- Display≤á iµ thσ processo≥ speeΣ i≤ se⌠ t∩ 6.7╡ MH·á (thi≤ ì
  153. ááááááárequires that the speed change hardware has been fitted).
  154.  
  155. Thσ statu≤ linσ wil∞ remaiε oε displa∙ a≤ lonτ a≤ ß prograφá doe≤ ì
  156. no⌠á changσá thσ vide∩ displa∙á characteristic≤á (eg«á MicroworlΣ ìèBASI├ change≤ thσ displa∙ t∩ 6┤ character≤ b∙ 1╢ lines).
  157. ..pa
  158. 1.╢  Systeφ Setu≡ Window.
  159.  
  160. %%%%%%
  161.      Bring it up (chunder!!) using CTRL 9
  162. See below for more.
  163.  
  164.  
  165. 1.7  Disk Types.
  166.  
  167. .paè1.8  Cold Boot Sequence.
  168.  
  169. Wheneve≥ yo⌡ colΣ boo⌠ thσ compute≥ (ie«á pres≤ RESET¼ o≥ turε i⌠ ì
  170. oεá anΣá inser⌠á ß 512δ systeφ disk⌐ thσá 512δá operatinτá systeφ ì
  171. follow this sequence of steps:
  172.  
  173. 1.áThσ systeφ trie≤ t∩ deteminσ iµ thσ content≤ oµ ramdisδ M║á i≤ ì
  174. ááávalid«á I⌠á doe≤á thi≤ b∙ lookinτ a⌠ ßá memor∙á locatioεá tha⌠ ì
  175. áááshoulΣá contaiεá thσá sizσ oµ M║á las⌠ timσ thσá compute≥á wa≤ ì
  176. áááRESET«á Iµ thi≤ i≤ differen⌠ t∩ thσ curren⌠ sizσ o≥ iµ i⌠á ha≤ ì
  177. ááábeeεá cleareΣ (b∙ turninτ thσ powe≥ ofµ o≥ runninτ ß differen⌠ ì
  178. áááoperatinτ system⌐ i⌠ theε `formatsº M║á t∩ removσ an∙ datß anΣ ì
  179. áááplace≤á thσ filenamσ `-RAMDISK.M:º a≤ thσ firs⌠ entr∙á iεá thσ ì
  180. ááádirectory«á Thi≤á namσá wil∞ appea≥ a⌠ thσ to≡ oµ ßá director∙ ì
  181. ááálistinτ displayeΣ b∙ L.COM« Notσ tha⌠ occasionall∙ smal∞ part≤ ì
  182. áááoµá memor∙á caε bσ corrupteΣ b∙ ß RESE╘ withou⌠á thσá compute≥ ì
  183. ááádetecting¼á thereforσá file≤ iε M║á o≥ N║á shoulΣá bσá quickl∙ ì
  184. ááácheckeΣ afte≥ ß RESET«á Thi≤ i≤ duσ t∩ thσ computer'≤ hardwarσ ì
  185. áááanΣ canno⌠ bσ avoided¼ witΦ somσ computer≤ i⌠ wil∞ happeε morσ ì
  186. áááofteε thaε witΦ others.
  187.  
  188. 2.áNex⌠á thσ systeφ doe≤ thσ samσ checδ fo≥ drivσ N║á (iµá N║á i≤ ì
  189. áááenabled⌐á anΣá iµá i⌠ i≤ invaliΣ i⌠á i≤á als∩á formatted«á Thσ ì
  190. áááfilenamσ `-RAMDISK.N:º i≤ theε placeΣ iε thσ directory.
  191.  
  192. 3.áThσá operatinτá systeφ file≤ arσ loadeΣ iεá now«á Firstl∙á thσ ì
  193. áááfile≤ `SHELL.SYSº anΣ `CCP.SYSº arσ loaded«á Thesσ caε onl∙ bσ ì
  194. áááloadeΣ durinτ thσ boo⌠ procedure¼á ie« iµ onσ oµ theφ isn'⌠ oε ì
  195. áááthσá boo⌠ disδ theε i⌠ canno⌠ bσ used«á A⌠ leas⌠ onσá oµá theφ ì
  196. ááámus⌠ bσ oε thσ disδ o≥ thσ operatinτ systeφ wil∞ `hangº a⌠ thσ ì
  197. áááenΣ oµ it'≤ boo⌠ procedure.
  198.  
  199. áááThσá thirΣ filσ t∩ bσ loadeΣ i≤ thσá filσá `WINDOW.SYS'«á Thi≤ ì
  200. ááácontain≤ thσ systeφ setu≡ windo≈ program«á Iµ thi≤ filσ i≤ no⌠ ì
  201. áááoε thσ disδ theε thσ windo≈ canno⌠ bσ useΣ anΣ pressinτ <CTRL╛ ì
  202. ááá╣á wil∞ jus⌠ togglσ thσ functioε key≤ oε anΣ off«á Thσá fourtΦ ì
  203. áááfilσá i≤ `DEFAULT.FK'¼á thi≤ contain≤ thσ defaul⌠á definition≤ ì
  204. áááfo≥á thσ functioε key≤ anΣ curso≥ keys«á Iµ thi≤ isn'⌠á loadeΣ ì
  205. ááátheεá thσ functioε key≤ wil∞ initiall∙ bσ blanδ anΣ thσ curso≥ ì
  206. ááákey≤ wil∞ defaul⌠ t∩ thei≥ norma∞ Wordstar/SHEL╠ settings.
  207.  
  208. áááThσ fina∞ filσ t∩ bσ loadeΣ i≤ `BIOS.SYS'«á Thi≤ contain≤ somσ ì
  209. áááimportan⌠ part≤ oµ thσ operatinτ systeφ includinτ thσ keyboarΣ ì
  210. ááádrive≥ anΣ thσ routine≤ fo≥ updatinτ thσ statu≤ line«á Iµ thi≤ ì
  211. áááis not loaded then not much will work!
  212.  
  213. 4.áFinall∙ thσ keyboarΣ i≤ enabled¼á thσ statu≤ linσ i≤ displayeΣ ì
  214. áááanΣá thσ selecteΣ SHEL╠ o≥ CC╨ i≤ run«á Thi≤ theε execute≤ an∙ ì
  215. ááástored initial commands.
  216. .paè2.   SYSTEM SETUP WINDOW.
  217.  
  218. 2.1  Using the Window.
  219.  
  220. Bit of stuff here.
  221.  
  222. 2.2  <F> - Set Function Keys.
  223.  
  224. Like it always used to be.
  225. To get editor, press desired function key.
  226. Keys that work in editor :
  227.      ^S  - left (or left arrow - premium)
  228.      ^D  - right (or righ arrow)
  229.      ^A  - left by 8 chars (or SHIFT left arrow)
  230.      ^F  - right by 8
  231.      ^E  - move to start
  232.      ^X  - move to end
  233.      ^H (backspace) - delete char to left of cursor
  234.      ^G  - delete char above cursor
  235.      DEL - ditto
  236.      ^Y  - delete line
  237.      ESC - abort edit (don't save)
  238.      RET - save edit
  239.      <^╛ - (ie« SHIF╘ ╢ no⌠ CTRL⌐ followeΣ b∙ characte≥ enters
  240.            control code (this used to be ^P in version 2.0)
  241.      ^P  - enter pause (This put a little break into reading
  242.            the function key string to allow programs to 'catch
  243.            up', - stops too many keys coming at once)
  244.      ^W  - enter wait (This causes reading of the string to stop
  245.            a⌠ thi≤ poin⌠ anΣ onl∙ recommencσ wheε thσ function
  246.            key is pressed again)
  247.      Any function key - 'chain' to new function string (Stops
  248.            readinτ thi≤ strinτ anΣ start≤ agaiε witΦ the new
  249.            function key string, any characters after this point
  250.            are ignored)
  251.  
  252. Think that's all of them.
  253.  
  254. 2.3  <C> - Set Cursor keys.
  255.  
  256. 2.4  <K> - Set Key Click.
  257.  
  258. 2.6  <S> - Screen Functions.
  259.  
  260. 2.7  <T> - Time functions.
  261.  
  262. etc. etc.
  263. .paè3.   SUPPORT PROGRAMS.
  264.  
  265. Tr∙á theφ anΣ seσ wha⌠ happens«á The∙ al∞ wil∞ brinτ u≡ ßá littlσ ì
  266. messagσ abou⌠ themselve≤ iµ yo⌡ typσ NAM┼ o≥ NAM┼ ┐á dependinτ oε ì
  267. the program.
  268. SETSYS now has the memory setup option written.
  269.  
  270. NB║ Usσ C─ (Changσ Disk⌐ insteaΣ oµ SETDIS╦ a≤ thσ cachσ wil∞ no⌠ ì
  271. looδ a⌠ ß drivσ tha⌠ ha≤ beeε SETDISK'ed«á C─ wil∞ als∩ restorσ ß ì
  272. drive that has been setdisk'ed.
  273.