Jump to content

Photo

Noob questions on CV programming


9 replies to this topic

#1 Mr.Smiley OFFLINE  

Mr.Smiley

    Space Invader

  • 23 posts
  • Location:Munich, Germany

Posted Thu Dec 9, 2010 3:53 AM

Hi,

since I wanted to learn how to program for the Colecovision but have no idea where to start I'd like to know which language the CV uses? Whats the best start, buy a book of C or BASIC programming for dummies and read/learn it? I should also mention since I am out of university my programming skills nearly dropped to 0.

So forgive me my noob questions, some help would be great :)

#2 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 7,820 posts
  • Busy bee!
  • Location:North, England

Posted Thu Dec 9, 2010 4:07 AM

since I wanted to learn how to program for the Colecovision but have no idea where to start I'd like to know which language the CV uses?


The Coleco is Z80 based.

Whats the best start, buy a book of C or BASIC programming for dummies and read/learn it?


Neither book will help you directly. Writing games for a constrained system like the CV is a different challenge. You might find it easier to target the PC and use a high level language of your choice. Once you get your idea going on the PC think about adapting it for the CV.

Some people use SDCC for the CV. A version of BASIC is being worked on. However, I'm not sure when it'll be released.

For CV programming tutorials/information look here :-

http://www.colecovis...tutorial0.shtml
http://newcoleco.dev-fr.org/
http://www.atariage....colecos-devkit/

#3 Mr.Smiley OFFLINE  

Mr.Smiley

    Space Invader

  • Topic Starter
  • 23 posts
  • Location:Munich, Germany

Posted Thu Dec 9, 2010 6:07 AM

Thanks for your help, going through the tutorials/infos first!

Since the CV is based on the Z80, is it useful to read some infos/books on how to program for the Z80 or is it a waste of time?

Edited by Mr.Smiley, Thu Dec 9, 2010 6:09 AM.


#4 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 7,820 posts
  • Busy bee!
  • Location:North, England

Posted Thu Dec 9, 2010 6:31 AM

Thanks for your help, going through the tutorials/infos first!


Glad to help. I'm not a CV fan myself. I'm an Atari 7800 and Intellivision guy. Good luck with your projects. Feel free to ask questions in the programming forums.

Since the CV is based on the Z80, is it useful to read some infos/books on how to program for the Z80 or is it a waste of time?


If you need to optimise parts of your game for speed then you'll need to learn assembler. If you can get going with the "C" library and compiler system for the CV you can probably avoid Z80 assembler for a while.

#5 youki OFFLINE  

youki

    Stargunner

  • 1,766 posts

Posted Fri Dec 10, 2010 3:50 PM

You should start using the newcoleco's devkit.

(read comment on this video , there are some link how to download it).



I made my first game for coleco (Ghost'n Zombie) using this kit and documentation made by newcoleco.

I'm still using that kit , but i created some additionnal personnal tools for my purpose.

#6 Pixelboy OFFLINE  

Pixelboy

    Quadrunner

  • 6,044 posts
  • Location:Montreal, Canada

Posted Fri Dec 10, 2010 8:08 PM

If you're not planning to push the CPU or the graphics/sound chips too hard, then you should just use C language.

#7 Mekanaizer OFFLINE  

Mekanaizer

    Combat Commando

  • 7 posts

Posted Sat Mar 26, 2011 12:01 PM

What is the lastest "lib" for Coleco for use with SDCC?

Where can I get more useful reading about the coleco hw?
Yes I know that looking at the "lib" used with SDCC I can get info too.
But it's not the best of the ways because z88k under Master System use I end up fixing some stuff over the crt0.

I have got a pdf about the TI vdp and the z80 asm is universal stuff.

What I wonder is the internal ram banks and stuff like that!

(sorry my English but not my native lang) xD

#8 newcoleco OFFLINE  

newcoleco

    Stargunner

  • 1,170 posts
  • In depression
  • Location:Quebec

Posted Mon Mar 28, 2011 1:00 PM

(sorry my English but not my native lang) xD

Your english is fine... don't worry about it. Only one or two might like to point out mistakes, but otherwise people here understand that we are not all native americans. In fact, I think the majority of the ColecoVision homebrewers don't speak english as their first language. If you want to speak (type) in french, go ahead... we are some programmers that can help you getting started.

#9 PkK OFFLINE  

PkK

    Moonsweeper

  • 351 posts

Posted Tue May 3, 2011 8:59 AM

For CV programming tutorials/information look here :-
[]


You mighrt want to have a look at the tutorials at http://colecovision....tutorial0.shtml as well.

Philipp

#10 PkK OFFLINE  

PkK

    Moonsweeper

  • 351 posts

Posted Tue May 3, 2011 9:22 AM


Whats the best start, buy a book of C or BASIC programming for dummies and read/learn it?

Neither book will help you directly. Writing games for a constrained system like the CV is a different challenge. You might find it easier to target the PC and use a high level language of your choice. Once you get your idea going on the PC think about adapting it for the CV.


While C programmibng for a constrained system like the CV is somewhat different than writing C code for other systems, one should learn C nevertheless. I suppose there's some books on C programming for embedded systems out there as well, and many embedded systems share the memory / speed constraints of the CV.

Thus I'd recommend: Get a book on C programming, get some C programming experience, then look at the CV programming tutorials. From then onwards one can proceed by writing some small applications / games whatever, to improve one's skills and knowledge of both C and the CV.

Philipp




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users