os name + kernel name

This commit is contained in:
overflowerror 2014-05-18 13:00:27 +02:00
parent e562707d84
commit 2aab635bfb
2 changed files with 5 additions and 1 deletions

View file

@ -39,7 +39,7 @@ WshClass.prototype.tick = function() {
var stdin = this.files['stdin'];
switch(this.state) {
case 0:
stdout.write("Welcome to WishOS 0.1 (WOSKernel 0.9)\n\n");
stdout.write("Welcome to " + OS_NAME + " (" + KERNEL + ")\n\n");
console.log("wsh: loading profile");
var prof = new File("/etc/profile.d/env.json");
var array = JSON.parse(prof.read().replace(EOF, ""));

View file

@ -42,6 +42,9 @@ const MODE_CREATE = 6;
// special chars
const EOF = String.fromCharCode(26);
const OS_NAME = "Wish OS V 0.1"; // Wish-Isn't-a-SHell Operating System
const KERNEL = "Wodka Kernel V 0.9"; // Wish Os Dedicated Kernel Alpha
var OS = function() {
}
OS.system;
@ -80,6 +83,7 @@ Kernel.machine = function() {
case 0:
Emulator.Output.shiftKey = OS.staticShift;
Emulator.output("\033[2J\033[0;0H" + OS.logo);
Kernel.wall("\ņbooting kernel: " + KERNEL + "...")
Kernel.msgOut("reseting kernel timer", true);
Kernel.time = 0;
Kernel.msgOut("register main timer (100ms)", true); // pre