Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
development_tools [2023/04/23 11:32] – [Graphics] pulkomandydevelopment_tools [2023/04/23 11:36] (current) – [C compilers] pulkomandy
Line 1: Line 1:
 ====== C compilers ====== ====== C compilers ======
 +
 +===== Official compiler =====
 +
  
 SunPlus released sources for the C compiler. It doesn't include the assembler and is based on GCC 2.95 so quite hard to compile: https://github.com/vsmile-dev/unsp-gcc SunPlus released sources for the C compiler. It doesn't include the assembler and is based on GCC 2.95 so quite hard to compile: https://github.com/vsmile-dev/unsp-gcc
  
-µ'nSP IDE is the official IDE for the CPU used. It can still be downloaded from [[https://www.generalplus.com/1LVlangLNw6SVw7SNservice_n_support_d|GeneralPlus website]] - {{ ::unspide_v4.0.1.zip |local copy}}+  * µ'nSP IDE is the official IDE for the CPU used. It can still be downloaded from [[https://www.generalplus.com/1LVlangLNw6SVw7SNservice_n_support_d|GeneralPlus website]] - {{ ::unspide_v4.0.1.zip |local copy}} 
 + 
 +===== VBCC ===== 
 + 
 +Work in progress port of vbcc: http://pulkomandy.tk/gerrit/plugins/gitiles/vbcc/+/refs/heads/unsp 
 + 
 +The lack of vasm or another assembler with object file format and linker makes this hard to use. For now, the compiler generates output compatible with naken_asm, then all the output asm files need to be concatenated and fed directly into the assembler. And there isn't really support for sections or any fancy stuff like that, so getting the variables in RAM and the code in ROM is a bit messy. 
 + 
 +Also, the code generation is completely unoptimized currently. Adding support for at least pre and post incrementation decrementation would be a great help in generating simpler code.
  
 ====== Assemblers ====== ====== Assemblers ======
development_tools.txt · Last modified: 2023/04/23 11:36 by pulkomandy
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0