ilmenit Posted July 27, 2019 Share Posted July 27, 2019 https://gitlab.com/camelot/kickc Currently aiming C64, but open source and looks very promising. Some capabilities of C language are removed (recursion, unions etc.), because just supporting them prevents many optimizations in the compiler for 6502. Some useful features (multidimensional arrays) are still missing. 4 2 Quote Link to comment Share on other sites More sharing options...
VladR Posted July 27, 2019 Share Posted July 27, 2019 Thanks for the tip. Wouldn't have discovered it otherwise. Over the last year I've been working on C-like language for Jaguar, with 3 separate backends for GPU, DSP and 68000. My mantra is "only support the language feature if the compiler can produce as fast code as a human", so I can totally back up their decision to not implement a full feature set (which, btw, is totally not needed). I'm very tempted to go add the 6502 backend (though, for Lynx, I now work with CC65, which provides sort-of a temp solution), so I'll be watching this development carefully, as it just might provide the necessary kick Quote Link to comment Share on other sites More sharing options...
JamesD Posted July 27, 2019 Share Posted July 27, 2019 Nice to see an alternative to CC65. UNIONS are dropped by a lot of versions, so no big deal there. Recursion isn't something I see being real efficient on the 6502, so not a problem there either. Quote Link to comment Share on other sites More sharing options...
baktra Posted July 29, 2019 Share Posted July 29, 2019 This looks very promising. It is rather a new language based on C. The limitations and not implemented functions seem to be fair. Multiplication and division of integers would be nice, though. Support for including game data - display lists, music, graphics, levels, sprites is done through KickAssembler. Quote Link to comment Share on other sites More sharing options...
ivop Posted July 31, 2019 Share Posted July 31, 2019 Promising indeed. The idea behind the code generator and trying to put loop variables in X or Y is great! But because it's all written in Java, I probably won't ever ever ever ever contribute to it 2 Quote Link to comment Share on other sites More sharing options...
imstarryeyed Posted August 1, 2019 Share Posted August 1, 2019 This looks like a very good project. I love the idea of 6502 and maybe Z80 programming in C or some other high language. Thanks for sharing the link, I will follow this project. 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted August 1, 2019 Share Posted August 1, 2019 so it's Action! with C, instead of SPL/ALGOL syntax. Great This complements CC65 quite nicely, as CC65 aims to be a complete C for 6502...this gives you...from the looks of it...about 60% of C. Would be great for games. (I needed _all_ of C for PLATOTERM) -Thom 1 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted September 14, 2019 Share Posted September 14, 2019 CC65 is fast enough for some simple games. How does Action! compare? I'm NOT trolling. I don't remember right now. What do you think? Quote Link to comment Share on other sites More sharing options...
+slx Posted September 21, 2019 Share Posted September 21, 2019 On 9/14/2019 at 4:07 AM, Kyle22 said: CC65 is fast enough for some simple games. How does Action! compare? I'm NOT trolling. I don't remember right now. What do you think? There's quite a number of Action! games, it's rather fast, you can even do VBIs with Action! (Examples at AtariWiki). Quote Link to comment Share on other sites More sharing options...
tschak909 Posted September 21, 2019 Share Posted September 21, 2019 Action code compiles down to _very_ nice assembler code. It's clear that Clint Parker spent a TON of time in this area. (Of course, he made it much easier by basically deleting the concept of stack frames from the SPL language) -Thom Quote Link to comment Share on other sites More sharing options...
damosan Posted November 2, 2019 Share Posted November 2, 2019 On 7/27/2019 at 12:23 PM, JamesD said: Nice to see an alternative to CC65. UNIONS are dropped by a lot of versions, so no big deal there. Recursion isn't something I see being real efficient on the 6502, so not a problem there either. I agree with this - depending on what you want to do CC65 is a PITA to setup and get running right. On top of that it generates some pretty...busy...code. That's due more to the lineage of the compiler though. I'd be happy with a minimal C[1] that compiled down to decent asm. [1] Minimal being something that supports pointers, standard 1/2/4 byte integers, 1d arrays, was easy to setup for different situations e.g. 400/800, XL, XE, extended memory, etc. 2 Quote Link to comment Share on other sites More sharing options...
funkheld Posted October 11, 2020 Share Posted October 11, 2020 (edited) Hi good afternoon. which "C" and which "H" can be used by kickc for the Atarixl from LIB and from INCLUDE ? greeting Edited October 11, 2020 by funkheld Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.