Skip to content
项目

关于

面向 C64、针对小内存优化的 C 编译器、汇编器和运行时

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+12
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

oscar64

Oscar64 is a C/C++ cross compiler running on a modern system (such as a Windows PC, Mac or Linux machine) and targets the classic 6502 family of processors. It is mainly focused on Commodore systems such as the C64, PET or VIC20. The compiler supports C99, some C23 features, and many C++ features up to variadic templates and lambda functions.

The purpose of this compiler is to eliminate the need to write 6502 assembler code to achieve high code density and fast execution speed. It continues to improve with all the games, demos and tools written by it. It supports disk overlays and banked cartridges for larger projects.

The C64 executes 442 dhrystone V2.2 iteration per second, when compiled with Oscar64 and -O3 (which shows that the ancient dhrystone benchmark is no match to an optimizing compiler).

Full reference manual Additional samples and tutorials

References

This is a list of the games written with Oscar64, have a look if you are not convinced that fast paced action games can be written in C/C++ on a C64 (they are all free).

Ball and Chain

Balls like a Frog

cores4 Corescape

MetalMayhem

Mineshaft Gap

Minotrace

Missile Defence

cl1b Portal Buster

Roguebot

Shallow Domains

Soiled Iron

Terminal Walker

Veggies vs Undead

Third Party Projects

This is a link to third party projects using Oscar64 or providing libraries to use. These links are being provided as a convenience and for informational purposes only.

Minitris C64

DIGGER port to the Commander X16

The Necklace of Rodney

Atari XL/XE headers, library and examples

OscarTutorials for Atari XL/XE

探索相关项目

加载中…