Bean,
Will there be a dedicated PropBasic ide similar to the SXB ide in the near future?
Bill M.
Bean,
Will there be a dedicated PropBasic ide similar to the SXB ide in the near future?
Bill M.
Bill,
BST is the official IDE for PropBasic.
Mainly because it makes PropBasic multi-platform (Mac/Linux/Windows).
Bean
If you write a program in PropBasic, compile it, send the compiled results to someone, can they easily change it back into the original PropBasic (BASIC) code? Or is it now PASM for good?!
Humanoido
The PASM code has the original PropBasic source in it as comments. This is done so users can learn PASM.
If you want to keep the original source private, you could go through and remove the comments. Or there is a switch that will omit the original source. I'd have to look at the compiler to see what it is. It is NOT supported by BST you would have to run the compiler from the command line.
Bean
I'm also getting an error with PASD_062.zip, windows<xp, vista> is reporting the archive is either in unknown format or damaged. Thanks!
Okay, I think I have all the files fixed now.
Let me know if it still doesn't work.
Bean
Ok, they all seem to be working now. Thanks very much for your quick response.
Hello All:
'
I'm looking for a memory map for the Propeller?
'
I need to map the memory of a cog or 2 and the HUB RAM so I can see what I'm doing wrong with My code in PropBasic.
I keep running out of RAM/cog space.
'
I think I have used this tool before, But I can't find it anywhere!
'
Any help will be greatly appreciated.
__Walt McDonald__
It's not rocket-surgery
I see why we don't have any water,All of the pipes are full of wires!
E=WMc2
Now with WiFi
Not in the Spin Bunch
ABB M202 certified
ABB M211 certified
$WMc%
I use the comand under "compile", "compile basic to Spin" in BST. I then open the file in the Spin Tool and use the "Run - compile current - view info..." or you could just use the F8 key to compile and view the memory map . Remember if you have task in you code when compiled to Spin it will generate multiple Spin files that will all need to be in the same directory for the Spin Tool to compile.
Hope this helps
Tony
__Walt McDonald__
It's not rocket-surgery
I see why we don't have any water,All of the pipes are full of wires!
E=WMc2
Now with WiFi
Not in the Spin Bunch
ABB M202 certified
ABB M211 certified
'
BradC
'
This didn't go so well. At first I got a basic compiler error "NO PROGRAM" the second compile returned the same compiler error but also cleared the screen. Now if I try to open "MYcode.pbas" the screen is blank? Luckily I can still see the code in "MYcode.spin",So all hope(code) is not lost.
'
I've never tried the list file window before now. Is there a way to undo it?
'
I'm using bst0.19.3 and PropBasic-bst-00.01.03-72.exe
'
Thanks in advance for any help.
__Walt McDonald__
It's not rocket-surgery
I see why we don't have any water,All of the pipes are full of wires!
E=WMc2
Now with WiFi
Not in the Spin Bunch
ABB M202 certified
ABB M211 certified
Hello All
'
Is any one having RAM space problems with PropBasic 00.01.03-72
'
Like PC error (943.8) 78 Longs to many, And (981.24) expected spin "etc.,bla,bla,bla"
'
P.S. Where can I find a list of what the error messages mean. Like (943.24) and (981.24) ?
'
I have tried to work through this with out help,But I'm at a loss.
'
Any help would be greatly appreciated.
__Walt McDonald__
It's not rocket-surgery
I see why we don't have any water,All of the pipes are full of wires!
E=WMc2
Now with WiFi
Not in the Spin Bunch
ABB M202 certified
ABB M211 certified
By default PropBasic uses NATIVE PASM code. So all of the generated pasm must fit within the 496 instruction cog space.
It sounds like your program is just too big.
Try to put often-used commands into a subroutine, or use LMM.
Bean
Thanks for the feed back guys
'
Now I know what the error codes mean, Thanks
'
I ran the spin [PASM] version of my code and added line-numbers, WOO! 1039 lines, No wonder it wouldn't compile.
'Thanks BradC
'Thanks Bean
'
I can see me reducing my code by 15 to 25%, But I still have about 50% to go to complete the full demo for the project I'm working on. A spiffy PST window hogs up a lot of code space, But it makes a new product that much more appealing to purchase.
'
I have seen some post on the use of LMM, But I have never tried using it? Any good links on how to learn how to use this method?
'
Thanks in advance for any help or advice.
__Walt McDonald__
It's not rocket-surgery
I see why we don't have any water,All of the pipes are full of wires!
E=WMc2
Now with WiFi
Not in the Spin Bunch
ABB M202 certified
ABB M211 certified
@Bean, is there a way to point to a buffer in a LDATA statement eg
scrptr LDATA @scrbuf
scrbuf hub word (512)=0
Cheers,
Baggers.
PS, I've got TV.spin into it's own TV.LIB file I'm just tidying the pointers etc up a bit now.
will post later today.
Very nice continued work Bean. Can PropBASIC fit into one cog? I'm looking for prop languages that can run self contained in one cog. Thanks very much.
Humanoido
@Baggers,
Well the problem is that all HUB variables are relative to PAR. But I'll look into how I might be able to do something like that.
@Humanoido,
Unless you use TASKs, then yes your PropBasic program will only use one cog.
Bean
Bookmarks