Hello, Guest the thread was viewed830 times and contains 6 replies

last post from rorodev at the

CC65, VBCC: Graphics

  • Hello, everyone. I also finally got my Mega65 this week šŸ™‚

    The next step is to create a simple game using C. I knew CC65 already, so I set this up first on my M2 Mac, but I also tried VBCC. They work fine for text-based stuff, and I've created some simple games.

    My question is: Has someone already created some more complex things in C using DMA (Sprites, Lines)?

    Are there some samples around showing this? Or even a library? I try not to reinvent the wheel, but if nothing is there, I would start with that at first. It would be great to get some hints from your long-term Mega65 devs.


    Thanks best!

  • According to the list, the Mega65 is not yet officially supported by CC65.

    However, I find this project that seems to add that support to CC65 to a certain extent.


    I didn't try programming the Mega65 with CC65 yet. I took first steps with CC65 and the Commander X16 though. My code for the X16 would be here (runs in an emulator). I didn't get very far though. Graphics programming seems to be very system-specific, so probably my code couldn't be ported to the Mega65 easily. Maybe the general principles and the data could be transferred though.

  • According to the list, the Mega65 is not yet officially supported by CC65.

    However, I find this project that seems to add that support to CC65 to a certain extent.


    I didn't try programming the Mega65 with CC65 yet. I took first steps with CC65 and the Commander X16 though. My code for the X16 would be here (runs in an emulator). I didn't get very far though. Graphics programming seems to be very system-specific, so probably my code couldn't be ported to the Mega65 easily. Maybe the general principles and the data could be transferred though.

    Thank you! I already done some stuff on the Mega65, so everthing text based works fine. But all the CC65 examples are not using line drawing or sprites. I got in the meantime another game source that sounds promising as a starting point. Anyway thanks a lot for the feedback.
    Btw. I have also a Commander X16 here, but not started on that yet, too many other projects already on the plate :)

  • According to the list, the Mega65 is not yet officially supported by CC65.

    However, I find this project that seems to add that support to CC65 to a certain extent.


    I didn't try programming the Mega65 with CC65 yet. I took first steps with CC65 and the Commander X16 though. My code for the X16 would be here (runs in an emulator). I didn't get very far though. Graphics programming seems to be very system-specific, so probably my code couldn't be ported to the Mega65 easily. Maybe the general principles and the data could be transferred though.

    Thank you! I already done some stuff on the Mega65, so everthing text based works fine. But all the CC65 examples are not using line drawing or sprites. I got in the meantime another game source that sounds promising as a starting point. Anyway thanks a lot for the feedback.
    Btw. I have also a Commander X16 here, but not started on that yet, too many other projects already on the plate :)

    Yes I also registered there and got at least one very useful example :thumbsup: