From e3495f9c072e4069826b4d1b8b2382eb22275189 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 13 May 2016 09:40:05 -0500 Subject: [PATCH] looking at tesuto now~ --- src/lib/doslib | 2 +- src/tesuto.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/doslib b/src/lib/doslib index 268c2ece..f4a76735 160000 --- a/src/lib/doslib +++ b/src/lib/doslib @@ -1 +1 @@ -Subproject commit 268c2ece4f79f7537da51073b9d5f7adb50648f9 +Subproject commit f4a767359abd717eccd098ea5cc41375279e07bf diff --git a/src/tesuto.c b/src/tesuto.c index 903dd6af..83f3712e 100755 --- a/src/tesuto.c +++ b/src/tesuto.c @@ -53,7 +53,7 @@ int main(int argc,char **argv) { vga_state.vga_width = 320; // VGA lib currently does not update this vga_state.vga_height = 240; // VGA lib currently does not update this -//#if 1 // 320x240 test mode: this is how Project 16 is using our code, enable for test case +#if 1 // 320x240 test mode: this is how Project 16 is using our code, enable for test case { struct vga_mode_params cm; @@ -70,7 +70,7 @@ int main(int argc,char **argv) { vga_write_crtc_mode(&cm,0); } vga_state.vga_height = 240; // VGA lib currently does not update this -//#endif +#endif /* load color palette */ fd = open(argv[2],O_RDONLY|O_BINARY); @@ -99,7 +99,7 @@ int main(int argc,char **argv) { vga_state.vga_graphics_ram[o] = (i^j)&15; // VRL samples put all colors in first 15! } } - while (getch() != 13); + //while (getch() != 13); /* make distinctive pattern offscreen, render sprite, copy onscreen */ { @@ -342,4 +342,3 @@ int main(int argc,char **argv) { bufsz = 0; return 0; } - -- 2.39.5