cc65 intro example for X16

All aspects of programming on the Commander X16.
Post Reply
Xiphod
Posts: 568
Joined: Thu Apr 15, 2021 8:05 am

cc65 intro example for X16

Post by Xiphod »

Some introductory notes on how I'm using cc65 to do develop stuff in C.

https://voidstar.blog/using-cc65-c-comp ... nd-wintel/

Example then leads into VTERM, where I'm trying to minimize use of C-standard library and utilize inline assembly. For example, avoiding use of printf in particular. The "core_x16.h" includes some possibly useful (text-mode) #define macros.

https://github.com/voidstar78/VTERMX16/tree/main/vterm

Very much still a work in progress. A lot of people are well past this already, but everyone learns in different ways - so hope this approach and initial notes helps somebody out on getting started with cc65 for this platform.

Sticking to text mode stuff for now -- a rebirth of Kroz-like games by Scott Miller for the PC would be neat to see (with these fancy new text mode resolutions!)
Post Reply