clippy stuff

This commit is contained in:
2024-09-02 17:51:10 +03:00
parent 2dfd253f34
commit 12e9a068e9
27 changed files with 292 additions and 170 deletions

View File

@@ -1,3 +1,10 @@
%define VIDEO_MODE 1
section .data
global __VIDEO_MODE
__VIDEO_MODE: db VIDEO_MODE
section .multiboot_header
header_start:
dd 0xe85250d6 ; magic number (multiboot 2)
@@ -8,7 +15,17 @@ header_start:
; insert optional multiboot tags here
; required end tag
%if VIDEO_MODE
dw 5 ; type
dw 1 ; flags
dd 20 ; size
dd 0 ; width
dd 0 ; height
dd 24 ; depth
; grub 2 expects 8 byte alignment
dw 0 ; padding
dw 0 ; padding
%endif
dw 0 ; type
dw 0 ; flags
dd 8 ; size