1
0
Fork 0
forked from AbleOS/ableos

Stress testing.

This commit is contained in:
Able 2024-12-07 19:25:01 -06:00 committed by peony
parent e6bdce0240
commit 6475e1bc26
2 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,7 @@ $Y_MAX := 1.12
// if you use the minibrot this should be at least 100 to actually see the minibrot, // if you use the minibrot this should be at least 100 to actually see the minibrot,
// if you use the mandelbrot it looks best under 30 // if you use the mandelbrot it looks best under 30
$MAX_MAX_ITERATION := 30 $MAX_MAX_ITERATION := 10000
$USE_SUNSET := true $USE_SUNSET := true
@ -79,7 +79,7 @@ example := fn(): void {
window := @as(?sunset.Window, null) window := @as(?sunset.Window, null)
if USE_SUNSET { if USE_SUNSET {
sunset.client.find_server() sunset.client.find_server()
window = sunset.client.new(.(.(400, 240), .(400, 400), "Mandelbrot Set\0")) window = sunset.client.new(.(.(400, 140), .(400, 400), "Mandelbrot Set\0"))
if window == null { if window == null {
log.error("got no window\0") log.error("got no window\0")
return return

View file

@ -28,8 +28,8 @@ path = "boot:///render_example.hbf"
[boot.limine.ableos.modules.sunset_server] [boot.limine.ableos.modules.sunset_server]
path = "boot:///sunset_server.hbf" path = "boot:///sunset_server.hbf"
# [boot.limine.ableos.modules.ps2_mouse_driver] [boot.limine.ableos.modules.ps2_mouse_driver]
# path = "boot:///ps2_mouse_driver.hbf" path = "boot:///ps2_mouse_driver.hbf"
# [boot.limine.ableos.modules.ps2_keyboard_driver] # [boot.limine.ableos.modules.ps2_keyboard_driver]
# path = "boot:///ps2_keyboard_driver.hbf" # path = "boot:///ps2_keyboard_driver.hbf"