; This Feb 2003  patch26dd.txt patch file contains:

;  Editing of Training Values (an EDIT menu item under Setup>Train Drives)
;  Does NOT replace DS-70 with 4504/114eq 

;  Automatic Satellite Track starting at down-count=zero  (optional, see below)
;  Display of Satellite AOS time to-the-second
;  CordWrap control (optional, see below)
;  Version number change from 26Ed  to 26dd (so Initialization shows 26d )

; rseymour@wolfenet.com 22-Feb-2003

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

; ADD semicolons (;) in front of the next three ";R" lines to BLOCK control of
; Cord Wrap ON/OFF in hard-stopped scopes (ETX90/105/125,LXD55)
; This only -allows- turning Cord Wrap OFF, it does not change its current setting.
; (i have had reports that this is no longer working, i cannot test at this time)
; (but at least it doesn't -hurt-)

R      1f8ee   27      20      cordwrap [26Ed]   3-e8ee
R      1f9d2   26      21      cordwrap [26Ed]   3-e9d2
R      1f8f2   17      23      chksum   cordwrap [26Ed] 3-e8f2

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

R       45201   bd      20      (-9d)      AutoStart  [26c:8-c823 [26d:8-c201
R       45202   1e      2a      (+0c)=-91  AutoStart  [26c:8-c824 [26d:8-c202
R       45204   05      96      (chksum)   AutoStart  [26c:8-c826 [26d:8-c204

;  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.
; =======

;  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)

;  For installation instructions, see:
;   README26dd.txt  which should have come with this kit.
;  the last line of -this- file says "; end of patch 26dd"
;  "Have fun" (tm) -- Dick Seymour   22-Feb-2003

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

; 26eb,c,d patch region:  a-b424 to b5ff  <--no change page (

;26c old: 81.75.aa.07
R   0004    fa     72       chksum
R   0005    ca     67       chksum
;R   0006    b7     b7       chksum
;R   0007    07     07       chksum

R       000A    45      64      (E->d) [26ed] version
R       0142FE  45      64      (32fe) [26ed] version
;R       000b    64      34      (d->4) [26ed] version
;R       0142Ff  64      34      (32ff) [26ed] version

;             Satellite   to-the-second
R       44a3f    6a      55       [26ed:8-ba3b 6a->55
R       44a53    6a      55       [26ed:8-ba53 6a->55

;  menu manipulations 
; automatic menu patches v26ed
R      12872    18    00     Owner>Addr Enter surpress
R      12873    78    00     Owner>Addr Enter surpress

R      12875    04    04        Street Action pg
R      12876    D8    AE      Street Action addr
R      12877    59    82      Street Action addr

R      12878    02    02     Addr->Edit msg
R      12879    B8    AD     Addr->Edit msg
R      1287A    02    02     Street->AzTrnMsg
R      1287B    B9    a3     Street->AzTrnMsg
R      1287E    18    17     up to AltTrn
R      1287F    98    38     up to AltTrn
R      12880    18    17     Mode to TrnDrvs
R      12881    68    08     Mode to TrnDrvs
R      12885    04    A      action page to Patch page
R      12886    AE    B4     action adr to Patch adr
R      12887    82    A5     action adr to Patch adr

R      1273C    17    18     AltTrnDwn to AzEd
R      1273D    28    78     AltTrnDwn

R      12888    02    02     Addr->Edit msg
R      12889    B8    AD     Addr->Edit msg
R      1288A    02    02     City->AltTrnMsg
R      1288B    BA    a4     City->AltTrnMsg
R      1288C    18    17     Dwn to AltTrn
R      1288D    A8    28     Dwn to AltTrn
R      12890    18    17     Mode to TrnDrvs
R      12891    68    08     Mode to TrnDrvs
R      12895    04    A      action page to Patch page
R      12896    AF    B4     action adr to Patch adr
R      12897    0F    D9     action adr to Patch adr

R      1272E    17    18      AzTrnUp to AltEdit
R      1272F    38    88      AzTrnUp to AltEdit

;
;       [Ab4a5]   AZ   Train display [26ed](a-b4a5)
R       0544a5  FF      3C      pshx
R       0544A6  FF      BD      jsr
R       0544A7  FF       26      clrscrn [26ed: 260b
R       0544A8  FF       0b      clrscrn [26ed: 260b
R       0544A9  FF      FC      ldd
R       0544AA  FF      B6      azTrain  
R       0544AB  FF      0B      azTrain  [26ed: b60b)
R       0544AC  FF      30      tsx
R       0544AD  FF      ED      std
R       0544AE  FF      00      0.x
R       0544AF  FF      CC      ldd
R       0544B0  FF      02      msgNum [26ed] :02a3  "Az/RA Number")
R       0544B1  FF      A3      az     [26ed] :02a3  "Az/RA Number")
R       0544B2  FF      BD      jsr
R       0544B3  FF      1E      dispatch [26ed:1e7f
R       0544B4  FF      7f      dispatch [26ed:1e7f
R       0544B5  FF      09      page
R       0544B6  FF      c1      d->msg [26ed:9-c141
R       0544B7  FF      41      d->msg [26ed:9-c141
R       0544B8  FF      BD      jsr
R       0544B9  FF      26      msg->scrn [26ed:263b
R       0544BA  FF      3b      msg->scrn [26ed:263b
R       0544BB  FF      C6      lda#01
R       0544BC  FF      01      #01
R       0544BD  FF      37      pshb
R       0544BE  FF      5C      incb
R       0544BF  FF      BD      jsr
R       0544C0  FF      25      cursor [26ed:25bf
R       0544C1  FF      bf      cursor [26ed:25bf
R       0544C2  FF      31      ins
R       0544C3  FF      30      tsx
R       0544C4  FF      8F      xgdx
R       0544C5  FF      BD      jsr
R       0544C6  FF      1E      dispatch [26ed:1e7f
R       0544C7  FF      7f      dispatch [26ed:1e7f
R       0544C8  FF      05      page
R       0544C9  FF      9b      IntegerInput [26ed:5-9b8e
R       0544CA  FF      8e      IntegerInput [26ed:5-9b8e
R       0544CB  FF      CE      ldx#
R       0544CC  FF      B6      azTrain
R       0544CD  FF      0B      azTrain [26ed]
R       0544CE  FF      3C      pshx
R       0544CF  FF      30      tsx
R       0544D0  FF      EC      ldd
R       0544D1  FF      02      2,x
R       0544D2  FF      BD      jsr
R       0544D3  FF      22      burnWd [26ed:22ee
R       0544D4  FF      ee      burnWd [26ed:22ee
R       0544D5  FF      38      pulx
R       0544D6  FF      38      pulx
R       0544D7  FF      39      rts

;              ALT Train display
R       0544D9  FF      3C      pshx
R       0544DA  FF      BD      jsr
R       0544DB  FF       26      clrscrn [26ed:260b
R       0544DC  FF       0b      clrscrn [26ed:260b
R       0544DD  FF      FC      ldd
R       0544DE  FF      B6      altTrain
R       0544DF  FF      09      altTrain [26ed
R       0544E0  FF      30      tsx
R       0544E1  FF      ED      std
R       0544E2  FF      00      0,x
R       0544E3  FF      CC      ldd#
R       0544E4  FF      02      msg:Alt  [26ed: 02a4 "Alt/Dec number")
R       0544E5  FF      a4      Alt [26ed: 02a4 "Alt/Dec number")
R       0544E6  FF      BD      jsr
R       0544E7  FF      1E      dispatch [26ed:1e7f
R       0544E8  FF      7f      dispatch [26ed:1e7f
R       0544E9  FF      09      page
R       0544EA  FF      c1      d->msg [26ed:9-c141
R       0544EB  FF      41      d->msg [26ed:9-c141
R       0544EC  FF      BD      jsr
R       0544ED  FF      26      d->scrn [26ed:263b
R       0544EE  FF      3b      d->scrn [26ed:263b
R       0544EF  FF      C6      ldb#
R       0544F0  FF      01      #01
R       0544F1  FF      37      pshb
R       0544F2  FF      5C      incb
R       0544F3  FF      BD      jsr
R       0544F4  FF      25      setcursor [26ec:25bf
R       0544F5  FF      bf      SetCurs   [26ec:25bf
R       0544F6  FF      31      ins
R       0544F7  FF      30      tsx
R       0544F8  FF      8F      xgdx
R       0544F9  FF      BD      jsr
R       0544FA  FF      1E      dispatch [26ed:1e7f
R       0544FB  FF      7f      dispatch [26ed:1e7f
R       0544FC  FF      05      page
R       0544FD  FF      9b      IntInput [26ed:5-9b8e
R       0544FE  FF      8e      IntInput [26ed:5-9b8e
R       0544FF  FF      CE      ldx#
R       054500  FF      B6      altTrain
R       054501  FF      09      altTrain [26ed]
R       054502  FF      3C      pshx
R       054503  FF      30      tsx
R       054504  FF      EC      ldd
R       054505  FF      02      2,x
R       054506  FF      BD      jsr
R       054507  FF      22      burnWd [26ed:22ee
R       054508  FF      ee      burnWd [26ed:22ee
R       054509  FF      38      pulx
R       05450A  FF      38      pulx
R       05450B  FF      39      rts
; a-b50c next free byte
;                  Barrel elevLim:  now provided by Meade
;    Satellite  AOSaltitude Input:  now provided by Meade

; 4504
; 4504/114eq replacing DS-70  21xxx=4-8000 [26ec] 20xxx=3-fxxx [26ed]
;R       206a8   01      01
;R       206a9   99      f3    DS-70->4504msg [26ed: 3-f6a9 99->f3

R       97d1b   72      34      "4504/114EQ"  
R       97d1c   65      35    (was breakmask) [26ed:97d1b-d24]
R       97d1d   61      30 
R       97d1e   6b      34
R       97d1f   6d      2f
R       97d20   61      31
R       97d21   73      31
R       97d22   6b      34
R       97d23   20      45
R       97d24   5b      51

;R       2011e    02      03     900 FL [26ed]  21836[26:4-8836]
;R       2011f    bc      84   [26ed]
;R       20129    0f      12      4800_max_elev [26ed] (4-8841/2)
;R       2012a    78      c0   [26ed]
;R       20134    fe      fd     -600_min_elev [26ed]  (4-884c/d)
;R       20135    5c      a8   [26ed]
;R       2013d    03     0A    5-ff06_branch   [26ed]  (4-8855/6/7)
;R       2013e    ee     B5    5-ff06_branch   [26ed] 0a-b526
;R       2013f    c8     26    5-ff06_branch   [26ed]  (26) 0a-b5-26

; patch requires x4f bytes  ..from (26)a-b526..
R       054526   ff      3c     at a-b526  [26d:a-b526 
R       054527   ff      3c   pshx,pshx
R       054528   ff      cc   ldd_03ca  ratio
R       054529   ff      03
R       05452A   ff      CA
R       05452B   ff      30   tsx
R       05452C   ff      ed   std_2,x
R       05452D   ff      02
R       05452E   ff      cc   ldd_4092
R       05452F   ff      40
R       054530   ff      92
R       054531   ff      ed   std_0,x
R       054532   ff      00
R       054533   ff      bd   dispatch 
R       054534   ff      1e   dispatch [26ed:1e7f
R       054535   ff      7f   dispatch [26ed:1e7f
R       054536   ff      09  setAzratio [26ed:9-d0dc]
R       054537   ff      d0   [26ed:9-d0dc]
R       054538   ff      dc   [26ed:9-d0dc]
R       054539   ff      cc   ldd_0194
R       05453A   ff      01
R       05453B   ff      94
R       05453C   ff      30   tsx
R       05453D   ff      ed   std_2,x
R       05453E   ff      02
R       05453F   ff      cc   ldd_4092
R       054540   ff      40
R       054541   ff      92
R       054542   ff      ed   std_0,x
R       054543   ff      00
R       054544   ff      bd   dispatch [26ed:1e7f
R       054545   ff      1e   dispatch [26ed:1e7f
R       054546   ff      7f   dispatch [26ed:1e7f
R       054547   ff      09   setALTratio [26ed:09-d102)
R       054548   ff      d1    [26ed:09-d102]
R       054549   ff      02    [26ed:09-d102]
R       05454A   ff      cc   ldd_B73E_(UserFlags)[26ed]
R       05454B   ff      b7
R       05454C   ff      3e
R       05454D   ff      30   tsx
R       05454E   ff      ed   std_0,x
R       05454F   ff      00
R       054550   ff      f6   ldab_B73e [26ed]
R       054551   ff      b7
R       054552   ff      3e
R       054553   ff      ca   orab_x18_(GEM,Polar)
R       054554   ff      18
R       054555   ff      bd   jst_burn_Byte   (26d:2302
R       054556   ff      23   [26ed:2302
R       054557   ff      02   [26ed:2302
R       054558   ff      cc   ldd_B73d_(StartFlags)
R       054559   ff      b7
R       05455A   ff      3d   [26ec]
R       05455B   ff      30   tsx
R       05455C   ff      ed   std_0,x
R       05455D   ff      00
R       05455E   ff      f6   ldab_b73d [26ed]
R       05455F   ff      b7
R       054560   ff      3d
R       054561   ff      ca    orab_x08_(cord_wrap)
R       054562   ff      08
R       054563   ff      bd   jsr burnByte (26d:2302
R       054564   ff      23   [26ed]
R       054565   ff      02   [26ed]
R       054566   ff      38   pulx
R       054567   ff      38   pulx
R       054568   ff      39   rts
; end of patch 26dd
