Hi, Thanks for forum support.
I try to change the code of my Spectran (6065-V4) button , but it's not easy, it's hard for me...
Example: I changed the original hotkey "1":--------------------------------
SETUP
STARTFREQ:100 STOPFREQ:200
RESBANDW:1 VIDBANDW:1
SWEEPTIME:100 ATTENFAC:-10
REFLEVEL:10 DISPRANGE:100
PULSEMODE:0
PRINTSTR 03h, "100200"
STOP---------------------------to this:
--------------------------------
SETUP
STARTFREQ:100 STOPFREQ:200
RESBANDW:1 VIDBANDW:1
SWEEPTIME:100 ATTENFAC:-10
REFLEVEL:10 DISPRANGE:100
PULSEMODE:0
PRINTSTR 03h, "100200"
LOADSET DEMODMODE
LOGNOT
DUP
STORESET DEMODMODE
STOP---------------------------i was change with this, but how i can DEMOD FM ?? (now show only demod AM..)
Simply use the Demodulator Modus setup 0xBh (DEMODMODE):
0bh = Demodulator Modus
-----------------------------------
-0 = OFF
1 = AM
2 = FM
This little program will switch to AM mode:
ldconst 1 storeset 0bh
This program will toggle between AM and FM if you press they key:
LOADSET DEMODMODE LDSHCO 01h SUB LOGNOT LDSHCO 01h ADD STORESET DEMODMODE STOP
Snip
so i can change code of taste "1" with this code ? just ? :
'========================================================
ldconst 1
storeset 0bh
SETUP
STARTFREQ:100 STOPFREQ:200
RESBANDW:1 VIDBANDW:1
SWEEPTIME:100 ATTENFAC:-10
REFLEVEL:10 DISPRANGE:100
PULSEMODE:0
PRINTSTR 03h, "100200"
LOADSET DEMODMODE
LOGNOT
DUP
STORESET DEMODMODE
LOADSET DEMODMODE
LDSHCO 01h
SUB
LOGNOT
LDSHCO 01h
ADD
STORESET DEMODMODE
STOP
---------------------------
yes, but i need use only one taste for setting Freq (Setup startfreq, stopfreq,resband ecc...) and when press 1 time switch to "spectrum", when press again switch to "FM"...and if press again swithc Spectrum again..
example same when i press onlt taste "Enter"... but taste Enter switch 3 case, but dont change DEMOD... (now have only AM preset..)
example again :
first press taste : setting freq start , freq stop, ecc ecc.. (mode: Spectrum)
second press taste : setting freq start , freq stop ecc ecc.. (mode: AM)
third press taste: setting freq start , freq stop ecc ecc.. (mode: FM)
so i can copy code for taste 1 to 9 and choose my frequency band without use another taste only for change AM/FM demod, but using same taste with multiple press for change demod mode and spectrum mode too..
Thanks