- Edit
kernel.c
#include "manix.h"
void Main(void){
Color(BLACK,WHITE);
PrintLine ("Manix kernel wriiten in C!");
}
- Run
sh build.sh
- Copy
Manix.iso
- Edit
kernel.py
; this file can be renamed
from Manix import Kernel, Colors
class Main (Kernel):
def __init__(self):
self.PrintLine("Manix kernel written in Python!")
self.Generate()
if __name__ == '__main__':
main = Main()
- Run
kernel.py
:
python kernel.py
- Copy
Manix.iso
- PrintLine
- PrintInt
- NewLine
- Clear
- PrintChar
- Color
- Reboot
- BLACK
- BLUE
- GREEN
- CYAN
- RED
- MAGENTA
- BROWN
- LIGHT_GRAY
- GRAY
- LIGHT_BLUE
- LIGHT_GREEN
- LIGHT_CYAN
- LIGHT_RED
- LIGHT_MAGENTA
- YELLOW
- WHITE