Menu

Commit [r1702]  Maximize  Restore  History

Massive change to GCASM to support automatic creation of EEP file for AVRs.

Changes:

Add new check to ensure AVR ASM only has one .ESEG in AVR ASM
Fix labels creation of EEPROM and TABLE data blocks in AVR ASM
Specific to GCASM
- Add ESEG handler for AVR EEPROM
- Set ORG correctly
- Change meta data to handle ESEG ASM
- Update LST file to show ESEG sections
- Change HEX file address to handle ESEG DATA as bytes
- Change ORG error handling to appropriately handle ESEG error messages
- Add automatic creation of EEP file for ESEG DATA

AVR now supports

- EEP file creation

- Table data being saved to EEPROM

~~~~
Dim index, data
ReadTable myTable, index, data
Table myTable Store Data
1,2,3,4
End Table
~~~~

- EEPROM data blocks being saved to EEPROM

~~~~
EEPROM myEE1 0x20
1,2,3,4
END EEPROM

EEPROM myEE2 0x10
8,9
END EEPROM
~~~~

evanvennn 2024-09-04

changed /GCBASIC/trunk/assembly.bi
changed /GCBASIC/trunk/gcbasic.bas
changed /GCBASIC/trunk/preprocessor.bi
/GCBASIC/trunk/assembly.bi Diff Switch to side-by-side view
Loading...
/GCBASIC/trunk/gcbasic.bas Diff Switch to side-by-side view
Loading...
/GCBASIC/trunk/preprocessor.bi Diff Switch to side-by-side view
Loading...