home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / Geneve / mdos / geneve_manual&mdos_docs / horizon.txt < prev    next >
Text File  |  2006-10-19  |  4KB  |  116 lines

  1.  
  2. Ok, here's how to make a Horizon over 800K
  3. bootable.
  4.  
  5. The boot eprom on the Geneve only has routines
  6. for up to Quad density disks, so we will have to "fool"
  7. it when reading our "High Density" ramdisk so 
  8. it can find the proper sectors where SYSTEM/SYS
  9. is located.
  10.  
  11. Format the ramdisk with Form3meg, choose Y for
  12. "Set disk to boot MDOS" and Y for "Load SYSTEM/
  13. SYS from disk to ramdisk" and go ahead and load
  14. the file on the ramdisk.
  15.  
  16. Now that SYSTEM/SYS is on the Ramdisk, you will 
  17. need to find the File Descriptor Record for it. Load up
  18. "Disk Utilities" or some other sector editor. The sector
  19. will begin with the filename and will probably be sector
  20. >4 or >8. Write this sector down. 
  21.  
  22. You'll also need to find the first actual data sector of
  23. SYSTEM/SYS. This sector includes the string
  24. "reassembling". Write this sector down also.
  25. It will probably be >200.
  26.  
  27. Now for the thinking part. We will be editing  bytes
  28. >1C, >1D, and >1E of the sector with the FDR (either
  29. >4 or >8, you DID write that down, did'nt you?)
  30. We will be interested in the 6 nybbles, or digits, of these
  31. three bytes. Let's number them 1 through 6 starting at the
  32. left digit of byte >1C.
  33.  
  34. Here's what the Nybbles mean:
  35. Nybbles 4, 1, and 2, in that order, are the starting sector
  36. of the file.
  37. Nybbles 5, 6, and 3, in that order, are the number of sectors 
  38. of actual data in the file.
  39.  
  40. So if bytes >1C, >1D, and >1E are >40, >F0, and >1F,
  41. the FDR is telling us we have a file that starts at sector
  42. >040 and the data in it is >1FF sectors long (for any MDOS 
  43. over version 2.50, at least). Well the length is ok, but the 
  44. Geneve will load the wrong data, because it thinks the file
  45. starts at sector >040 instead of sector >200! You'll get a
  46. lock-up, because the wrong data was loaded in ram where
  47. SYSTEM/SYS is supposed to be. 
  48.  
  49. So lets fix it. If we edit Bytes >1C, >1D, and >1E to be
  50. >00, >F2, and >1F, the we are telling the eprom that the
  51. file starts at sector >200 and is >1FF sectors of data
  52. in length, where the eprom will find the correct data.
  53.  
  54. If you've done everything right, the Geneve will now boot
  55. from the ramdisk! If not, you'll have to disable the ramdisk 
  56. via the on-off switch, reboot from floppy, turn the ramdisk 
  57. back on, then start over and do it correctly the next time. 
  58. It DOES work, I've been doing it for years. 
  59.  
  60. For a 1.44m floppy, copy SYSTEM/SYS onto a "clean"
  61. disk. The FDR will be at sector >4. Edit Bytes >1C, >1D, 
  62. and >1E to be >00, >F2, and >1F (again, this is for MDOS
  63. version 2.50 and greater).
  64.  
  65. WARNING! Do not perform any file operations such as
  66. copy, move or delete on the SYSTEM/SYS file after you
  67. have made these changes! You can copy other files to
  68. or from the disk, but file operations on SYSTEM/SYS will
  69. corrupt all sorts of things on the disk, just don't do it!
  70.  
  71. The information which enabled me to come up with this
  72. procedure can be found on pages 61 through 63 of the
  73. HFDC manual, "File Descriptor Records".
  74.  
  75. If you don't understand the above instructions, just ask
  76. and I'll try and address any problems you may have in this
  77. procedure.
  78.  
  79. Tony Knerr
  80. 72070.573@compuserve.com
  81. ------------------------------
  82.  
  83. I apologize for forgetting about LOAD/SYS in my
  84. previous instructions for making a bootable 1.44m
  85. floppy. Here's what you need to do for that file.
  86.  
  87. Copy LOAD/SYS onto the floppy after you have 
  88. copied SYSTEM/SYS.
  89.  
  90. Make the changes to the SYSTEM/SYS FDR as 
  91. stated in my previous message.
  92.  
  93. The first six bytes of the data for LOAD/SYS are:
  94. >0000, >06DC, >A000. You'll find these at the start
  95. of sector >400.
  96.  
  97. The FDR for LOAD/SYS will be at sector >8.
  98. Bytes >1C, >1D, >and >1E will need to be changed
  99. from >00, >71, >00 to >00, >74, >00 per the information
  100. in my previous message.
  101.  
  102. Now the floppy is bootable. Do not do any file 
  103. operations on these two files as you will not be
  104. reading or writing to the proper sectors and you'll
  105. also mess up the bitmap. It's ok to add or remove
  106. other files on the disk, just don't do anything to
  107. SYSTEM/SYS or LOAD/SYS.
  108.  
  109. Again, if you need further assistance, feel free to 
  110. contact me.
  111.  
  112. Tony Knerr
  113. 72070.573@compuserve.com
  114.  
  115.  
  116.