logo

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Unnamed repository; edit this file 'description' to name the repository.
commit: 0ccae5be31d0e1cf7422e3eaed90611e708422dd
parent e4d8b3e2120c9e0f5d609ff219c174e9d1fcf9b6
Author: iliana weller <ilianaw@buttslol.net>
Date:   Tue, 11 Dec 2018 10:46:53 -0800

Eeeee EE #563 eeee Proximyst/patch-2

e but it's bare metal

Diffstat:

Ae_standalone.asm27+++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)

diff --git a/e_standalone.asm b/e_standalone.asm @@ -0,0 +1,27 @@ +; Linker file: +; ENTRY(start); SECTIONS { . = 1M; .boot : { KEEP(*(.multiboot_header)) } .text : { *(.text) } } +; compile: nasm -i. -felf64 e_standalone.asm -o e + + section .multiboot_header + bits 32 +header_start: + dd 0xe85250d6 + dd 0 + dd header_end - header_start + dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) + dw 0 + dw 0 + dd 8 +header_end: + +global start +section .text +bits 32 +start: + mov ecx, 0 +loop: + mov dword [0xb8000 + (ecx * 2)], (15 << 8) | (0x00000065) + inc ecx + cmp ecx, 2000 + jne loop + hlt