here is a short video of how the buttons and LEDs work now
sorry, I can’t embed
TK, please can you help me out
I have built the hardware and ordered the frontplate
here is the code I have changed
;; (button value stored in TMP1)
MB64_BUTTON_OnOnly
;; when on: send button value defined in dump
;; when off: send nothing
BRA_IFSET TMP1, 0, ACCESS, MB64_BUTTON_NotifyChangeEnd
;; turn off SR1 8 LEDs
SET_BSR MB64_BUTTON_VALUES_SR0+0
setf MB64_BUTTON_VALUES_SR0+0
SET_BSR MB64_BUTTON_VALUES_SR0+1
setf MB64_BUTTON_VALUES_SR0+1
;; save status of button
rcall MB64_BUTTON_Hlp_SaveStat
rgoto MB64_BUTTON_Send
;; (button value stored in TMP1) MB64_BUTTON_OnOnly ;; when on: send button value defined in dump ;; when off: send nothing BRA_IFSET TMP1, 0, ACCESS, MB64_BUTTON_NotifyChangeEnd ;; turn off SR1 8 LEDs SET_BSR MB64_BUTTON_VALUES_SR0+0 setf MB64_BUTTON_VALUES_SR0+0 SET_BSR MB64_BUTTON_VALUES_SR0+1 setf MB64_BUTTON_VALUES_SR0+1 ;; save status of button rcall MB64_BUTTON_Hlp_SaveStat rgoto MB64_BUTTON_Send
Uuuh, I realize that you are coding in Assembler… that is actually my weak side, so I cannot help you here. I guess we need the Assembler gurus to the rescue?