]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - auxboot.c
Fix POP AF test (from blargg's CPU tests)
[fpgaboy.git] / auxboot.c
index c5ce3af4fc15860b1235ed1b5d75ecc884039e0c..2024bfe0d1a57b61d0a0f47007953e568e03aa3f 100644 (file)
--- a/auxboot.c
+++ b/auxboot.c
@@ -13,11 +13,8 @@ void main()
 {
   char buf[259];
   int sz;
-  buf[0] = 0x1B;
-  buf[1] = 'A';
-  buf[2] = buf[3] = buf[4] = 0;
-  dowrite(buf, 5);
+  buf[0] = '\e';
   buf[1] = 'P';
-  read(0, buf+2, 127);
-  dowrite(buf, 129);
+  read(0, buf+2, 256);
+  dowrite(buf, 257);
 }
\ No newline at end of file
This page took 0.023062 seconds and 4 git commands to generate.