SlowCoder Posted June 10, 2012 Share Posted June 10, 2012 I'm a little familiar with the C programming structure. I'm thinking about learning CV programming. I was wondering if there is any sample code from a completed project available? Quote Link to comment Share on other sites More sharing options...
Pixelboy Posted June 11, 2012 Share Posted June 11, 2012 Daniel Bienvenu offered a lot of sample code in the past. You may find something by googling around... Quote Link to comment Share on other sites More sharing options...
SlowCoder Posted June 11, 2012 Author Share Posted June 11, 2012 Thanks. I happened across a 2006 PDF detailing C for the CV written by him. It's comprehensive, and easy to understand. He did a good job on it. I wonder if there is a newer version I should get? Quote Link to comment Share on other sites More sharing options...
Pixelboy Posted June 11, 2012 Share Posted June 11, 2012 I'm not sure of the year, but I know that Daniel upgraded his dev tools to use SDCC instead of the Hi-Tech C compiler. I don't think Daniel updated his PDF documentation to reflect the adjustments necessary to make the source code compatible with SDCC. But we're talking very minor code adjustments, so for the most part, the PDF document you found should be okay. Quote Link to comment Share on other sites More sharing options...
SlowCoder Posted June 14, 2012 Author Share Posted June 14, 2012 (edited) Problems: I've downloaded his toolkit and installed per the instructions. When I attempt to compile the test\main.c, per the instructions in his video, I don't get an output file. Only c.bat and main.rel are created in the test folder. There are no errors. My PC configuration: Ubuntu 11.04. I am running the toolkit under WINE, rather than native Windows, though I don't know that it should make any difference. I downloaded SDCC 3.1. Thoughts? EDIT: Cancel this last question. I also needed to hit Link, which created the actual result.rom file. I now have my dev environment set up, and it's time to play! Edited June 14, 2012 by SlowCoder Quote Link to comment Share on other sites More sharing options...
bfg.gamepassion Posted June 14, 2012 Share Posted June 14, 2012 I'm a little familiar with the C programming structure. I'm thinking about learning CV programming. I was wondering if there is any sample code from a completed project available? http://bfg-gamepassion.blogspot.fr/2012/03/santa-save-christmas-le-code-source.html The source code of my little Christmas game ... 1 Quote Link to comment Share on other sites More sharing options...
SlowCoder Posted June 14, 2012 Author Share Posted June 14, 2012 (edited) I'm a little familiar with the C programming structure. I'm thinking about learning CV programming. I was wondering if there is any sample code from a completed project available? http://bfg-gamepassi...ode-source.html The source code of my little Christmas game ... Much thanks! I'll review it in a little while! ... and translate from French to English! Edited June 14, 2012 by SlowCoder Quote Link to comment Share on other sites More sharing options...
PkK Posted June 18, 2012 Share Posted June 18, 2012 (edited) There are tutorials for programming the ColecoVision in C using sdcc at http://colecovision.eu/ColecoVision/development/ the library there also comes with some example programs written in C. Philipp Edited June 18, 2012 by PkK 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.