From d9b43eeb3cc5a6d2640a20b6ce513d6b7b05c23f Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 17 Feb 2015 16:36:24 -0500 Subject: new screenshot --- README.md | 3 ++- apps/xracer/graphics.c | 1 + apps/xracer/xracer.h | 2 +- boot/head.S | 2 +- docs/ss1.bmp | Bin 38462 -> 0 bytes docs/ss2.bmp | Bin 921654 -> 0 bytes docs/ss3.bmp | Bin 921654 -> 0 bytes docs/ss4.png | Bin 0 -> 1525 bytes 8 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 docs/ss1.bmp delete mode 100644 docs/ss2.bmp delete mode 100644 docs/ss3.bmp create mode 100644 docs/ss4.png diff --git a/README.md b/README.md index 0953613..da03546 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,6 @@ This kernel draws some code from [gamma](https://github.com/theunamedguy/gamma), # Screenshots (simulated, QEMU) - + + diff --git a/apps/xracer/graphics.c b/apps/xracer/graphics.c index e4d222d..eb31424 100644 --- a/apps/xracer/graphics.c +++ b/apps/xracer/graphics.c @@ -41,6 +41,7 @@ static inline void fill_poly(int x1, int y1, unsigned color) { SET_FOREGROUND(color); + FILL_TRI(x1, y1, x2, y2, x3, y3); FILL_TRI(x1, y1, x3, y3, x4, y4); } diff --git a/apps/xracer/xracer.h b/apps/xracer/xracer.h index 70d2677..21375e3 100644 --- a/apps/xracer/xracer.h +++ b/apps/xracer/xracer.h @@ -47,7 +47,7 @@ #define CURVES true /* this specifies the length of each road and border color in segments */ -#define RUMBLE_LENGTH 3 +#define RUMBLE_LENGTH 6 #define LANES 3 /* camera parameters */ diff --git a/boot/head.S b/boot/head.S index 8e607e0..896cdb3 100644 --- a/boot/head.S +++ b/boot/head.S @@ -24,7 +24,7 @@ multiboot_header: .section .stack stack_bottom: # Stack grows up in addresses, so bottom is # lower in memory than the top - .skip 32768 # 32KB stack + .skip 65536 # 32KB stack stack_top: .section .text diff --git a/docs/ss1.bmp b/docs/ss1.bmp deleted file mode 100644 index 1b9b0d9..0000000 Binary files a/docs/ss1.bmp and /dev/null differ diff --git a/docs/ss2.bmp b/docs/ss2.bmp deleted file mode 100644 index 68ff7f7..0000000 Binary files a/docs/ss2.bmp and /dev/null differ diff --git a/docs/ss3.bmp b/docs/ss3.bmp deleted file mode 100644 index 2fcaf0a..0000000 Binary files a/docs/ss3.bmp and /dev/null differ diff --git a/docs/ss4.png b/docs/ss4.png new file mode 100644 index 0000000..cd3ce3f Binary files /dev/null and b/docs/ss4.png differ -- cgit v1.1