2009-06-27

新版BricxCC出爐

請參考nxtasy.org論壇討論串:New NBC/NXC & BricxCC beta

根據John Hansen先生的說法,有下列改進的地方,等到8547(NXT 2.0)發行還會更新Firmware

還沒仔細瞭解,先試試看吧!

http://bricxcc.sourceforge.net/test_release.zip

(好像在Windows 7也可以用喔!)

BricxCC version 3.3.7.20
-----------------
- Added a simple hex viewer for files on the NXT. Within the NXT Explorer
you can right click an NXT file and select View or use the equivalent
toolbar or File menu option.
- Added AVI video capture to the NXT Screen tool.
- Added support for \" or \' in NXC and NBC strings to the NBC and NXC
syntax highlighters.
- Fixed an access violation when closing the main window while unsaved changes
exist in open editor windows and you choose "cancel" when prompted to
save your changes.
- Fixed NXTDeviceInfo function in TSpirit class for the bluetooth address value
- Fixed broken defragment operation in the NXT Explorer
- Fixed SendMessage boolean NXT message bug (inverted logic)
- Added support for custom NXC API syntax highlighting
- Added support for a new NBC command-line switch limiting errors to max error count
- Added support for new NBC -v=version command line switch for setting NXT firmware
version (1.0x vs 1.2x) compatibility
- Added duplicate error reduction code to error list
- Fixed NXT Explorer defragment operation
- Added code completion and syntax highlighter support for new NBC/NXC API functions
- Improved error list tool at the bottom of the editor window to open other files if
the error/warning occurs in an included file and show a hint window as you mouse
over the errors/warnings.
- Added support for adjusting line numbers if the Gutter is configured to start
numbering lines at zero instead of 1 and line numbers are showing.
- Added a /UserPath command line switch for BricxCC that controls where the nxt.dat
file and other user files are stored (e.g., bricxcc /UserPath=d:\ )
- Added pause/single step, NBC/NXC variable watching.
- Added support for drag-and-drop from NXT Explorer PC list view to BricxCC main window
to open files.
- Search mode in Find Brick dialog.
- Code completion can be made case sensitive or not for NQC, NBC, and NXC.
- User-defined functions are added to code completion list
- Fixes for NBC compiler error reporting.
- Added internal NBC compiler status update messages.
- Launch Guide and Tutorial PDFs from BricxCC help menu.
- Launch NBC API listing windows from Preferences dialog.
- Fixed bug causing unsaved changes to be lost if you click Cancel when prompted to
save changes.
- Added visual indication of progress while initializing nxt.dat file
- Add Search option to list of Ports on Find Brick dialog - only applies to NXT brick type

NBC/NXC version 1.0.1.b36
-----------------
- Added support for \" and \' embedded in NXC and NBC strings.
- Added -ER=n maximum compiler error switch. Filtered out duplicate errors as well.
- Added support for 2D scalar constant array initialization using nested brace pairs.
e.g., int xyz[][] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
- Added support for global constant string initialization and subsequent usage.
e.g., const string g_bar = "bar"; const string g_foo = g_bar;
- Added support for constant string array initialization using comma-separated
string constants within brace pairs. e.g., string msgs[] = {"hi", "there", "testing", g_bar, g_foo};
- Added support for multi-dimensional array indexing on both the LHS and RHS side of expressions.
e.g., foo[i][j] = foo[i][j] + 1;
- Added support for returning a struct from a function.
- Added support for #download "filename" preprocessor command in NBC/NXC
- Added support for #import "filename" preprocessor command in NBC/NXC
- Added support for import keyword in RICScript
- Added support for struct "dot" notation, e.g., mydata[0].foo = 10; int x = mydata[0].foo;
- Added support for "typedef struct" syntax
- Added support for byte array to string assignment in NXC
- Fixed bug in Random() API function
- Added support for array math operation syntax in NXC, e.g., array += 2; array = !array, etc...
- Fixed multi-line macro parsing bugs and problems with preprocessor directives mixed in
with expressions.
- Compiler is now compatible with both 1.0x firmwares and 1.2x firmwares.
- Added API support for HiTechnic touch sensor multiplexer in NBC/NXC.
- Added support for variadic macros.
- Added support for macro redefinition (with warnings).
- Added support for floats in NBC/NXC with 1.2x firmwares.
- Improved support for unsigned long expressions.
- Added API support for setting baud rate and mode of Hi Speed port with enhanced firmware.
- Added API support for LEGO Color sensor
- Fixed a preprocessor bug which broke nested #else statements
- Added NXC API functions for enhanced firmware math opcodes (atan, ceil, exp, floor, tan, tanh,
cosh, sinh, log, log10, atan2, pow, trunc, frac, muldiv32, cos, acos, sin, and asin)
- Added NBC/NXC API support for HiTechnic EOPD sensor
- Added firmware and NBC/NXC API support for reading/setting the display Contrast
(SetDisplayContrast(byte contrast); and byte DisplayContrast(void); )
- Added compiler optimization for constant shifts
- Improved function prototype support
- Added NXC API functions for enhanced firmware math opcodes (atand, tand, tanhd,
acosd, cosd, coshd, asind, sind, sinhd, atan2d)
- Added firmware version check when downloading compiled .rxe to NXT.
- Level 2 optimization bug fixes
- Cross platform fixes/64-bit support
- Support for Array and UDT expressions in parameter passing.
- Inline functions can now call other inline functions
- const type arguments to inline functions can now be treated as a compile-time constant.

Enhanced NBC/NXC firmware version 1.27
- Added compatibility with 1.26 standard NXT firmware (float type, faster execution of code)
- Added file seek operation (FileSeek)
- Added support for I2C reads without restart (CommLSWriteEx)
- Added startup program support (! Startup.rxe)
- Converted math opcodes to Standard C compliance (float types, radians for trig opcodes)
- Added degree-based trig math opcodes (sind, cosd, tand, asind, acosd, atand, atan2d)
- Added RIC drawing from an array of bytes
- Added support for HS baud rate (1200-921600) and mode (e.g., 8n1) settings
- Added Ellipse drawing via system call and in RIC files
- Added Polygon drawing via system call and in RIC files
- Added support parameterized CopyOptions in RIC files
- Added RIC-based custom fonts with new system call for text output
- Added debugging support (pause, single step, breakpoints) controlled via new direct commands
- Added display contrast adjusting support.

沒有留言:

張貼留言

探奇歡迎大家留言討論!謝謝分享你的意見。