ZippyRedPlumber Posted May 27, 2021 Share Posted May 27, 2021 Been thinking about making a game for 5200/XE, are the any good C libraries for me to use? Quote Link to comment Share on other sites More sharing options...
ilmenit Posted May 28, 2021 Share Posted May 28, 2021 (edited) Not really and not sure if general libraries make sense on this platform. Read the Atari Memory Map, DeRe Atari and a few examples of games in CC65 e.g. here Edited May 28, 2021 by ilmenit Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted May 28, 2021 Share Posted May 28, 2021 If you use cc65 depending on the type of game i.e. action/shooter etc. you will likely still need assembler routines within cc65, however cc65 makes this very easy to do as long as your happy with 6502 assembler. Quote Link to comment Share on other sites More sharing options...
sanny Posted May 28, 2021 Share Posted May 28, 2021 Also, cc65 will take care of creating a proper ROM image. So you don't have to learn that, and you can concentrate on game play. Quote Link to comment Share on other sites More sharing options...
FifthPlayer Posted May 28, 2021 Share Posted May 28, 2021 (edited) If you are looking for a C-based software library for writing games, you could check out 8bit-Unity. It allows you to target several 8-bit platforms in addition to A8 (c64, Apple II, Lynx), and it is based on CC65. What's cool about it is that it does take advantage of platform-native features like hardware sprites, scrollable tilemaps and raster interrupts while implementing them in software on platforms that lack them. Edited May 28, 2021 by FifthPlayer spell the name correctly 3 Quote Link to comment Share on other sites More sharing options...
+bhall408 Posted May 29, 2021 Share Posted May 29, 2021 On 5/27/2021 at 4:00 PM, ZippyRedPlumber said: Been thinking about making a game for 5200/XE, are the any good C libraries for me to use? I'm glad you brought it up... I have some sound/music and graphics libraries in ca65, which I in turn call from games written in assembler. I've been thinking of taking those libraries, and calling them from C instead. That way I can have the game logic in C, but the stuff that drives the graphics and sound in assembler. I struggled a bit to figure out how to set up proper configuration with ca65, use .zeropage, etc. But once I got it working, I was quite pleased. It sounds like there will be a similar learning curve (and not much sample code) getting a simple "Gr.0:?"Hello World" up in cc65! 1 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.