Subject: [stella] Dumb newbee question From: Adam Wozniak <adam@xxxxxxxxxxxxxxxx> Date: Tue, 19 Mar 2002 18:24:58 -0800 (PST) |
Assuming I've set up my compiler properly, should this work? #include "tia.h" #include "riot.h" void main(void) { int i; int j; // turn that damn noise off AUDV0 = 0; AUDV1 = 0; while (1) { // turn everything the same color COLUP0 = COLUP1 = COLUPF = COLUBK = i++; VSYNC |= 0x02; for (j = 0; j < 2; j++) { // wait for sync WSYNC=1; } VSYNC &= ~0x02; for (j = 0; j < 262; j++) { // wait for sync WSYNC=1; } VBLANK |= 0x02; for (j = 0; j < 37; j++) { // wait for sync WSYNC=1; } VBLANK &= ~0x02; } } -- adam@xxxxxxxxxxxxxxxx http://cuddlepuddle.org/~adam/pgp.txt ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[stella] PCAEwin 2.6 is out, Dan Iacovelli | Thread | Re: [stella] Dumb newbee question, Greg Miller |
Re: [stella] VDEL problems again, Thomas Jentzsch | Date | Re: [stella] Dumb newbee question, Greg Miller |
Month |