๐Ÿ“œ โฌ†๏ธ โฌ‡๏ธ

Javascript operating system? Jsos

Greetings, habrovchane!


Do you think it is possible to create a full-fledged operating system in the programming language JavaScript, from which you can boot?


The correct answer is possible!


image


Today I want to tell you about the JsOS project.


JsOS is an operating system in javascript.
Initially, the project was created on the basis of the JS library and the runtime.js core, but after the latter was closed, it became an independent project.


Currently, the project is under development , so any input is welcome.


Consider the basic structure of the project.


JsOS consists of two parts (levels):



Let's take a closer look at the high-level structure:




  1. .
  2. JavaScript Repl (, #).
  3. PS/2 .
  4. PCSpeaker.
  5. Virtio (QEMU) Realtek (rtl8139) .
  6. ATA .
  7. (FAT32).
  8. VGA BGA.
  9. Node.js API ( os, fs, ..).
  10. ASCII (UTF-8 ).
  11. - ASCII .
  12. PCI .




2 :


  1. .iso Releases.
  2. .

2, รณ .


Node.js QEMU.


# 1.  :
git clone https://github.com/JsOS-Team/JsOS
# 2.   :
cd JsOS
# 3.  :
npm i
# 4.  JsOS-CLI:
sudo npm i -g jsos-cli
# 5. :
jsos start

!


โ€” QEMU, JsOS.
โ€” issue .


, help.


, help :
image


install _.
js/apps.


, screenfetch Linux , .


install screenfetch, โ€” start screenfetch.


image


.


, :



install start.


, , ( graphics-mode pseudo-graphics), , , USB ( usb).


C++ JavaScript โ€” .


:


GitHub JsOS
GitHub JsOS-CLI
GitHub runtime.js ( )


')

Source: https://habr.com/ru/post/353524/


All Articles