NASM - The Netwide Assembler

NASM Forum => Example Code => Topic started by: shaynox on March 12, 2015, 05:33:19 PM

Title: HackOS x64
Post by: shaynox on March 12, 2015, 05:33:19 PM
Hello, I have wrote an operating system x64 few years ago, it's look like a shell.

Actually it's still in text mode, I will update in graphic mode later.

This Bootloader display a message, then jumps to the kernel, which it recognize instructions that are listed in kernel.asm, such as the command prompt.

For adding the keyword, add it in: nasm/1.ASM/HackOS/program/cmd[].asm

Original command :
 - reboot : Reboot the pc
 - exit     : Exit the kernel to back to bootloader
 - ls        : List directory
 - new     : Create folder or file
 - del      : Delete folder or file
 - ren      : Rename folder or file
 - ..        : Go back to previous directory
 - cls      : Clear screen

(Keyboard configuration is in azerty :p)

For run it, you can test it on real machine:
 - Once you're in HxD, click on Open disk
 - Choose your physical disk (take an usb key)
 - Unclick Open as read only, then enter
 - Copy all content of HackOS.bin into start of your usb.
 - Enjoy

This project is build with windows.

http://wqaxs36.perso.sfr.fr/Project/Computer_Science/nasm/1.ASM/2upload/HackOS/HackOS-3.0_(64bits).zip

PS: 90% of comment are in French, sorry.
      This OS can contain some bug, no worry :p

Title: Re: HackOS x64
Post by: avcaballero on March 13, 2015, 01:17:38 PM
Je étudié le français à l'école il ya plusieurs années, maintenant je me souviens presque rien, merci pour le partage du code :)
Title: Re: HackOS x64
Post by: shaynox on March 13, 2015, 04:26:24 PM
De rien, j'essaierais de tout traduire en anglais un jour ^^
No problem, I will try to all translate in English one day.


(http://bonpatron.com/)

(update url: https://sourceforge.net/projects/shaynoxhackos/)