home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / MISC / TNH_PC.ZIP / CUMMING.NL < prev    next >
Encoding:
Text File  |  1987-01-14  |  2.1 KB  |  83 lines

  1. Quick Start for DOS 2.0 on the IBM PC
  2.  
  3.              Mike Cumming
  4.       Winnipeg IBM PC Users Group
  5.  
  6. If you are using an IBM PC with DOS
  7. 2.0 and more than 64K memory and
  8. don't want to wait for the BIOS RAM
  9. check, the following will help. This
  10. will work for both DOS 2.0 and DOS
  11. 2.1.
  12.  
  13. First, create a copy of your DOS
  14. disk. Anytime you transfer the
  15. system, use this modified disk. At
  16. the DOS prompt, type DEBUG. At the
  17. prompt, type:
  18.  
  19. -L CS:100 0 0 1 <CR> ;load the boot
  20.                       record
  21. -A 100 <CR>
  22. XXXX:0100 JMP 282 <CR> ;jump to the
  23.          modified portion of the boot
  24.          record
  25. XXXX:0103 <CR>
  26. -A:282 <CR>
  27. XXXX:0282 XOR AX,AX <CR> ;determine
  28.          the amount of actual memory
  29. XXXX:0284 OUT A0,AL <CR>
  30. XXXX:0286 MOV BX,1000 <CR>
  31. XXXX:0289 MOV ES,BX <CR>
  32. XXXX:028B XOR DI,DI <CR>
  33. XXXX:028D MOV CX,8000 <CR>
  34. XXXX:0290 REPZ <CR>
  35. XXXX:0291 STOSW <CR>
  36. XXXX:0292 ES: <CR>
  37. XXXX:0293 CMP [0000],AX <CR>
  38. XXXX:0297 JNZ 2A3 <CR>
  39. XXXX:0299 ADD BX,1000 <CR>
  40. XXXX:029D CMP BX,A000 <CR>
  41. XXXX:02A1 JNZ 289 <CR>
  42. XXXX:02A3 MOV CL,06 <CR>
  43. XXXX:02A5 SHR BX,CL <CR>
  44. XXXX:02A7 MOV DS,AX <CR>
  45. XXXX:02A9 MOV [413],BX <CR> ;store
  46.          the total amount of memory
  47.          in BIOS's address
  48. XXXX:02AD MOV AL,80 <CR>
  49. XXXX:02AF OUT A0,AL <CR>
  50. XXXX:02B1 JMP 12E <CR> ;continue on
  51.          as if nothing happened
  52. XXXX:02B4 <CR>
  53. -W CS:100 0 0 1 <CR> ;write out the
  54.          modified boot record
  55. -Q <CR>
  56.  
  57. These changes modify the boot record.
  58. It should be used only on disks where
  59. the system exists as it overlays the
  60. DOS message "N on-system disk error,
  61. replace, and strike any key when
  62. ready". Next open the PC and set the
  63. memory switches to 64K. Then insert
  64. your modified DOS disk and boot up.
  65.  
  66. Notice the short wait!
  67.  
  68. To copy the modified boot record on
  69. to existing disks which contain the
  70. system, simply insert your modified
  71. DOS disk and type:
  72.  
  73. L CS:100 0 0 1 <CR>  ;load the
  74.                modified boot record
  75.  
  76. Now insert the disk you wish to add
  77. the modified boot record to and type:
  78.  
  79. W CS:100 0 0 1 <CR>  ;write out the
  80.                  modified boot record
  81.  
  82. and the disk will be modified.
  83.