Files
low-level-programming/lightshow.asm
greg 66c8833908 Add lightshow
Doesn't work right now, not sure why
2015-09-23 23:22:15 -07:00

37 lines
508 B
NASM

%include "multiboot_header.asm"
%include "x86_vram.asm"
;;extern rust_entry
section .bss
stack resb 0x1000
section .data
section .text
%include "x86_vram_functions.asm"
global boot:
mov esp, stack + 0x1000
xor ebp, ebp
jmp main
main:
push word BG.CYAN | ' '
call clear
add esp, 2
;;call rust_entry
push dword BG.BLACK | FG.YELLOW | FG.BRIGHT | 'A'
push dword 0
push dword 0
call write_to_coord
add esp, 12
jmp halt
halt:
hlt
jmp halt