New BricxCC and NBC/NXC release

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

New BricxCC and NBC/NXC release

Post by afanofosc »

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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: New BricxCC and NBC/NXC release

Post by HaWe »

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)
Last edited by HaWe on 15 Mar 2011, 20:52, edited 1 time in total.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post by mattallen37 »

No matter what I attempt to compile, I get these errors.
# Error: Number expected
File "NXCDefs.h" ; line 19272
# MaxSpeedField,
#----------------------------------------------------------
# Error: Number expected
File "NXCDefs.h" ; line 19273
# MaxAccelerationField,
#----------------------------------------------------------
Edit: only with old FW, but I had the setting on automatic, so it should have compiled properly.

Edit 2: Nevermind this part.

Despite these issues, I like all the new potential :D
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 ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: New BricxCC and NBC/NXC release

Post by HaWe »

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);
}
;)
afanofosc_99
Posts: 15
Joined: 26 Sep 2010, 18:18

Re: New BricxCC and NBC/NXC release

Post by afanofosc_99 »

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
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post by mattallen37 »

Okay, downloading it now.

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 ;)
afanofosc_99
Posts: 15
Joined: 26 Sep 2010, 18:18

Re: New BricxCC and NBC/NXC release

Post by afanofosc_99 »

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
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post by mattallen37 »

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)?
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
afanofosc_99
Posts: 15
Joined: 26 Sep 2010, 18:18

Re: New BricxCC and NBC/NXC release

Post by afanofosc_99 »

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
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: New BricxCC and NBC/NXC release

Post by mattallen37 »

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 ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest