New BricxCC and NBC/NXC release
New BricxCC and NBC/NXC release
I have uploaded a new official BricxCC release (3.3.8.9) and a new official NBC/NXC release (1.2.1 r4).
Version 3.3.8.9 includes NBC 1.2.1.r4. Fixed reported problem with saving to non BMP file types from NXT Screen tool. Fixed a problem with the internal compiler when connected via bluetooth. HTML help fix (unable to load hhctrl.ocx). Added text viewer. Added manual loading of symbol file in watch and new watch tools. Added hot keys for close comm and find brick. Added support for user-defined API functions in code completion. Modified firmware download so that it allows more time for brick to boot in SAMBA mode. Added symbol file library path and exposed it and UserDataLocalPath in preferences. Loading symbol file manually in watch tools. AVI movie changes in NXT Screen tool. ROPS improvements. New variable watch tool classes. Variable watching changes. More NXT Watch list changes. ROPS debug support change. Added status messages for compiler download problems. Added additional keyboard support to Joystick tool. ctrl-click changes in the editor.
Version 1.2.1.r4 (2011-03-13)
-----------------------------
- Fixed a problem with using NBC keywords in NXC code.
- Fixed GetBrickDataAddress defect (nested asm blocks are not supported)
- Fixed HSMode offset in NBCCommon.h
- Enum and switch case label fixes/changes for NXC
- Fixed bug in StrReplace.
- Fixed bug in FileResize subroutine
- Compiler optimizer fix to work around standard firmware bug when output
variable is float
- Fixed small problem with negative numbers as parameter default values.
- Fixed CurrentTick and FirstTick to return unsigned value
- Fixed bug in bcd2dec (was using signed stack instead unsigned)
- Fixed bug in switch statement containing a continue
- Fixed defect with OnFwdSyncPID, OnRevSyncPID, OnFwdRegExPID, and OnRevRegExPID.
- Added support for math assignment with arrays of UDTs
- Added support for new enhanced firmware FileTell system call function
- Added MemoryManager system call function
- Added API functions for the LEGO temperature sensor, HiTechnic Magnet and
Angle sensors, the Codatex RFID sensor, and the new MemoryManager system call.
- Added support for setting the new BtDataMode and HsDataMode fields in the
Comm module IOMap
- Added support for HS multi-NXT addressing (requires latest 1.31 enhanced
NBC/NXC firmware)
- Added SizeOf API function and modified Read and ReadLn to use it.
- Added Pos function.
- API header file changes for fopen and other minor things
- Moved IOCtrl module functions after Command module functions
- StrCat and overloaded + operator changes (for string concatenation)
- Made SetHSMode an inline function so that it checks for int-sized input
parameter
- Added support for escaping in character literals
- Added support for optional string error message in compchk opcode.
- Added support for position regulation
- Updated example code for GetBrickDataAddress
- Replaced the sample programs for FlattenVar and UnflattenVar.
- Added example file documentation
- Added examples for the Mindsensors ACCLNx device
- New examples for the MemoryManager system call function and limits.h constants.
- Adding examples for new API functions.
- New examples for FindFirstFile and FindNextFile.
- Updated doxygen comments for several functions that no longer require constant
inputs
- Many API additions and changes
Version 3.3.8.9 includes NBC 1.2.1.r4. Fixed reported problem with saving to non BMP file types from NXT Screen tool. Fixed a problem with the internal compiler when connected via bluetooth. HTML help fix (unable to load hhctrl.ocx). Added text viewer. Added manual loading of symbol file in watch and new watch tools. Added hot keys for close comm and find brick. Added support for user-defined API functions in code completion. Modified firmware download so that it allows more time for brick to boot in SAMBA mode. Added symbol file library path and exposed it and UserDataLocalPath in preferences. Loading symbol file manually in watch tools. AVI movie changes in NXT Screen tool. ROPS improvements. New variable watch tool classes. Variable watching changes. More NXT Watch list changes. ROPS debug support change. Added status messages for compiler download problems. Added additional keyboard support to Joystick tool. ctrl-click changes in the editor.
Version 1.2.1.r4 (2011-03-13)
-----------------------------
- Fixed a problem with using NBC keywords in NXC code.
- Fixed GetBrickDataAddress defect (nested asm blocks are not supported)
- Fixed HSMode offset in NBCCommon.h
- Enum and switch case label fixes/changes for NXC
- Fixed bug in StrReplace.
- Fixed bug in FileResize subroutine
- Compiler optimizer fix to work around standard firmware bug when output
variable is float
- Fixed small problem with negative numbers as parameter default values.
- Fixed CurrentTick and FirstTick to return unsigned value
- Fixed bug in bcd2dec (was using signed stack instead unsigned)
- Fixed bug in switch statement containing a continue
- Fixed defect with OnFwdSyncPID, OnRevSyncPID, OnFwdRegExPID, and OnRevRegExPID.
- Added support for math assignment with arrays of UDTs
- Added support for new enhanced firmware FileTell system call function
- Added MemoryManager system call function
- Added API functions for the LEGO temperature sensor, HiTechnic Magnet and
Angle sensors, the Codatex RFID sensor, and the new MemoryManager system call.
- Added support for setting the new BtDataMode and HsDataMode fields in the
Comm module IOMap
- Added support for HS multi-NXT addressing (requires latest 1.31 enhanced
NBC/NXC firmware)
- Added SizeOf API function and modified Read and ReadLn to use it.
- Added Pos function.
- API header file changes for fopen and other minor things
- Moved IOCtrl module functions after Command module functions
- StrCat and overloaded + operator changes (for string concatenation)
- Made SetHSMode an inline function so that it checks for int-sized input
parameter
- Added support for escaping in character literals
- Added support for optional string error message in compchk opcode.
- Added support for position regulation
- Updated example code for GetBrickDataAddress
- Replaced the sample programs for FlattenVar and UnflattenVar.
- Added example file documentation
- Added examples for the Mindsensors ACCLNx device
- New examples for the MemoryManager system call function and limits.h constants.
- Adding examples for new API functions.
- New examples for FindFirstFile and FindNextFile.
- Updated doxygen comments for several functions that no longer require constant
inputs
- Many API additions and changes
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
http://bricxcc.sourceforge.net/
Re: New BricxCC and NBC/NXC release
thank you!
Is even a HTTetrixMux driver available yet/soon?
EDIT: I get no errors with my current programs so far (new fw 1.31-20110314, Win XP)
Is even a HTTetrixMux driver available yet/soon?
EDIT: I get no errors with my current programs so far (new fw 1.31-20110314, Win XP)
Last edited by HaWe on 15 Mar 2011, 20:52, edited 1 time in total.
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: New BricxCC and NBC/NXC release
Edit: only with old FW, but I had the setting on automatic, so it should have compiled properly.# Error: Number expected
File "NXCDefs.h" ; line 19272
# MaxSpeedField,
#----------------------------------------------------------
# Error: Number expected
File "NXCDefs.h" ; line 19273
# MaxAccelerationField,
#----------------------------------------------------------
Edit 2: Nevermind this part.
Last edited by mattallen37 on 15 Mar 2011, 21:08, edited 2 times in total.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: New BricxCC and NBC/NXC release
maybe you wish to try this test:
;)
Code: Select all
task main(){
float x = atof( "4.2e1is_the_answer" );
NumOut(0,0,x);
while (true);
}
-
- Posts: 15
- Joined: 26 Sep 2010, 18:18
Re: New BricxCC and NBC/NXC release
Please re-download the new release. I have replaced all the binaries with new builds as of about 30 minutes ago. I screwed up when I added the PosReg function from Nicolas Schodet to the NXCDefs.h header file. It caused code to not compile if you were not targeting the 1.28+ enhanced firmware. There was also a bug in the ConfigureTemperatureSensor API function causing it to not compile.
John Hansen
John Hansen
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: New BricxCC and NBC/NXC release
Okay, downloading it now.
BTW, why do you have two usernames? "afanofosc_99" is not the one you usually use for posting.
BTW, why do you have two usernames? "afanofosc_99" is not the one you usually use for posting.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 15
- Joined: 26 Sep 2010, 18:18
Re: New BricxCC and NBC/NXC release
My afanofosc_99 account is my original BricxCC SF project admin account. It also lets me post here but not as an admin. Sometimes I forget to log out of the one and into the other. My apologies!
John Hansen
John Hansen
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: New BricxCC and NBC/NXC release
Oh, okay. No problem, I was just curious.
I have already begun modifying the default NXC templates, so did you change them in this new release (the one that is 1 hour old)?
I have already begun modifying the default NXC templates, so did you change them in this new release (the one that is 1 hour old)?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 15
- Joined: 26 Sep 2010, 18:18
Re: New BricxCC and NBC/NXC release
The NXC templates included in the 3.3.8.9 release have many additions and updates compared to the templates included in 3.3.8.8.
John Hansen
John Hansen
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: New BricxCC and NBC/NXC release
What I mean is, are the ones from five hours ago, the same as the ones from 30 minutes ago?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Who is online
Users browsing this forum: Semrush [Bot] and 3 guests