; This Jan 2002  patch23bB.txt patch file contains:
;  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 23Eb  to 23bb (so Initialization shows 23b )

; rseymour@wolfenet.com 19-Jan-2002

; 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      201c1   27      20      (3f106)
;R      202a5   26      21      (3f1ea)
;R      201c5   17      23      chksum

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

R       430d4   bd      20      (-9d)
R       430d5   1e      2a      (+0c)=-91
R       430d6   0c      9d      (chksum)

;  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) controls it
;  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 warning message.
;  Pressing [GoTo] again will allow the motion to continue.
; You 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 the lowest AOS altitude from the keypad
;  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:
;   README23eB.txt  which should have come with this kit.
;  the last line of this file says "; end of patch 23eB"
;  Dick Seymour   19-Jan-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    loc    old     new      item  (c) r.seymour 1/2002
; main patch region: 9-b4a5 (04c4a5) to 9-b58b (04c58b).
R       0004    c4      f9       chksum was 129669316=07 ba 98 c4
R       0005    98      0a       chksum now 129633017=07 ba 0a f9

R       000A    45      62      E->b
R       0142FE  45      62      (32fe)

;             Satellite   to-the-second
R       42aba   2b      16      (-x15
R       42ace   2b      16      (895ea)

;  menu manipulations
R       0126E8  16      18      AzUp->AltEdit
R       0126E9  F2      12      AzUp->AltEdit
R       0126F6  16      18      AltDwn->AzEdit
R       0126F7  E2      02      AltDwn->AzEdit
R       0127FC  18      00      prevent
R       0127FD  02      00      at

R       012800  de      b4      owner
R       012801  fa      15      owner
R       012803  af      a4      msg:Address->Edit
R       012805  b0      9a      msg:Street->Az/RA
R       012808  18      16      Uplink
R       012809  22      F2      Uplink
R       01280A  17      16      ModeLink
R       01280B  F2      C2      ModeLink
R       01280f  04      09      page
R       012810  b4      b4      address
R       012811  15      a5      address

R       012813  af      a4      msg:
R       012815  b1      9b      msg:
R       012816  18      16      22eT
R       012817  32      e2      Dwnlink:1832
R       01281A  17      16      ModeLink
R       01281B  F2      C2      ModeLink
R       01281F  04      09      page
R       012820  b4      b4      Addrs
R       012821  a2      d9      Addrs

;                               LndMrk/Sleep
R       012576  15      18      lndmrk
R       012577  82      22      lndmrk
R       012588  15      18      sleep
R       012589  72      22      sleep

R       012822  02      02      msg:addr
R       012823  af      71      msg:
R       012824  02      01      msg:
R       012825  b3      ea      msg
R       012826  18      15      msg
R       012827  02      82      DwnLnk
R       012828  18      15      DwnLnk
R       012829  32      72      UpLink
R       01282A  17      14      ModeLink
R       01282B  F2      52      ModeLink
R       01282F  04      09      page
R       012830  b5      b5      addr(was
R       012831  30      0d      ditto

;  message replacement (At Breakpoint:)
R       95cc0   41      4d      A  M
R       95cc1   74      61      t  a
R       95cc2   20      78      sp  x
R       95cc3   42      20      B  sp
R       95cc4   72      45      r   E
R       95cc5   65      6c      e  l
R       95cc6   61      65      a  e
R       95cc7   6b      76      k  v
R       95cc8   70      20      p  sp
R       95cc9   6f      28      o  (
R       95cca   69      6d      I   m
R       95ccb   6e      69      n  I
R       95ccc   74      6e      t  n
R       95ccd   3a      73      :  s
R       95cce   20      29      sp  )

R       012258  12      18      UpLnk:
R       012259  62      32      UpLnk:
R       012266  12      18      DwnLnk
R       012267  52      32      DwnLnk

R       012833  af      4a      msg:
R       012834  02      00      msg2:
R       012835  b2      be      msg2a:
R       012836  18      12      DwnLnk->SatEdit
R       012837  22      52      ditto
R       012838  18      12      UpLnk
R       012839  12      62      ditto
R       01283A  17      11      ModeLink
R       01283B  f2      b2      ModeLink
R       01283F  04      09      code
R       012840  b4      b5      code
R       012841  e9      41      limit
;
;       (9b4a5)   AZ   Train display
R       04c4a5  FF      3C      pshx
R       04C4A6  FF      BD      jsr
R       04C4A7  FF      25      clrscrn
R       04C4A8  FF      70      clrscrn
R       04C4A9  FF      FC      ldd
R       04C4AA  FF      B6      azTrain
R       04C4AB  FF      0B      azTrain
R       04C4AC  FF      30      tsx
R       04C4AD  FF      ED      std
R       04C4AE  FF      00      0.x
R       04C4AF  FF      CC      ldd
R       04C4B0  FF      02      msgNum
R       04C4B1  FF      9A      az
R       04C4B2  FF      BD      jsr
R       04C4B3  FF      1E      dispatch
R       04C4B4  FF      0c      dispatch
R       04C4B5  FF      09      page
R       04C4B6  FF      ad      d->msg
R       04C4B7  FF      e4      d->msg
R       04C4B8  FF      BD      jsr
R       04C4B9  FF      25      msg->scrn
R       04C4BA  FF      a0      msg->scrn
R       04C4BB  FF      C6      lda#01
R       04C4BC  FF      01      #01
R       04C4BD  FF      37      pshb
R       04C4BE  FF      5C      incb
R       04C4BF  FF      BD      jsr
R       04C4C0  FF      25      cursor
R       04C4C1  FF      24      cursor
R       04C4C2  FF      31      ins
R       04C4C3  FF      30      tsx
R       04C4C4  FF      8F      xgdx
R       04C4C5  FF      BD      jsr
R       04C4C6  FF      1E      dispatch
R       04C4C7  FF      0c      dispatch
R       04C4C8  FF      05      page
R       04C4C9  FF      9e      IntegerInput
R       04C4CA  FF      09      IntegerInput
R       04C4CB  FF      CE      ldx#
R       04C4CC  FF      B6      azTrain
R       04C4CD  FF      0B      azTrain
R       04C4CE  FF      3C      pshx
R       04C4CF  FF      30      tsx
R       04C4D0  FF      EC      ldd
R       04C4D1  FF      02      2,x
R       04C4D2  FF      BD      jsr
R       04C4D3  FF      22      burn
R       04C4D4  FF      7b      burn
R       04C4D5  FF      38      pulx
R       04C4D6  FF      38      pulx
R       04C4D7  FF      39      rts

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

;            Satellite  AOS altitude action:
R       015F8E  5f      fc      clra   ldd
R       015F8F  4f      b6      clb     valu
R       015F90  ed      4a      std   value
R       015F91  02      ed      #02   std
R       015F92  86      00      lda#   0,x
R       015F93  40      4f      #40    clra
R       015F94  ed      ed      std
R       015F95  00      02      0,x   2,x
; end of patch 23eB
