This commit is contained in:
mrdudz
2015-11-29 01:24:01 +01:00
parent 9fbf8a4299
commit 1893e24da9
5 changed files with 15 additions and 12 deletions

View File

@@ -10,7 +10,6 @@
.segment "INIT"
initconio:
; FIXME
lda #0
sta LCD_XPOS
sta LCD_YPOS

View File

@@ -1,7 +1,7 @@
; .export reset, irq, nmi ; FIXME
; original audiotest.s by PeT (mess@utanet.at)
.export _main
.include "gamate.inc"
.zeropage

View File

@@ -10,7 +10,7 @@ unsigned short n;
int main(int argc, char *argv[])
{
clrscr();
gotoxy(0,0);cputs("abcdABCD");
gotoxy(0,0);cputs("Gamate C-Test");
textcolor(0);gotoxy(0,5);cputs("abcdABCD 0");
textcolor(1);gotoxy(0,6);cputs("abcdABCD 1");
@@ -40,6 +40,8 @@ int main(int argc, char *argv[])
case 0xff ^ JOY_DATA_FIRE_A:
break;
}
if (y == 0xff) y = 0xc7;
if (y == 0xc8) y = 0;
(*((unsigned char*)LCD_XPOS)) = x;
(*((unsigned char*)LCD_YPOS)) = y;

View File

@@ -1,4 +1,6 @@
; original lcdtest.s by PeT (mess@utanet.at)
.export _main
.include "gamate.inc"