https://github.com/eliasjuk/systemos
Sistema Operacional
https://github.com/eliasjuk/systemos
assembly c
Last synced: about 2 months ago
JSON representation
Sistema Operacional
- Host: GitHub
- URL: https://github.com/eliasjuk/systemos
- Owner: EliasJuk
- License: mit
- Created: 2020-04-12T01:14:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T20:24:15.000Z (about 6 years ago)
- Last Synced: 2025-01-07T05:41:15.232Z (over 1 year ago)
- Topics: assembly, c
- Language: Assembly
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ❔ How to Build an Operating System
## ✨ What you need to get started
- 📝 Text editor
- 💻 Virtual machine
- 💿 [Rufus](https://rufus.ie/downloads/) - Recommended rufus-2.18
- 🔧 Binary compiler - [Nasm](https://www.nasm.us/)
- 💾 Data image file - [Fergoraw](https://www.fergonez.net/softwares/fraw)
- 📀 Tools for mounting ISO images
---
## BOOT START
---
## 💾 Basic Boot
```bash
[ORG 0x7C00]
LOOP:
jmp LOOP
times 510-($-$$) db 0
db 0x55
db 0xAA
```
# ❔ How to Build
>To build, you will need the nasm program, go to the directory where the boot file is located and give the following command:
```bash
$ nasm boot.asm -f bin -o boot.bin
```
---
## 🔖 Define directives
> Allocating Storage Space for Initialized Data
| Directive | Purpose | Storage Space |
|---------------------|---------------|-------------------------|
| DB | Define Byte | Allocates 1 byte |
| DW | Define Word | Allocates 2 bytes |
---
## 🌎 Hello World!
Tabela ansi com os caracteres em Decimal e Hexadecial passados para escrever um Hello World! na tela
| Decimal | Hexadecimal | Caractere | | Decimal | Hexadecimal | Caractere |
|---------------|---------------|---------------|--|---------------|---------------|---------------|
| 72 | 48 | H | | 87 | 57 | W |
| 101 | 65 | e | | 111 | 6F | o |
| 108 | 6C | l | | 114 | 72 | r |
| 108 | 6C | l | | 108 | 6C | l |
| 111 | 6F | o | | 100 | 64 | d |
| 32 | 20 | | | 33 | 21 | ! |
---
## 🌎 Welcome!