more cleanup and fixing

This commit is contained in:
mrdudz
2015-07-12 16:40:52 +02:00
parent 891cb97b2f
commit 9e1d39a409
13 changed files with 159 additions and 268 deletions

12
testcode/lib/pce/Makefile Normal file
View File

@@ -0,0 +1,12 @@
all: conio.pce
conio.pce: conio.c
../../../bin/cl65 -t pce conio.c ../../../joy/pce-stdjoy.joy --mapfile conio.map -o conio.pce
clean:
$(RM) conio.pce
test: conio.pce
mednafen -force_module pce conio.pce

View File

@@ -9,6 +9,7 @@ void main(void)
{
int stackvar = 42;
int i, j;
clock_t clk;
joy_install(&joy_static_stddrv);
@@ -39,7 +40,9 @@ void main(void)
++datavar; ++stackvar;
gotoxy(0,8);
cprintf("clock: %08x", clock());
clk = clock();
cprintf("clock: %08lx", clk);
for (i = 0; i < 4; ++i)
{
gotoxy(0, 12 + i);