diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | apps/xracer/graphics.c | 1 | ||||
| -rw-r--r-- | apps/xracer/xracer.h | 2 | ||||
| -rw-r--r-- | boot/head.S | 2 | ||||
| -rw-r--r-- | docs/ss1.bmp | bin | 38462 -> 0 bytes | |||
| -rw-r--r-- | docs/ss2.bmp | bin | 921654 -> 0 bytes | |||
| -rw-r--r-- | docs/ss3.bmp | bin | 921654 -> 0 bytes | |||
| -rw-r--r-- | docs/ss4.png | bin | 0 -> 1525 bytes |
8 files changed, 5 insertions, 3 deletions
@@ -7,5 +7,6 @@ This kernel draws some code from [gamma](https://github.com/theunamedguy/gamma), # Screenshots (simulated, QEMU) <img src="https://github.com/theunamedguy/kappa/blob/master/docs/ss1.bmp?raw=true"> -<img src="https://github.com/theunamedguy/kappa/blob/master/docs/ss3.bmp?raw=true"> <img src="https://github.com/theunamedguy/kappa/blob/master/docs/ss2.bmp?raw=true"> +<img src="https://github.com/theunamedguy/kappa/blob/master/docs/ss3.bmp?raw=true"> +<img src="https://github.com/theunamedguy/kappa/blob/master/docs/ss4.bmp?raw=true"> 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 Binary files differdeleted file mode 100644 index 1b9b0d9..0000000 --- a/docs/ss1.bmp +++ /dev/null diff --git a/docs/ss2.bmp b/docs/ss2.bmp Binary files differdeleted file mode 100644 index 68ff7f7..0000000 --- a/docs/ss2.bmp +++ /dev/null diff --git a/docs/ss3.bmp b/docs/ss3.bmp Binary files differdeleted file mode 100644 index 2fcaf0a..0000000 --- a/docs/ss3.bmp +++ /dev/null diff --git a/docs/ss4.png b/docs/ss4.png Binary files differnew file mode 100644 index 0000000..cd3ce3f --- /dev/null +++ b/docs/ss4.png |