I installed the new programming platform, and the examples compile fine. Now, I want to make use of the 32x32 scanmatrix code of QBAS (see http://www.midibox.org/forum/index.php/topic,8557.0.html) within the new programming platform. The gp complains about a lot of syntax errors and refers to lines with IFSET/IFCLR. I have learned from the forum that with the change to gp these macro’s are not supported anymore, but I cannot find how to change them.
Hopefully, someone can explain me this.
An example of the problematic code is:
;; branch depending on current DIN value
IFSET SM_SRIO_PORT_DIN, SM_SRIO_PIN_DIN, rgoto SM_BUTTON_HANDLER_SHIFT_1
SM_BUTTON_HANDLER_SHIFT_0
;; do nothing if DIN pin already 0
IFCLR INDF0, bit_number, rgoto SM_BUTTON_HANDLER_SHIFT_Cont
N.B. I have a lot of experience with C and can understand a bit of asm (and make simple modifications).