aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--apps/xracer/graphics.c1
-rw-r--r--apps/xracer/xracer.h2
-rw-r--r--boot/head.S2
-rw-r--r--docs/ss1.bmpbin38462 -> 0 bytes
-rw-r--r--docs/ss2.bmpbin921654 -> 0 bytes
-rw-r--r--docs/ss3.bmpbin921654 -> 0 bytes
-rw-r--r--docs/ss4.pngbin0 -> 1525 bytes
8 files changed, 5 insertions, 3 deletions
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)
<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
deleted file mode 100644
index 1b9b0d9..0000000
--- a/docs/ss1.bmp
+++ /dev/null
Binary files differ
diff --git a/docs/ss2.bmp b/docs/ss2.bmp
deleted file mode 100644
index 68ff7f7..0000000
--- a/docs/ss2.bmp
+++ /dev/null
Binary files differ
diff --git a/docs/ss3.bmp b/docs/ss3.bmp
deleted file mode 100644
index 2fcaf0a..0000000
--- a/docs/ss3.bmp
+++ /dev/null
Binary files differ
diff --git a/docs/ss4.png b/docs/ss4.png
new file mode 100644
index 0000000..cd3ce3f
--- /dev/null
+++ b/docs/ss4.png
Binary files differ