Remove random demos

Cool, but cumbersome in practice: have to continually restart until I get the demo I want.

So let's stick to init for now.
This commit is contained in:
apio 2022-10-11 19:25:19 +02:00
parent 0a7d4a530d
commit 86b50a6aa0

View File

@ -124,36 +124,7 @@ extern "C" void _start()
}
});
uint64_t demo = Mersenne::get() % 6;
switch (demo)
{
case 0:
kinfoln("Loading demo: example init program");
Scheduler::load_user_task("bin/init");
break;
case 1:
kinfoln("Loading demo: first 50 fibonacci numbers");
Scheduler::load_user_task("bin/fib");
break;
case 2:
kinfoln("Loading demo: leap year calculator");
Scheduler::load_user_task("bin/leap");
break;
case 3:
kinfoln("Loading demo: painting program");
Scheduler::load_user_task("bin/art");
break;
case 4:
kinfoln("Loading demo: memory eating program");
Scheduler::load_user_task("bin/memeater");
break;
case 5:
kinfoln("Loading demo: misbehaving program");
Scheduler::load_user_task("bin/quota");
break;
default: break;
}
Scheduler::load_user_task("bin/init");
kinfoln("Prepared scheduler tasks");