From: cuz Date: Fri, 22 Nov 2002 01:57:33 +0000 (+0000) Subject: Cosmetic changes X-Git-Tag: V2.12.0~2058 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0fabdba7f6654ba3a622c51189aba8b9ed0bb39;p=cc65 Cosmetic changes git-svn-id: svn://svn.cc65.org/cc65/trunk@1578 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/samples/plasma.c b/samples/plasma.c index 683a616c1..fd8b0f97b 100644 --- a/samples/plasma.c +++ b/samples/plasma.c @@ -196,7 +196,7 @@ int main (void) initflag = *(unsigned char*) 0xA04; *(unsigned char*) 0xA04 &= 0xFE; graphflag = *(unsigned char*) 0xD8; - *(unsigned char*) 0xD8 = 0xFF; + *(unsigned char*) 0xD8 = 0xFF; #endif /* Remember the VIC address register */ @@ -207,17 +207,17 @@ int main (void) while (!kbhit()) { /* Build page 1, then make it visible */ scrn = (unsigned char*)SCREEN1; - doplasma(); + doplasma (); outb (&VIC.addr, PAGE1); /* Build page 2, then make it visible */ scrn = (unsigned char*)SCREEN2; - doplasma(); + doplasma (); outb (&VIC.addr, PAGE2); /* Count frames */ f += 2; - }; + } t = clock() - t; /* Switch back the VIC screen */ @@ -240,7 +240,7 @@ int main (void) bordercolor (border); bgcolor (background); textcolor (text); - clrscr(); + clrscr (); /* Calculate stats */ sec = (t * 10) / CLK_TCK;