Shop OBEX P1 Docs P2 Docs Learn Events
Download PropBASIC here... 00.01.14 LAST VERSION FOR BST - Page 19 — Parallax Forums

Download PropBASIC here... 00.01.14 LAST VERSION FOR BST

1161719212229

Comments

  • BeanBean Posts: 8,129
    edited 2010-05-29 01:25
    Version 00.01.00 is available.

    · Fixed: Compiler crash on COGSTART if task name has not been defined
    · Fixed: Calculated constant using a long (>511) constant

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]

    Post Edited (Bean) : 5/29/2010 1:30:17 AM GMT
  • caskazcaskaz Posts: 957
    edited 2010-05-29 07:27
    Hi, Jonny.

    It is normal that I cannot see lib-file on BST-window?
    Now I see lib.file by using word pad.
  • JonnyMacJonnyMac Posts: 8,973
    edited 2010-05-29 14:00
    caskaz said...
    Hi, Jonny.

    It is normal that I cannot see lib-file on BST-window?
    Now I see lib.file by using word pad.

    There's really nothing to it: set the file filter to *.*, find your file, and double-click.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon McPhalen
    Hollywood, CA
    1280 x 800 - 673K
  • caskazcaskaz Posts: 957
    edited 2010-05-29 23:32
    Hi, Jonny.
    I see. Thanks.

    caskaz
  • BeanBean Posts: 8,129
    edited 2010-06-01 21:14
    Thanks to Parallax for making PropBasic the "Project of the week" on their homepage.

    Very cool.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • hover1hover1 Posts: 1,929
    edited 2010-06-02 02:04
    Congrats, Terry. I'ts been a long time coming. And thanks Jon for the documentation and support also.

    I can see many great things on the horizon. Keep up those caffine laden soft drinks!

    Jim
    Bean said...
    Thanks to Parallax for making PropBasic the "Project of the week" on their homepage.

    Very cool.

    Bean

  • VonSzarvasVonSzarvas Posts: 3,315
    edited 2010-06-12 10:09
    Today I am finally (having been in cardboard boxes for almost 3 weeks) moving into my new office and re-installing my PC as its OS had chosen to enter a state of permanent sleep in the new location. Hooray for backups!!

    Will be good to get back to some PropBasic tinkering over the next week - which might give me a good reason to bump this thread so I can easily access the latest PropBasic downloads [noparse]:)[/noparse]
  • Christof Eb.Christof Eb. Posts: 1,131
    edited 2010-06-13 16:45
    Hi Bean,

    my new version of Mandelbrot does work (the video generator) with version 0.0.97a-64 but does not work any more with 0.1.00.

    Can you give me a hint, please?

    Christof
  • BeanBean Posts: 8,129
    edited 2010-06-13 23:11
    Christof,
    The major change was GETADDR was changed from a command to a function.

    You'll change "GETADDR hubVar, longVar" to "longVar = GETADDR hubVar"

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • Christof Eb.Christof Eb. Posts: 1,131
    edited 2010-06-14 10:24
    Today I update to PropBASIC-bst-00.00.97a-64 and bst-0.19.3.
    There is compile-error "ERROR:UNKNOWN COMMAND "GETADDR".

    GETADDR form changed?



    So with 00.0097a-64 Getaddr was already changed.

    Other possibilities?

    Christof



    Post Edited (Christof Eb.) : 6/15/2010 10:50:43 AM GMT
  • Gerry KeelyGerry Keely Posts: 75
    edited 2010-06-15 13:15
    Hi Bean
    DEVICE   P8X32A, XTAL1, PLL16X
    XIN      5_000_000
            
    bottom   VAR LONG         
    ans      VAR LONG
    PROGRAM Start             
    Start: 
      bottom = 1
      ans = AnyOldVariable / bottom    
    END
    

    PASM·Code produced
    mov           bottom,#1                    '  bottom = 1
    mov           __temp2,bottom               '  ans = AnyOldVariable / bottom   
    

    With version 1.00· the use of "AnyOldVariable" is not reported as an error.
    regards
    Gerry
  • BeanBean Posts: 8,129
    edited 2010-06-15 13:53
    Christof,
    Yes, I think 0.0.97a was the change.

    What error(s) are you getting ?

    Can you post the file your trying to compile ?

    Gerry,
    Thanks. This will be fixed in the next release.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • Christof Eb.Christof Eb. Posts: 1,131
    edited 2010-06-15 19:37
    Hi, Bean,

    I use the video driver of the demo files, which have been actual with 00.00.97a.

    None of the demo files·work any more compiled with 00.1.00. There are no reported errors but there is no picture generated or visible. (I use the demo board.)

    I have not discovered differences in MoniVid.spin.

    Best regards,

    Christof

    ··········
  • BeanBean Posts: 8,129
    edited 2010-06-16 00:15
    Christof,
    Yeah there seems to be a problem with COGSTART I'll have to investigate it.
    If you make the TASK AUTO and remove the COGSTART it will work.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • BaggersBaggers Posts: 3,019
    edited 2010-06-16 08:14
    Hi Bean, is there an issue where a third task ( second, if you don't include the main one ) doesn't set DIRA correctly? as in the spin file, they're coming out as 0.

    Cheers,
    Baggers.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • BeanBean Posts: 8,129
    edited 2010-06-16 11:14
    Baggers,
    Can you post an example ?

    The PIN modifiers (OUTPUT, LOW, HIGH) are only for the COG they are used in. Otherwise a PIN defined as HIGH would be pulled high by all cogs and would not be able to be controlled by any cog.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • BeanBean Posts: 8,129
    edited 2010-06-16 13:41
    BradC has posted version 00.01.01.

    Fixed: COGSTART doesn't add "par" to __temp1
    Fixed: / doesn't error if first parameter is invalid
    Fixed: minWaitCnt in tasks was 128 instead of 80
    Fixed: str = str + longvar
    Fixed: str = "" ' comment

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • BaggersBaggers Posts: 3,019
    edited 2010-06-16 15:04
    How do I set the pin directions and values per task?

    I'll have a look at it now, only just got back in, and see if I've done something silly, and get back to you.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • BeanBean Posts: 8,129
    edited 2010-06-16 15:10
    Baggers,
    You can define the pin in the TASK code (you can't use the same name though), or you can just use the HIGH, LOW, etc commands.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • BaggersBaggers Posts: 3,019
    edited 2010-06-16 15:40
    Ah right, that's why it wasn't letting me do it define TX twice [noparse]:)[/noparse] Cheers, sorted now!

    Baggers.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Tony B.Tony B. Posts: 356
    edited 2010-06-16 16:34
    EDIT: Fixed with version 00.01.01 See fixes posted above

    Bean,

    The code file below is one that you wrote to help me get my Stingray going some time ago (page 14 on this form) and it worked great. I tried working with it last night and it compiled and downloaded fine, but no wheel movement. I tested the code on my RPM board this morning which has LEDs for pins 16-25 (had changed the pins to 22-25) nothing happen and then all of a sudden all the LEDs lit up from 16-25 for about a second and went off.

    Knowing it had worked fine in earlier versions of PropBasic I compiled it under version .89 and it works fine. Since I hadn't worked with it for the last few updates I did some testing and found it to work up through version .99, but not version 1.00

    When you have time could you please look into this.

    My setup is XP, BST 19.3 PB 1.00

    Thanks,
    Tony

    Post Edited (Tony B.) : 6/16/2010 4:47:17 PM GMT
  • BeanBean Posts: 8,129
    edited 2010-06-16 16:35
    Tony,
    It's probably the COGSTART issue that has just been fixed.
    Give version 00.01.01 a try and see if that fixes it.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • Tony B.Tony B. Posts: 356
    edited 2010-06-16 16:44
    Bean,

    You posted so fast you beat me coming back to say version 00.01.01 fixed it.

    Thanks,
    Tony
  • Christof Eb.Christof Eb. Posts: 1,131
    edited 2010-06-17 16:21
    Thank you, Bean, for 00.01.01. IMy program is now working again.
    Christof
  • Gerry KeelyGerry Keely Posts: 75
    edited 2010-06-23 10:06
    Hi Bean(Terry ?)

    Is IF statement with AND!OR condition working or is this a future feature? or perhaps I am not using it correctly.
    I tried to use IF X>0 OR X<1 THEN etc but compiler(v1.01) reports wrong no. of paramaters used.

    regards
    Gerry

    PS Thank you for PropBasic its a great painless way of using PASM.
  • BeanBean Posts: 8,129
    edited 2010-06-23 11:32
    Gerry,
    · You need to put each condition on a seperate line.

    IF X > 0 OR  X < 1 THEN
    ENDIF
    

    Conditions are evaluated top down, so as soon as a OR statement is true, the code is executed, as soon as a AND statement is false, the code is not executed.

    Bean


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]

    Post Edited (Bean) : 6/23/2010 12:14:06 PM GMT
  • BeanBean Posts: 8,129
    edited 2010-07-15 00:39
    I just wanted to let everyone know that I started a blog for PropBasic

    http://propbasic.blogspot.com

    I've never "blogged" before, so I kind of excited about it.

    All new PropBasic development will be posted in the blog. I will update this thread too, but not as much.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    NEW PropBasic Blog: http://propbasic.blogspot.com
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • hover1hover1 Posts: 1,929
    edited 2010-07-15 00:53
    Bean,·Will update be available from the blogspot, or Brad's site, or both?
    Bean said...
    I just wanted to let everyone know that I started a blog for PropBasic

    http://propbasic.blogspot.com

    I've never "blogged" before, so I kind of excited about it.

    All new PropBasic development will be posted in the blog. I will update this thread too, but not as much.

    Bean

  • BeanBean Posts: 8,129
    edited 2010-07-15 01:21
    BOTH for sure.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    NEW PropBasic Blog: http://propbasic.blogspot.com
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
  • BeanBean Posts: 8,129
    edited 2010-07-21 00:19
    PropBasic 00.01.02 is available for download.

    Here are the changes:

    Fixed: test $,#1 WC ' Set Carry (doesn't work in LMM) I2CWrite
    Fixed: COGINIT if taskname doesn't exist crashes
    Fixed: Glitch on PinGroup = PinGroup
    Fixed: IF pinName THEN
    Changed: In LMM use "LONG label * 4" instead of "LONG @label - @__Init"
    Changed: Use relative jumps for LMM
    · SUB __PC,#(($-label)*4)+4 ' Jump backward
    · ADD __PC,#((label-$)*4)-4 ' Jump forward

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    NEW PropBasic Blog: http://propbasic.blogspot.com
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
Sign In or Register to comment.