
; This March 2002  patch24a4.txt patch file contains:
;  Adds 4504/114eq to Known Models (replaces DS-70)(a GEM scope!)
;  Editing of Training Values (an EDIT menu item under Setup>Train Drives)
;  Editing of Satellite Tracking Horizon (AOS Alt: menu item under Satellites)
;  Control of Elevation Travel during GoTo motion (Utilities > Max Elev)
;  Automatic Satellite Track starting at down-count=zero  (optional, see new23bB.txt)
;  Display of Satellite AOS time to-the-second
;  Version number change from 24Ea  to 24a4 (so Initialization shows 24a )

; rseymour@wolfenet.com 17-March-2002

;  4504/114eq replaces DS-70  (use the DS-60 for -70 if you need to)
;   The upper lower travel limits are 4800/-600 arcmin (+60 deg, - 10 deg)
;   ... values taken from the LXD55 series.  Please inform me if they're
;  too restrictive (too many Check Mount messages) or too loose (hits tripod)
;

; Here are the Two optional patches:
;   Cord Wrap control and Automatic Satellite Tracking

; Remove the semicolons (;) from the next three ";R" lines to allow
;  turning OFF Cord Wrap in hard-stopped scopes (ETX90/105/125)
; This only -allows- turning Cord Wrap OFF, it does not change its current setting.

;R      20ea4   27      20      (3fEA4)   cordwrap [24ea]
;R      20f88   26      21      (3FF88)   cordwrap [24ea]
;R      20ea7   17      23      (3fea7) chksum   cordwrap [24ea]


; ADD semicolons to the following three "R" lines to -prevent- Automatic
;  Start-of-tracking during a Satellite pass.  
;            Satellite  AutoTrack

R       43e32   bd      20      (-9d)         AutoStart(8_AE32) [24ea]
R       43e33   1e      2a      (+0c)=-91       AutoStart  [24ea]
R       43e34   19      AA      (chksum)       AutoStart(9d now AA) [24ea]

;  there are NO further "optional" patches in this file.
;  changing any further "R" lines will cause the Updater to refuse to load the file.

; Autostar Menu items added by this patch:
;
;  Training results Display and Edit:

; Under Setup > Telescope > Train Drive 
; are now (scroll up or down from the "Az/RA Train" or "Alt/Dec Train")
;  Edit: > Az/RA Train
;    and
;  Edit: > Alt/Dec Train
; press [enter] to allow direct display and manipulation of the results of training.
;    a power cycle (without using Park Scope) is needed for 
;     the  new values to be fully implemented.
; =======
;  Max GoTo Elevation Travel Limit:
;  Utilities > Max Elev (mins)
;  (between LandmarkSurvey and Sleep Scope) 
;  units are arcminutes, default is 5400 (90 degrees)

;   This sets an upper travel limit for GoTo operations.
;  This will protect you from crunching your rear-port mounted
;    hardware.
;  The units displayed are ARCMINUTES, so 5400 = 90 degrees.
;  4800 = 80 deg, 4200 = 70deg, 3600 = 60 deg, 3000 = 50 deg,
;   2400 = 40 deg,  1800 = 30 deg,  1200 = 20 deg, 600 =10 deg.
;
;  Once set, the telescope will not rise above that elevation/Dec
;   during GoTo operations, without your permission.
; Attempts to GoTo above that barrel elevation will cause a CHECK MOUNT warning message.
;  Pressing [GoTo] again will allow the motion to continue.
:  Press [mode] to avoid the motion.
; You can reset the limit to its default angle (90 degrees on LX90's) 
; by either entering 5400 or by selecting your telescope's model again.
; =======
   
;  Satellite Lowest Elevation (Horizon) Patch:

; This adds the ability to set,  from the keypad, the lowest AOS altitude
;  satellite pass-prediction will use.
;  You now have a new menu item:
;    Satellite > AOS Alt.
;  enter a value in degrees (0 to 90)
;  Due to internal shortcuts, the value you enter may not be -exactly-
;  what you see a second time, but it will be close.
;  The value displayed is the one being used.  No error checking!
; =======
;
;  For installation instructions, see:
;   README24a4.txt  which should have come with this kit.
;  the last line of -this- file says "; end of patch 24a4"
;  Dick Seymour   17-March-2002


;  there are NO further "optional" patches in this file.
;  changing any further lines will cause the Updater to refuse to load the file.


; 23eB patch region: 9-b4a5 (04c4a5) to 9-b58b (04c58b).  (E6 = 230. bytes)
; 24ea patch region:  5-b424 to b5ff  <--only change page...04C->02C    
R       0004    e7      57       chksum was 128774631= 07 ac f1 e7
R       0005    f1      3f      ;chksum now 128728919= 07 ac 3f 57

R       000A    45      61      (E->a) [24ea]
R       0142FE  45      61      (32fe) [24ea]
R       000B    61      34      (a->4)  4504 only [24ea]
R       0142FF  61      34      (a->4)  4504 only [24ea]

;             Satellite   to-the-second
R       43792   fb      e6      (-x15  [24ea]
R       437a6   fb      e6      (8a7a6) [24ea]

;  menu manipulations
R       0126f8  17      18      AzUp->AltEdit [24ea]
R       0126f9  02      22      AzUp->AltEdit [24ea]
R       012706  16      18      AltDwn->AzEdit [24ea]
R       012707  f2      12      AltDwn->AzEdit [24ea]
R       01280C  18      00      prevent [24ea]
R       01280D  12      00      at [24ea]

R       012810  EB      C2      owner [24ea]
R       012811  5E      DC      owner [24ea]
R       012813  B2      aF      msg:Address->Edit [24ea]
R       012815  b3      9D      msg:Street->Az/RA [24ea]
R       012818  18      17      Uplink [24ea]
R       012819  32      02      Uplink [24ea]
R       01281A  18      16      ModeLink [24ea]
R       01281B  02      D2      ModeLink [24ea]
R       01281f  04      05      page  first patch set  [24ea]
R       012820  C2      b4      address first patch set [24ea]
R       012821  DC      a5      address  [24ea]

R       012823  B2      AF      msg: addr->edit [24ea]
R       012825  B4      9E      msg: city->Alt/Dec [24ea]
R       012826  18      16      24eA [24ea]
R       012827  42      F2      Dwnlink:1842 [24ea]
R       01282A  18      16      ModeLink [24ea]
R       01282B  02      D2      ModeLink [24ea]
R       01282F  04      05      page second patch set [24ea]
R       012830  C3      b4      Addrs [24ea]
R       012831  69      d9      Addrs [24ea]

;                               LndMrk/Sleep
R       012576  15      18      lndmrk [24ea]
R       012577  82      32      lndmrk [24ea]
R       012588  15      18      sleep [24ea]
R       012589  72      32      sleep [24ea]

R       012832  02      02      msg:addr->util [24ea]
R       012833  B2      73      msg: [24ea]
R       012834  02      01      msg:Zip->Brkpnt(MaxElev) [24ea]
R       012835  b6      eC      msg [24ea]
R       012836  18      15      msg [24ea]
R       012837  12      82      DwnLnk [24ea]
R       012838  18      15      DwnLnk [24ea]
R       012839  42      72      UpLink [24ea]
R       01283A  18      14      ModeLink [24ea]
R       01283B  02      52      ModeLink [24ea]
R       01283F  04      05      page third patch set [24ea]
R       012840  C3      b5      addr [24ea]
R       012841  F7      0d      ditto [24ea]

;  message replacement (At Breakpoint:)
R       97cc7   41      4d      A  M  (97cc7...) [24ea]
R       97cc8   74      61      t  a
R       97cc9   20      78      sp  x
R       97cca   42      20      B  sp
R       97ccb   72      45      r   E
R       97ccc   65      6c      e  l
R       97ccd   61      65      a  e
R       97cce   6b      76      k  v
R       97ccf   70      20      p  sp
R       97cd0   6f      28      o  (
R       97cd1   69      6d      I   m
R       97cd2   6e      69      n  i
R       97cd3   74      6e      t  n
R       97cd4   3a      73      :  s
R       97cd5   20      29      sp  ) [24ea]

R       012258  12      18      UpLnk: SatElev [24ea]
R       012259  62      42      UpLnk: [24ea]
R       012266  12      18      DwnLnk [24ea]
R       012267  52      42      DwnLnk [24ea]

R       012843  b2      4C      msg: Addr->Satel [24ea]
R       012844  02      00      msg2: State->AOS_elev [24ea]
R       012845  b5      be      msg2a: [24ea]
R       012846  18      12      DwnLnk->SatEdit [24ea]
R       012847  32      52      ditto [24ea]
R       012848  18      12      UpLnk [24ea]
R       012849  22      62      ditto [24ea]
R       01284A  18      11      ModeLink [24ea]
R       01284B  02      b2      ModeLink [24ea]
R       01284F  04      05      code SatElev [24ea]
R       012850  c3      b5      code [24ea]
R       012851  b0      41      limit [24ea]
;
;       [5b4a5]   AZ   Train display [24ea]
R       02C4a5  FF      3C      pshx
R       02C4A6  FF      BD      jsr
R       02C4A7  FF      25      clrscrn
R       02C4A8  FF      7d      clrscrn [24ea]
R       02C4A9  FF      FC      ldd
R       02C4AA  FF      B6      azTrain
R       02C4AB  FF      0B      azTrain
R       02C4AC  FF      30      tsx
R       02C4AD  FF      ED      std
R       02C4AE  FF      00      0.x
R       02C4AF  FF      CC      ldd
R       02C4B0  FF      02      msgNum
R       02C4B1  FF      9d      az [24ea]
R       02C4B2  FF      BD      jsr
R       02C4B3  FF      1E      dispatch
R       02C4B4  FF      19      dispatch [24ea]
R       02C4B5  FF      09      page
R       02C4B6  FF      c8      d->msg [24ea]
R       02C4B7  FF      07      d->msg [24ea]
R       02C4B8  FF      BD      jsr
R       02C4B9  FF      25      msg->scrn
R       02C4BA  FF      ad      msg->scrn [24ea]
R       02C4BB  FF      C6      lda#01
R       02C4BC  FF      01      #01
R       02C4BD  FF      37      pshb
R       02C4BE  FF      5C      incb
R       02C4BF  FF      BD      jsr
R       02C4C0  FF      25      cursor
R       02C4C1  FF      31      cursor [24ea]
R       02C4C2  FF      31      ins
R       02C4C3  FF      30      tsx
R       02C4C4  FF      8F      xgdx
R       02C4C5  FF      BD      jsr
R       02C4C6  FF      1E      dispatch
R       02C4C7  FF      19      dispatch [24ea]
R       02C4C8  FF      05      page
R       02C4C9  FF      ac      IntegerInput [24ea]
R       02C4CA  FF      d9      IntegerInput [24ea]
R       02C4CB  FF      CE      ldx#
R       02C4CC  FF      B6      azTrain
R       02C4CD  FF      0B      azTrain
R       02C4CE  FF      3C      pshx
R       02C4CF  FF      30      tsx
R       02C4D0  FF      EC      ldd
R       02C4D1  FF      02      2,x
R       02C4D2  FF      BD      jsr
R       02C4D3  FF      22      burn
R       02C4D4  FF      88      burn [24ea]
R       02C4D5  FF      38      pulx
R       02C4D6  FF      38      pulx
R       02C4D7  FF      39      rts

;              ALT Train display
R       02C4D9  FF      3C      pshx
R       02C4DA  FF      BD      jsr
R       02C4DB  FF      25      clrscrn
R       02C4DC  FF      7d      clrscrn [24ea]
R       02C4DD  FF      FC      ldd
R       02C4DE  FF      B6      altTrain
R       02C4DF  FF      09      altTrain
R       02C4E0  FF      30      tsx
R       02C4E1  FF      ED      std
R       02C4E2  FF      00      0,x
R       02C4E3  FF      CC      ldd#
R       02C4E4  FF      02      msg:Alt
R       02C4E5  FF      9e      Alt [24ea]
R       02C4E6  FF      BD      jsr
R       02C4E7  FF      1E      dispatch
R       02C4E8  FF      19      dispatch [24ea]
R       02C4E9  FF      09      page
R       02C4EA  FF      c8      d->msg [24ea]
R       02C4EB  FF      07      msg [24ea]
R       02C4EC  FF      BD      jsr
R       02C4ED  FF      25      d->scrn
R       02C4EE  FF      ad      scr [24ea]
R       02C4EF  FF      C6      ldb#
R       02C4F0  FF      01      #01
R       02C4F1  FF      37      pshb
R       02C4F2  FF      5C      incb
R       02C4F3  FF      BD      jsr
R       02C4F4  FF      25      cursor
R       02C4F5  FF      31      curs  [24ea]
R       02C4F6  FF      31      ins
R       02C4F7  FF      30      tsx
R       02C4F8  FF      8F      xgdx
R       02C4F9  FF      BD      jsr
R       02C4FA  FF      1E      dispatch
R       02C4FB  FF      19      dispatch [24ea]
R       02C4FC  FF      05      page
R       02C4FD  FF      ac      IntInput [24ea]
R       02C4FE  FF      d9      IntIn [24ea]
R       02C4FF  FF      CE      ldx#
R       02C500  FF      B6      altTrain
R       02C501  FF      09      altTrain
R       02C502  FF      3C      pshx
R       02C503  FF      30      tsx
R       02C504  FF      EC      ldd
R       02C505  FF      02      2,x
R       02C506  FF      BD      jsr
R       02C507  FF      22      burnWd
R       02C508  FF      88      burn [24ea]Wd
R       02C509  FF      38      pulx
R       02C50A  FF      38      pulx
R       02C50B  FF      39      rts
;                  Barrel elevLim
R       02C50D  FF      3C      pshx
R       02C50E  FF      BD      jsr
R       02C50F  FF      25      clrscr
R       02C510  FF      7d      clr [24ea]
R       02C511  FF      FC      ldd
R       02C512  FF      B6      elevLim
R       02C513  FF      13      elevLim
R       02C514  FF      30      tsx  
R       02C515  FF      ED      std
R       02C516  FF      00      0,x
R       02C517  FF      CC      ldd#
R       02C518  FF      01      msg
R       02C519  FF      EC      custom [24ea]
R       02C51A  FF      BD      jsr
R       02C51B  FF      1E      dispatch
R       02C51C  FF      19      dispatch [24ea]
R       02C51D  FF      09      page
R       02C51E  FF      c8      d->msg [24ea]
R       02C51F  FF      07      msg [24ea]
R       02C520  FF      BD      jsr
R       02C521  FF      25      d->scrn
R       02C522  FF      ad      scr [24ea]n
R       02C523  FF      C6      ldb#
R       02C524  FF      01      #01
R       02C525  FF      37      pshb
R       02C526  FF      5C      incb
R       02C527  FF      BD      jsr
R       02C528  FF      25      cursor
R       02C529  FF      31      curs  [24ea]
R       02C52A  FF      31      ins
R       02C52B  FF      30      tsx
R       02C52C  FF      8F      xgdx
R       02C52D  FF      BD      jsr
R       02C52E  FF      1E      dispatch
R       02C52F  FF      19      dispatch [24ea]
R       02C530  FF      05      page
R       02C531  FF      ac      IntInput [24ea]
R       02C532  FF      d9      IntIn... div60? [24ea]
R       02C533  FF      CE      ldx#  
R       02C534  FF      B6      ElevLim
R       02C535  FF      13      ElevLim
R       02C536  FF      3C      pshx
R       02C537  FF      30      tsx  
R       02C538  FF      EC      ldd
R       02C539  FF      02      2,x
R       02C53A  FF      BD      jsr
R       02C53B  FF      22      burnWd
R       02C53C  FF      88      burn [24ea]Wd
R       02C53D  FF      38      pulx
R       02C53E  FF      38      pulx
R       02C53F  FF      39      rts
;    Satellite  AOSaltitude Input:
R       02C541  FF      3C      pshx
R       02C542  FF      3C      pshx
R       02C543  FF      3C      pshx
R       02C544  FF      3C      pshx
R       02C545  FF      BD      jsr
R       02C546  FF      25      clrscrn
R       02C547  FF      7d      clrscrn [24ea]
R       02C548  FF      CC      ldd#
R       02C549  FF      00      AOSmsg
R       02C54A  FF      BE      AOSmsg [24ea]
R       02C54B  FF      BD      jsr
R       02C54C  FF      1E      dispatch
R       02C54D  FF      19      dispatch [24ea]
R       02C54E  FF      09      page
R       02C54F  FF      c8      d->msg [24ea]
R       02C550  FF      07      d->msg [24ea]
R       02C551  FF      BD      jsr
R       02C552  FF      25      d->scrn
R       02C553  FF      ad      scr [24ea]n
R       02C554  FF      C6      ldb#
R       02C555  FF      01      #01
R       02C556  FF      30      tsx
R       02C557  FF      E7      stb
R       02C558  FF      00      0,x
R       02C559  FF      5C      incb
R       02C55A  FF      BD      jsr
R       02C55B  FF      25      curs
R       02C55C  FF      31      curs  [24ea]
R       02C55D  FF      FC      ldd#
R       02C55E  FF      B6      location [24ea]
R       02C55F  FF      4A      location [24ea]
R       02C560  FF      30      tsx
R       02C561  FF      ED      std
R       02C562  FF      04      4,x
R       02C563  FF      CC      ldd#
R       02C564  FF      00      #00
R       02C565  FF      00      #00
R       02C566  FF      ED      std
R       02C567  FF      06      6,x
R       02C568  FF      8F      xgdx
R       02C569  FF      C3      add#
R       02C56A  FF      00      #00
R       02C56B  FF      04      #04
R       02C56C  FF      30      tsx
R       02C56D  FF      ED      std
R       02C56E  FF      01      1,x
R       02C56F  FF      C6      ldb#
R       02C570  FF      02      #02
R       02C571  FF      E7      stb
R       02C572  FF      00      0,x
R       02C573  FF      C6      ldb#
R       02C574  FF      04      #04
R       02C575  FF      BD      jsr
R       02C576  FF      1E      dispatch
R       02C577  FF      19      dispatch [24ea]
R       02C578  FF      05      page
R       02C579  FF      c9      FloatIn [24ea]
R       02C57A  FF      e0      FloatIn [24ea]
R       02C57B  FF      30      tsx
R       02C57C  FF      EC      ldd
R       02C57D  FF      04      4,x
R       02C57E  FF      CE      ldx#
R       02C57F  FF      B6      location
R       02C580  FF      4A      location
R       02C581  FF      3C      pshx
R       02C582  FF      30      tsx
R       02C583  FF      BD      jsr
R       02C584  FF      22      burnWd
R       02C585  FF      88      burn [24ea]Wd
R       02C586  FF      38      pulx
R       02C587  FF      38      pulx
R       02C588  FF      38      pulx
R       02C589  FF      38      pulx
R       02C58A  FF      38      pulx
R       02C58B  FF      39      rts

;            Satellite  AOS altitude action: [24ea 2-cfd9 2-docf]
R       015Fd9  5f      fc      clra   ldd (2-cf8e)[near 2-cf56?]
R       015Fda  4f      b6      clb     valu
R       015Fdb  ed      4a      std   value
R       015Fdc  02      ed      #02   std
R       015Fdd  86      00      lda#   0,x
R       015Fde  40      4f      #40    clra
R       015Fdf  ed      ed      std
R       015Fe0  00      02      0,x   2,x

R       0160cf  5f      fc      clra   ldd (2-cf8e)[near 2-cf56?]
R       0160d0  4f      b6      clb     valu
R       0160d1  ed      4a      std   value
R       0160d2  02      ed      #02   std
R       0160d3  86      00      lda#   0,x
R       0160d4  40      4f      #40    clra
R       0160d5  ed      ed      std
R       0160d6  00      02      0,x   2,x

; 4504
; 4504/114eq replacing DS-70

R       21950   99      F0      DS-70->4504msg [24ea]

R       97cfa   72      34      4504/114EQ [97cfa] [24ea]
R       97cfb   65      35    (was breakmask) [24ea]
R       97cfc   61      30 
R       97cfd   6b      34
R       97cfe   6d      2f
R       97cff   61      31
R       97d00   73      31
R       97d01   6b      34
R       97d02   20      45
R       97d03   5b      51

R       2140f   02      03     900 FL [24ea]
R       21410   bc      84   [24ea]
R       2141a   0f      12      4800_max_elev [24ea]
R       2141b   78      c0   [24ea]
R       21425   fe      fd     -600_min_elev [24ea]
R       21426   5c      a8   [24ea]
R       2142e   04      05     5-ff06_branch   [24ea]
R       2142f   81      ff     5-ff06_branch   [24ea]
R       21430   b9      06     5-ff06_branch   [24ea]

R       30F06   ff      3c     at 5-ff06   [24ea]
R       30F07   ff      3c   pshx,pshx
R       30F08   ff      cc   ldd_03ca
R       30F09   ff      03
R       30F0A   ff      CA
R       30F0B   ff      30   tsx
R       30F0C   ff      ed   std_2,x
R       30F0D   ff      02
R       30F0E   ff      cc   ldd_4092
R       30F0F   ff      40
R       30F10   ff      92
R       30F11   ff      ed   std_0,x
R       30F12   ff      00
R       30F13   ff      bd   dispatch
R       30F14   ff      1e
R       30F15   ff      19
R       30F16   ff      09  setAzratio [24ea]
R       30F17   ff      d7
R       30F18   ff      65
R       30F19   ff      cc   ldd_0194
R       30F1A   ff      01
R       30F1B   ff      94
R       30F1C   ff      30   tsx
R       30F1D   ff      ed   std_2,x
R       30F1E   ff      02
R       30F1F   ff      cc   ldd_4092
R       30F20   ff      40
R       30F21   ff      92
R       30F22   ff      ed   std_0,x
R       30F23   ff      00
R       30F24   ff      bd   dispatch
R       30F25   ff      1e
R       30F26   ff      19
R       30F27   ff      09   setALTratio [24ea]
R       30F28   ff      d7
R       30F29   ff      9a
R       30F2A   ff      cc   ldd_B73E_(status_bits)
R       30F2B   ff      b7
R       30F2C   ff      3e
R       30F2D   ff      30   tsx
R       30F2E   ff      ed   std_0,x
R       30F2F   ff      00
R       30F30   ff      f6   ldab_B73e
R       30F31   ff      b7
R       30F32   ff      3e
R       30F33   ff      ca   orab_x18_(GEM,Polar)
R       30F34   ff      18
R       30F35   ff      bd   jst_228f_(burn_EEprom)
R       30F36   ff      22
R       30F37   ff      9c    [24ea]
R       30F38   ff      cc   ldd_B73d_(more_status)
R       30F39   ff      b7
R       30F3A   ff      3d
R       30F3B   ff      30   tsx
R       30F3C   ff      ed   std_0,x
R       30F3D   ff      00
R       30F3E   ff      f6   ldab_b73d
R       30F3F   ff      b7
R       30F40   ff      3d
R       30F41   ff      ca    orab_x08_(cord_wrap)
R       30F42   ff      08
R       30F43   ff      bd   jsr_228f_(burn)
R       30F44   ff      22
R       30F45   ff      9c    [24ea]
R       30F46   ff      cc    ldd_b615_(Min_Elev)
R       30F47   ff      b6
R       30F48   ff      15
R       30F49   ff      30    tsx
R       30F4A   ff      ed     std_0,x
R       30F4B   ff      00
R       30F4C   ff      cc    ldd_fda8_(-600)
R       30F4D   ff      fd
R       30F4E   ff      a8
R       30F4F   ff      bd   jsr_227b_(burn_Word)
R       30F50   ff      22
R       30F51   ff      88   [24ea]
R       30F52   ff      38   pulx
R       30F53   ff      38   pulx
R       30F54   ff      39   rts
; end of patch 24a4
