home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / Geneve / 9640news / CAT18 / HRDMMRY.ARK < prev    next >
Text File  |  2006-10-19  |  10KB  |  325 lines

  1. ?
  2.  
  3.  HORIZON RAMDISK 256K EXPANSION PROJECT
  4.        by EDWARD A.  HALLETT
  5.       SOUTHWEST NINETY-NINERS
  6.  
  7.  Edited  by  Kevin  Kapus,  Front  Range
  8.  99ers, for use with HORIZON SOURCE CODE
  9.  VER_04
  10.  
  11.  The HORIZON RAMDISK is available in 90K
  12.  SSSD  (360  SECTOR)  and 180K DSSD (720
  13.  SECTOR) sizes.   This  project  expands
  14.  the  size  to 256K (976 SECTORS) for an
  15.  increase in  storage  capacity  of  64K
  16.  (256 SECTORS) or 35.5%.
  17.  
  18.  This increase is accomplished by adding
  19.  one 74LS154  (4  to  16  DECODER),  one
  20.  74LS02   (NOR   GATE),   and  eight  8K
  21.  6264LP-15 STATIC  RAM  chips,  removing
  22.  one  74LS138 (3 to 8 DECODER) chip, and
  23.  modifying the DSR CODE to recognize the
  24.  existance  of  the  added  memory.  The
  25.  original HORIZON RAMDISK  CIRCUIT  does
  26.  not fully decode one of the five memory
  27.  address lines from U9  limiting  it  to
  28.  180  K.  By fully decoding this line we
  29.  pick up eight more CHIP SELECT  SIGNALS
  30.  bringing  us  up to 256K (976 SECTORS).
  31.  This utilizes the  original  design  to
  32.  its  fullest  potential with only a few
  33.  SIMPLE MODIFICATIONS.
  34.  
  35.  :::::::::::::::::::::::::::::::::::::::
  36.  
  37.  CAUTION:    THIS    MODIFICATION     IS
  38.       UNDERTAKEN AT YOUR OWN RISK
  39.    AND MAY VOID YOUR HORIZON WARRANTY
  40.  
  41.  :::::::::::::::::::::::::::::::::::::::
  42.  
  43.  CAUTION:  REMOVE  THE  NICAD  BATTERIES
  44.     FROM THE RAMDISK BEFORE STARTING.
  45.  USE CARE WHEN HANDLING THE RAM CHIPS TO
  46.         AVOID DAMAGE FROM STATIC.
  47.  
  48.  :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  49.  
  50.  1.   Remove  U1,  the  original  3 TO 8
  51.  DECODER  CHIP,  from  its   socket   an
  52.  DISCARD.
  53.  
  54.  2.   Remove the EIGHT PIGGYBACKED PAIRS
  55.  of 8K  RAM  CHIPS  from  their  sockets
  56.  U3-U6 and U12-U16.
  57.  
  58.  3.   Remove  U2,  the  original 4 TO 16
  59.  DECODER, from its socket.
  60.  
  61.  4.  Remove U10, the original NOR  GATE,
  62.  from its socket.
  63.  
  64.  5.   Install  a THIRD ADDITIONAL 8K RAM
  65.  CHIP PIGGYBACKED on top of the  removed
  66.  PIGGYBACKED   PAIRS  of  8K  RAM  CHIPS
  67.  connecting    EACH    PIN    to     its
  68.  CORRESPONDING   PIN   below   with  the
  69.  EXCEPTION  of  PIN  20  (CHIP  SELECT).
  70.  BEND  PIN 20 outward like PIN 20 on the
  71.  CHIP below it.  Reinstall  these  EIGHT
  72.  PIGGYBACKED  TRIOS  into  their sockets
  73.  (U3-U6 and U12-U13) and  RECONNECT  the
  74.  ORIGINAL  lines  from  PIN  20  of  the
  75.  CENTER CHIPS to their ORIGINAL POINT on
  76.  the EXPANSION JACK next to U3.
  77.  
  78.  6.   Install  the  ADDITIONAL  4  TO 16
  79.  DECODER CHIP (74LS154)  PIGGYBACKED  on
  80.  top  of  the  ORIGINAL  4 TO 16 DECODER
  81.  CHIP, U2.  Connect PIN 12 and  PINS  20
  82.  THRU  24  to  their  corresponding PINS
  83.  below.  Bend PINS 1 THRU 11 and PINS 13
  84.  THRU   19   OUTWARD.    Reinstall   the
  85.  PIGGYBACK PAIR of 4 TO 16  DECODERS  in
  86.  its  U2 socket.  Connect lines from the
  87.  UPPER CHIP PINS 1 THRU 8 as follows.
  88.  
  89.  PIN 1 TO U1 SOCKET PIN 15.
  90.  PIN 2 TO U1 SOCKET PIN 14.
  91.  PIN 3 TO U1 SOCKET PIN 13.
  92.  PIN 4 TO U1 SOCKET PIN 12.
  93.  PIN 5 TO U1 SOCKET PIN 11.
  94.  PIN 6 TO U1 SOCKET PIN 10.
  95.  PIN 7 TO U1 SOCKET PIN 9.
  96.  PIN 8 TO U1 SOCKET PIN 7.
  97.  
  98.  These provide the CHIP  SELECT  SIGNALS
  99.  to  the  ORIGINAL  (CENTER LAYER) of 8K
  100.  RAM CHIPS.
  101.  
  102.  Connect lines from the UPPER CHIP  PINS
  103.  9 THRU 11 and 13 THRU 17 as follows.
  104.  
  105.  PIN 9 TO PIN 20 U3 TOP 8K CHIP.
  106.  PIN 10 TO PIN 20 U4 TOP 8K CHIP.
  107.  PIN 11 TO PIN 20 U5 TOP 8K  CHIP.
  108.  PIN 13 TO PIN 20 U6 TOP 8K CHIP.
  109.  PIN 14 TO PIN 20 U12 TOP 8K CHIP.
  110.  PIN 15 TO PIN 20 U13 TOP 8K CHIP.
  111.  PIN 16 TO PIN 20 U14 TOP 8K CHIP.
  112.  PIN 17 TO PIN 20 U15 TOP 8K CHIP.
  113.  
  114.  These  provide  the CHIP SELECT SIGNALS
  115.  to the ADDITIONAL EIGHT  8K  RAM  CHIPS
  116.  (TOP LAYER)
  117.  
  118.  7.   Install  a  new  NOR GATE (74LS02)
  119.  PIGGYBACKED on top of the ORIGINAL  NOR
  120.  GATE,  U10.   Connect PINS 2, 7, and 14
  121.  to the CORRESPONDING PINS below.   BEND
  122.  PINS  1,  3  THRU  6,  and  8  THRU  13
  123.  outward.   Reinstall  the   PIGGYBACKED
  124.  PAIR  or  NOR  GATES in its U10 socket.
  125.  Connect LINES from the  UPPER  CHIP  as
  126.  follows.
  127.  
  128.  PIN 1 TO PINS 18 AND 19 U2 UPPER CHIP.
  129.  PIN 3 TO U1 SOCKET PIN 6.
  130.  
  131.  These  provide  the  CHIP SELECT SIGNAL
  132.  for U2 UPPER 4 TO 16 DECODER CHIP  thus
  133.  fully  decoding  the  available  MEMORY
  134.  ADDRESS LINES.
  135.  
  136.  PINS 4 THRU 6 and PINS 8 THRU 13 of the
  137.  UPPER NOR GATE U10 are not used and are
  138.  left NOT connected.  They may  be  used
  139.  in future modifications.
  140.  
  141.  This     completes     the     HARDWARE
  142.  modifications  to  the  RAMDISK   CARD.
  143.  Next  the DSR SOFTWARE must be modified
  144.  so that this ADDITIONAL MEMORY  can  be
  145.  accessed.
  146.  
  147.  Software   Modifications   updated   to
  148.  Ver_04 by Kevin Kapus
  149.  
  150.  The    original    DSR    CODE,    CALL
  151.  SUBPROGRAMS, ETC.  are located in RACKS
  152.  90-92 at the top of the RAMDISK  MEMORY
  153.  MAP.   The  MODIFIED RAMDISK MEMORY MAP
  154.  now extends to RACK  124  and  the  DSR
  155.  must  be moved to the new top, in RACKS
  156.  122-124.
  157.  
  158.  NOTE: IF THE CODE IS NOT MOVED IT  WILL
  159.  BE   ERASED   WHEN   THE   RAMDISK   IS
  160.  INITIALIZED TO MORE THAN 720 SECTORS.
  161.  
  162.  The changes  to  the  CODE  consist  of
  163.  changing  ALL  REFERENCES for the three
  164.  upper 2K blocks  of  memory  to  a  NEW
  165.  LOCATION,  changing the LOADER PROGRAMS
  166.  to  LOAD  the  NEW  CODE  at  the   NEW
  167.  LOCATION, changing the MAX SECTOR CALL,
  168.  and MAX SECTOR CALL, and modifying  the
  169.  FORMAT ROUTINE of the DSR.
  170.  
  171.  Luckily,  this  is  much EASIER than it
  172.  might appear since the SOURCE CODE  for
  173.  the  HORIZON  RAMDISK was provided with
  174.  the KIT and is very well Documented!
  175.  
  176.  The following PROGRAMS will need to  be
  177.  modified  and then REASSEMBLED with the
  178.  EDITOR-ASSEMBLER.   CALL/S,   CREATE/S,
  179.  LOADER/S, PARTA, SVXB/S, and XB/S.
  180.  
  181.  1.  CALL/S
  182.      Change  "CI R2,1441" to "CI R2,977"
  183.  at LABEL MAX02.
  184.  
  185.  2.  LOADER/S
  186.      Change "DATA >BB00" to "DATA >FB00"
  187.  at LABEL LINK.
  188.      Change  "BYTE >BB" to "BYTE >FB" at
  189.  LABEL MXL1.
  190.      Change "BYTE >BD" to "BYTE >FD"  at
  191.  LABEL MXL2.
  192.      Change  "BYTE >BF" to "BYTE >FF" at
  193.  LABEL MXL3.
  194.  
  195.  3.  PARTA
  196.      Change "DATA 720" to "DATA 976"  at
  197.  LABEL MAXSEC.
  198.      Change  "DATA 720" to "DATA 976" at
  199.  LABEL FORSEC.
  200.      Change "DATA >BB00" to "DATA  FB00"
  201.  at LABEL LINK1.
  202.      Change  "DATA >BD00" to "DATA FD00"
  203.  at LABEL LINK2.
  204.      Change "DATA >BF00" to "DATA  FF00"
  205.  at Label LINK3.
  206.      Add  the  LINES  "C R8,@MAXSEC" and
  207.  "JEQ FFDONE" after  the  LINE  "INC R8"
  208.  (fourth     LINE after LABEL FMTLP1.)
  209.      Add   the  LINE  "FFDONE MOV R8,R3"
  210.  after the LINE "JNE FMTLPO" (sixth LINE
  211.  after     LABEL FMTLP1.)
  212.  
  213.  4.  SVXB/S
  214.      CHANGE   "LI   R1,>BF00"   TO   "LI
  215.  R1>FF00"  (FOURTH  LINE   after   LABEL
  216.  SVXB.)
  217.  
  218.  5.  XB/S
  219.      CHANGE  "CI R2,1441" to "CI R2,977"
  220.  at LABEL MAX02.
  221.  
  222.  Reassemble CALL/S, LOADER/S, SVXB/S and
  223.  XB/S   to   create  NEW  OBJECT  FILES.
  224.  ASSEMBLE the  ORIGINAL  FILES  "CHAR/S"
  225.  and  "DOWNLD/S" from the HORIZON SOURCE
  226.  DISK.
  227.  
  228.  Type in the following program with  the
  229.  Editor Assembler.
  230.  
  231.      COPY "DSK1.PARTA"
  232.      COPY "DSK1.PARTB"
  233.      COPY "DSK1.PARTC"
  234.      COPY "DSK1.PARTD"
  235.      COPY "DSK1.PARTE"
  236.  
  237.  Assemble  this  file, use DSR256 as the
  238.  object file, with the R option.
  239.  
  240.  Next RUN the "LOADER" program assembled
  241.  from "LOADER/S" to LOAD the following:
  242.      "DSR256" into BLOCK 1.
  243.      "CALL"   from  the  assembled  FILE
  244.  "CALL/S into BLOCK2.
  245.      "CHAR"  from  the  assembled   FILE
  246.  "CHAR/S" into BLOCK 3.
  247.      "DOWNLD"  from  the  assembled FILE
  248.  "DOWNLD/S" into BLOCK 3.
  249.  
  250.  Now RUN this BASIC program.
  251.      100 CALL INIT
  252.      110 CALL LOAD("DSK1.XB")
  253.      120 CALL LOAD("DSK1.SVXB")
  254.      130 CALL LINK("SVXB")
  255.      140 END
  256.  
  257.  NOTE:   The RAMDISK  MUST  be  set  CRU
  258.  1000 for the SVXB program to work as it
  259.  does NOT search for  the  HORIZON  CARD
  260.  CRU like the other programs do., If you
  261.  have another CARD at CRU 1000 (like the
  262.  MYARC  128K  or  512  K  CARD)  you can
  263.  change the sixth LINE of  the  "SVXB/S"
  264.  FILE  from  the  "LI  R12,1000"  to "LI
  265.  R12,(CRU of your HORIZON CARD)".
  266.  
  267.  The modified DSR CODE, CALL SUBPROGRAMS
  268.  ETC.   are  now  LOADED  in  their  NEW
  269.  locations in RACKS 122 THRU 124.
  270.  
  271.  This completes the  DSR  modifications.
  272.  All  functions  of  the HORIZON RAMDISK
  273.  will function as  they  did  originally
  274.  but  now  being  able  to  UTILIZE  976
  275.  SECTORS (256K).
  276.  
  277.  Editors Note: The VER_04 MEMTEST I have
  278.  will  not  work.   Use Disk Manger II's
  279.  comprehensive  test   to   check   your
  280.  upgraded ramdisk.
  281.  
  282.  When  formatting the 976 SECTOR RAMDISK
  283.  will  show  "974 SECTORS FREE" and "466
  284.  SECTORS USED".   This  is  because  the
  285.  DISKMANAGER  is  trying  to format 1440
  286.  SECTORS  and  reads  466  USED   during
  287.  SECTOR  VERIFICATION.   This  does  not
  288.  affect RAMDISK OPERATION  in  any  way,
  289.  but  it  can  be corrected to show "974
  290.  SECTORS FREE" and "2 SECTORS  USED"  by
  291.  changing  BYTES  10  and 11 of SECTOR 0
  292.  from >05A0  to  >03D0.   The  following
  293.  program  is used to correct the SECTORS
  294.  FORMATTED number.
  295.  
  296.         DEF  START
  297.  SECTOR DATA >03D0
  298.  START  LI   R12,>1000  (CRU   OF   YOUR
  299.  CARD)
  300.         LI   R1,7
  301.         SWPB R1
  302.         LDCR R1,8
  303.         MOV  @SECTOR,@>580A
  304.         SBZ  0
  305.         RT
  306.         END  START
  307.  
  308.  This completes the HORIZON RAMDISK 256K
  309.  EXPANSION PROJECT for VER_04.
  310.  
  311.  If you have questions  concerning  this
  312.  expansion  project you can send them to
  313.  Kevin   Kapus,   1026   Norwood   Ave.,
  314.  Colorado  Springs  CO  80906,  or phone
  315.  (303)  576-3199   or   contact   Edward
  316.  A. Hallett,  5600  S.  Countryclub #64,
  317.  Tucson AZ 85706.  Phone (602) 889-6930.
  318.  
  319.       Villa...TI Main Menu
  320. ========================================
  321.  
  322. Download complete.  Turn off Capture File.
  323.  
  324.  
  325.