X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/2bcaaabf0bbbb0232fe8ffe0a8943a14159852ab..refs/heads/master:/auxboot.c diff --git a/auxboot.c b/auxboot.c index c5ce3af..2024bfe 100644 --- 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