Quantcast
Channel: nesdev.org
Viewing all articles
Browse latest Browse all 785

vbcc optimizing C compiler now with SNES/65816 support

$
0
0
Hello,

I have just released the first version of a port of the vbcc compiler to the 65816 at: http://www.compilers.de/vbcc.html

It contains a C compiler, assembler, linker and ports of a C Library for the Apple IIgs, SNES and a simulator (which can easily be adapted to SBCs or embedded targets).

A few of the good things:

- compiler is under active development
- supports C99 (variable-length arrays, designated initializers etc.)
- generates optimized code (see dhrystones in sample directory)
- supports near-, far- and huge-pointers and memory models
- (limited) floating point support based on Steve Wozniaks code
- support for SNES hardware multiplication/division
- support for writing interrupt handlers
- attributes for putting variables into zero page
- supports file I/O on selected targets (IIgs)

The README inside the archive contains a short intro regarding installation and usage. There is also a sample directory with a few demo programs.

As I am not very familiar with this machine, I would appreciate some feedback from people with more experience.

Statistics: Posted by vbc — Thu Jan 30, 2025 7:40 pm — Replies 3 — Views 411



Viewing all articles
Browse latest Browse all 785

Trending Articles