Shop OBEX P1 Docs P2 Docs Learn Events
Spin Tools IDE - Page 30 — Parallax Forums

Spin Tools IDE

1242526272830»

Comments

  • wummiwummi Posts: 110

    @macca
    1. I update MacOS to 26.2 and the Multi-Line selection of text is still not working.
    2. Do you find the issue with complex structs I reported in #869

  • maccamacca Posts: 958

    @wummi said:
    @macca
    1. I update MacOS to 26.2 and the Multi-Line selection of text is still not working.
    2. Do you find the issue with complex structs I reported in #869

    Yes, I found and fixed the issue with your complex structure, I'm going to do a release later today that should also fix the text selection issue (hopefully, can't verify myself).

  • bob_g4bbybob_g4bby Posts: 479
    edited 2025-12-15 15:49

    Apologies if this is already raised. With Spin Tools IDE 0.50.0, I get

    when hovering over .sine1, .sine2, .sine3 labels in column one, but not when hovering over label SINE. Here's my code:-

    DAT                                                             { PASM2 code }
    
                    org
    
    SINE
    ' Fill BUFFER with an i-q sinewave - triggered by ATN
                    waitatn                                         ' wait for the go-ahead
                    getct _cyclestart                               ' mark the start time
                    rdlong ptrb,        ptra[BUFFERPTR]             ' set ptrb to point to BUFFER
                    push                ptrb
                    mov _sigbuffsize,   ##sigbuffsize
                    sub _sigbuffsize,   #1
                    shl _sigbuffsize,   #3
                    add ptrb,           _sigbuffsize                ' ptrb points to last sample in the BUFFER
                    rdlong _real,       ptrb++
                    rdlong _imag,       ptrb
                    mov _sampleangle,   ##binangle
                    mov _binangle,      _sampleangle
                    pop                 ptrb
                    mov _sigbuffsize,   ##sigbuffsize-4             ' make allowance for preload
                    wrfast #0,          ptrb                        ' set up FIFO for writing to BUFFER
    
                    rep @.sine1,        #4                          ' preload the cordic engine
                     setq _imag                                     ' for 4 samples
                     qrotate _real,     _binangle                   ' 4 x 14 = 56, the cordic processing time
                     add _binangle,     _sampleangle
                     waitx #6                                       ' pad to be a 14 cycle loop
    .sine1
                    rep @.sine2,        _sigbuffsize                ' this is a 14 cycle loop
                     getqx              _realresult                 ' read back result from cordic
                     getqy              _imagresult
                     wflong _realresult                             ' write real result into BUFFER
                     wflong _imagresult                             ' write imag result into BUFFER
                     setq _imag                                     ' send another rotate to cordic
                     qrotate _real,     _binangle
                     add _binangle,     _sampleangle                ' prepare angle for next sample
    .sine2
                    rep @.sine3,        #4                          ' read the last 4 results out
                     getqx              _realresult
                     getqy              _imagresult
                     wflong _realresult                             ' write real result into BUFFER
                     wflong _imagresult                             ' write imag result into BUFFER
    .sine3
                    getct _cycles
                    sub _cycles,        _cyclestart                 ' mark the finish and calculate
                    debug(UDEC_LONG(_cycles))                       ' the execution time (18456 cycles)
                    jmp                 #SINE                      ' and go wait for another cycle via a relative jump
    

    Enjoying using the IDE, however, Bob

  • maccamacca Posts: 958

    @bob_g4bby said:
    Apologies if this is already raised. With Spin Tools IDE 0.50.0, I get
    when hovering over .sine1, .sine2, .sine3 labels in column one, but not when hovering over label SINE. Here's my code:-

    Will look at it.

  • Released version 0.51.0

    This release updates the SWT library to the latest Eclipse 4.38 release that should fix the MacOS text selection issue.

    Some bugfixes, including the complex structure example posted by @wummi, the mouse hover issue above and the parameters range check on some PASM instructions.

    Added font selection for the file browser, objects tree and overview panels (all shares the same preference), in Preferences -> General -> Font, the default should be the OS theme default.

    For MacOS users, I have updated the Github runners to MacOS-15 becase the previous x86_64 version was deprecated, and in few months the x86_64 runners will be dropped so I won't be able to produce x86_64 Mac builds, hope this doesn't cause any problem.

    Other changes:

    • Update to Eclipse SWT 2025-12 (4.38)
    • Fixed long-align check on structure members
    • Added nested structure members suggestions
    • Fixed structure size update and circular references
    • Fixed structure variables highlight
    • Fixed PASM instructions arguments range check
    • Added documentation and support links
    • Added window font selection

    Full change log:
    https://github.com/maccasoft/spin-tools/compare/0.50.0...0.51.0

Sign In or Register to comment.