Anobium - 2025-10-03

Exciting updates in the latest GCStudio release!

October 2025, these enhancements from May to October continue to bolster the compiler's robustness, expand library capabilities for displays and communication, and squash pesky bugs for more reliable PIC, AVR, and LGT development.

Whether you're optimizing for legacy hardware or diving into advanced features like enums and shadow registers, this batch makes coding microcontrollers even more efficient. Dive in below for the details—all changes are completed and ready to roll.

Below is a summary of the latest enhancements, fixes, and updates in GCStudio. These changes focus on compiler improvements, library expansions, bug resolutions, and tooling refinements. All updates are completed unless noted.

GCBASIC Release Notes: Changes 1486–1523 (May–October 2025)

Below is a summary of the latest enhancements, fixes, and updates in GCStudio toolchain. These changes focus on compiler improvements, library expansions, bug resolutions, and tooling refinements. All updates are completed unless noted.

New Features

  • 1486: Compiler Logging
    Added support for compiler output to %temp%\gcbasic.log for each compilation, aiding debugging and troubleshooting.

  • 1487: GLCD Library (SH1106)
    Added support for Rajguru Electronics SH1106 13002-Series display. Specify GLCD_SubType 13002 to enable.

  • 1492: Read/Write/Modify (RWM) Support
    Added RWM support for legacy PICs. Enable via #OPTION SHADOWREGISTER GPIO|PORTA|PORTB.

  • 1494: LCD Print Enhancements
    Added bit support to Print: Print (bit). Improves handling of binary data display.

  • 1495: USART Enhancements
    Added bit support for HserPrint: HserPrint (Bit [, comport]). Enables direct bit transmission.

  • 1496: GLCD Library (ILI9488)
    Revised FilledBox subroutine for significantly faster rendering on ILI9488 displays.

  • 1497: PICINFO Tool
    Revised supported chips list for much faster loading and querying. (GitHub reference)

  • 1498: PIC-AS V3.10 Support
    Added support for PIC-AS V3.10, including new xc8Support.bi for locating the latest DFP per chip.

  • 1499: PIC-AS V3.10 Debug
    Improved debug messages to display the selected DFP during PIC-AS V3.10 operations.

  • 1500: Float Error Handling
    Improved error messages for FLOAT operations when targeting AVRs.

  • 1501: DAT Files
    Added additional chip DAT files, including support for 18F04Q20.

  • 1502: GCODE Enum Support
    Added enum support to GCODE, similar to 'table' functionality for structured data.

  • 1509: Compiler Constant
    Added new constant SOURCEFILE for runtime file path access.

  • 1517: Bug Tracking Feature
    Fixed feature related to version 10123 in bug tracking system.

  • 1523: Release Build
    Released build number for production deployment.

Fixes

  • 1488: AVR Interrupt Bug
    Fixed bug on AVR where bit tests in interrupt handlers interfered with main code bit tests.

  • 1489: Programming Port Selection
    Improved automatic programming port selection for better reliability.

  • 1490: RWM for Legacy PICs (Reverted)
    Removed incomplete RWM changes from 1490; superseded by 1492.

  • 1493: Comport Handling
    Fixed closing of open COM ports discovered during search.

  • 1503: ADC Optimization
    Removed duplicate entry in __ADC Optimisation table.

  • 1504: GCODE Task Duplication
    Removed duplicated task entry for FloatCalculator in GCBasic Tasks.

  • 1505: GCODE Highlighting
    Added highlighting for CHIPSUBFAMILY in GCODE.

  • 1506: GCODE SPI2MODE
    Fixed missing highlights and help links for SPI2MODE.

  • 1507: GCODE Commands
    Fixed display of commands in GCODE and added links to help documentation.

  • 1510: GCODE Missing Items
    Added missing items to GCODE reference.

  • 1511: CLEAN Command
    Fixed CLEAN command to properly remove *.OBJ files.

  • 1512: Website Update
    Updated/fixed the "Hello World" page on the website.

  • 1513: GCODE TASKS.JSON
    Fixed TASKS.JSON to support backtick (`) characters in folder names.

  • 1514: IDE Cleanup
    Removed unused versions of use.ini files.

  • 1515: Compilation Error (Win11)
    Resolved immediate compilation error on Windows 11.

  • 1516: Bug Tracking
    Fixed issue related to version 10123 in bug tracking.

  • 1518: Compilation Error (Win11)
    Resolved compilation error on Windows 11.

  • 1519: HEX Output Trust
    Fixed compilation issue with HEX output for PIC 16F18346, ensuring reliable HEX generation.

  • 1520: LCD Configuration
    Resolved operator issue with LCD display configuration on Windows 11.

  • 1521: RS232 Compatibility
    Fixed RS232 comms routines compatibility issue (mid-2024 breakage; 2022 version works fine).

  • 1522: Installation Issues
    Fixed installation issues on Windows.

Targets and Compatibility

  • Platforms: PIC, AVR, LGT (cross-compatible where noted).
  • Functional Changes: Yes (impacts runtime behavior in most cases).
  • Status: All completed and tested.

For full details, check the GCBASIC GitHub repository or official docs. Download the latest build from the releases page. Feedback welcome!

 
❤️
1

Last edit: Anobium 2025-10-03