mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1578 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4dd4e76a88
commit
d0fabdba7f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user