sanny Posted May 30, 2014 Share Posted May 30, 2014 I've added a 'atari5200' target to cc65, compile/assemble/link with '-t atari5200' parameter to create a cartridge image. Feedback is welcome. http://cc65.github.io/cc65 regards, chris Quote Link to comment Share on other sites More sharing options...
jum Posted July 22, 2014 Share Posted July 22, 2014 Thanks Chris - looks interesting. I used cc65 for some Lynx homebrew projects, will give you some feedback if I get a chance to mess with a 5200 project (maybe make a simple 5200 lib?) Quote Link to comment Share on other sites More sharing options...
jum Posted July 26, 2014 Share Posted July 26, 2014 Spent some hours writing a "hello world" for cc65/Atari5200, based on Dan Boris' 52hello.txt ( http://www.atarihq.com/danb/files/52hello.txt ). Only problems encountered: 1. Setting the "CARTYEAR" in atari5200.cfg seemed to have no effect in the binary produced. (Always seemed to have 0x59 in the output binary). 2. Some expressions did not work (eg: "POKE(0x1200 + i, text1 - 0x20);", which compiles but the output code does not do what you want). Attached is the "hello world" source code and binary. hello.zip 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.