Removed C100 access from spin(...)

This commit is contained in:
Zane Kaminski 2020-05-21 19:08:49 -04:00
parent e81256a746
commit 1b18fa1c67

12
ram2e.c
View File

@ -115,43 +115,31 @@ static void spin(uint8_t x, uint8_t y) {
int j;
for (j = 0; j < spin_small; j++) {
__asm__("lda $C000");
__asm__("lda $C100");
gotoxy(x, y);
__asm__("lda $C000");
__asm__("lda $C100");
cputs("-");
__asm__("lda $C000");
__asm__("lda $C100");
}
for (j = 0; j < spin_small; j++) {
__asm__("lda $C000");
__asm__("lda $C100");
gotoxy(x, y);
__asm__("lda $C000");
__asm__("lda $C100");
cputs("\\");
__asm__("lda $C000");
__asm__("lda $C100");
}
for (j = 0; j < spin_small; j++) {
__asm__("lda $C000");
__asm__("lda $C100");
gotoxy(x, y);
__asm__("lda $C000");
__asm__("lda $C100");
cputs("|");
__asm__("lda $C000");
__asm__("lda $C100");
}
for (j = 0; j < spin_small; j++) {
__asm__("lda $C000");
__asm__("lda $C100");
gotoxy(x, y);
__asm__("lda $C000");
__asm__("lda $C100");
cputs("/");
__asm__("lda $C000");
__asm__("lda $C100");
}
}
}