Back to Search
Start Over
How to compile C code on the C64.
- Source :
- Linux Format; Jun2024, Issue 315, p94-97, 4p, 5 Color Photographs
- Publication Year :
- 2024
-
Abstract
- This article from Linux Format explores the topic of compiling C code on the Commodore 64 (C64) computer. The author suggests that using C instead of 6502 assembly language can expedite the development of C64 games. They recommend the Oscar64 C compiler, which offers enhanced capabilities and supports C99 and C++ features. The article includes practical examples of C coding, covering tasks like reading the joystick, displaying text, manipulating hardware sprites, and playing sounds. It also delves into the hardware and screen modes of the C64, along with tips for utilizing C on a 6502 processor. The article concludes by providing guidance on getting started with the Oscar64 compiler. In a separate article, David Bolton discusses the concept of sprites in computer programming. Sprites are graphical objects that can be independently moved on a screen, commonly employed in video games. Bolton showcases programs that utilize sprites, including a demo program featuring 64 sprites on the screen and a game called Lander. The article is accompanied by vibrant photos illustrating the programs in action. [Extracted from the article]
- Subjects :
- COMPILERS (Computer programs)
PULSE width modulation
Subjects
Details
- Language :
- English
- ISSN :
- 14704234
- Issue :
- 315
- Database :
- Complementary Index
- Journal :
- Linux Format
- Publication Type :
- Periodical
- Accession number :
- 176817590