Jump to content



0

cc65 / atari 7800


3 replies to this topic

#1 Tom OFFLINE  

Tom

    Moonsweeper

  • 449 posts
  • Location:Switzerland

Posted Tue Mar 2, 2004 4:31 AM

hello

just wondering, has anybody ever thought (or even tried) about using cc65 to write atari 7800 software ?

tom

#2 EricBall OFFLINE  

EricBall

    Dragonstomper

  • 711 posts
  • Location:Markham, Ontario, Canada

Posted Tue Mar 2, 2004 8:03 PM

Since most 7800 code comes down to data movement and basic operations (versus time-critical), it might be possible to write something for the 7800 using cc65. Obviously anything text based is out without a lot of work. But efficiency is still the name of the game and even though cc65 was written explicitly for the 6502, I think the objective was more to be able to compile as much legal C as possible versus creating efficient 6502 code.

#3 Tom OFFLINE  

Tom

    Moonsweeper

  • 449 posts
  • Location:Switzerland

Posted Wed Mar 3, 2004 6:35 AM

well, i think i give it a try. at least for learning purposes or whacking together prototype code it's certainly neat to have a c compiler.

#4 Wrathchild ONLINE  

Wrathchild

    Stargunner

  • 1,373 posts
  • Location:Reading, UK.

Posted Wed Mar 3, 2004 9:13 AM

Bear in mind that you can still use pure assembler (CA65), e.g. for the time critical bits, the 'C' code can be used for game logic, structure work, dynamic memory allocation etc. Combined with the segment control you get from using your own linker config file, I do rate it highly for development.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users