Nathan release another new build yesterday:
BasicMicro Studio 2.0.0.0The current release notes include:
AcidTech wrote:
Fixed the single " causing the editor to freeze up
Fixed the ASM{} syntax error message in the compiler
Fixed some bugs in the debugger. The debugger should be more accurate on line positioning. Also the variables/SFRs/Ram will be updated after each command automatically and if Auto Update is enabled they will be continuously updated.
Added the Library menu. Right now it is pretty barren but we will be adding samples,examples and functions/subroutines to it over the next couple releases. If anyone wants to they can submit their own functions/subroutines for inclusion in future releases. The library system support .bas and .sub files. The .bas files are complete examples and will open as a copy of the basic file included in the library where ever the user wants to put it. This way the master copy will never be changed. The .sub files are basic subroutines that can be added as files to projects or as the code copied into the currently active basic file where the cursor is currently at. We will be adding some examples to the manual to show how this works, but I think most people will get it right away.
Changed the version number to 2.0 because I change the GUID of the installer. This installer will not conflict with older installers (eg 8.0) which caused some problems when users didn't uninstall the older version using the old uninstallers.
Warning: My Arc32 phoenix code (BASIC) does not currently compile. It is complaining about the HSEROUT2 command. There was a discussion up on Basic Micro forum by Dale that mentioned they wanted to clean up these commands, from something like:
Code:
hserout ["Output on first hardware port"]
hserout2["2nd hardware serial port"]
to:
Code:
hserout 1, ["Output on first hardware port"]
hserout 2, ["2nd hardware serial port"]
Note: the 1, may be optional and default to 1???
EDIT: Note: The editor tooltips appear to show the new format, so will try editing... This is from the post at Basic Micro under the new syntax manual...
Dale - Basic Micro wrote:
Heres what we landed on. The enable function is gone and the compiler just uses the SETHSERIAL. Syntax is as follows:
sethserial uart, baudrate {,databits, parity, stopbits}
hserin uart, {timeout,tlabel,}[{modifiers} InputData,{modifiers} InputData2]
The DataBits, Parity and StopBits are now optional in SETHSERIAL. If you dont define them it will default to 8N1. Uart is only a 1 or 2 for now. If you want to use both UARTS on supported processors you just use SETHSERIAL twice UART 1 and UART 2:
sethserial 1, H9600
sethserial 2, H38400
The HSERIN with the added UART argument, now lets you define what UART you are getting data from:
hserin 1, InputData1
hserin 2, InputData2
We went with this format to fit in large UART capable processors. At some point in the future when a more capable processor comes out we can support all its UARTS without breaking a bunch of stuff. The idea across the board is fixing all the commands one last time but with room to grow.
Kurt