Shop OBEX P1 Docs P2 Docs Learn Events
FlexProp: a complete programming system for P2 (and P1) - Page 63 — Parallax Forums

FlexProp: a complete programming system for P2 (and P1)

1575859606163»

Comments

  • ersmithersmith Posts: 6,295

    @"Christof Eb." said:
    Hi, question about the PR0...PR7 registers
    The SPIN docu says, that PR0 sits always (!) in cog register $1D8.
    Is this true for FlexProp also? It seems to compile to $1E0? Is this fixed?

    The address in FlexProp is fixed, but it is (unfortunately) different from the address in PNut. This is because PNut reserves $1E0-$1F0 for local variables to be passed to assembly. FlexProp doesn't need that, since local variables are (usually) kept in COG memory anyway, so to make more room in COG RAM the PR0 defines are moved up.

  • @ersmith said:

    @"Christof Eb." said:
    Hi, question about the PR0...PR7 registers
    The SPIN docu says, that PR0 sits always (!) in cog register $1D8.
    Is this true for FlexProp also? It seems to compile to $1E0? Is this fixed?

    The address in FlexProp is fixed, but it is (unfortunately) different from the address in PNut. This is because PNut reserves $1E0-$1F0 for local variables to be passed to assembly. FlexProp doesn't need that, since local variables are (usually) kept in COG memory anyway, so to make more room in COG RAM the PR0 defines are moved up.

    Thank you, @ersmith for this information!
    Christof

  • ersmithersmith Posts: 6,295

    FlexProp version 7.6.11 is available on my Patreon page and on github (links in my signature). It has quite a few fixes, especially to the BASIC compiler. In the GUI, it is now possible to set the size of terminal windows (the width and height are in the same dialog box as the terminal font). THere's also a checkbox to allow the raw terminal size to change dynamically. Normally the raw size is unchanged by window resizes (the PC window acts as, well, a window into the terminal screen) but if the dynamic resize box is checked then the terminal screen size follows the PC window size.

Sign In or Register to comment.