Re: [stella] Dumb newbee question

Subject: Re: [stella] Dumb newbee question
From: Greg Miller <gmiller@xxxxxxxxxxxxxxxxx>
Date: Tue, 19 Mar 2002 21:05:57 -0600
Adam Wozniak wrote:

Assuming I've set up my compiler properly, should this work?

#include "tia.h" #include "riot.h"

void main(void)

The return type of "main" in C is "int".

   // turn that damn noise off
   AUDV0 = 0;
   AUDV1 = 0;

What are AUDV0 and AUDV1 with this compiler? If they're pointers, you'll need to dereference them (e.g., "*AUDV0=0;").

while (1)

[snipped kernel loop]

What compiler package are you using (I've not looked at any attempts to produce a C compiler for the 2600) and how are you planning on controlling the timings of compiler-generated code?

 Publicly run schools are fundamentally incompatible with free speech

Archives (includes files) at
Unsub & more at

Current Thread