blob: 2d9ca9da1807a6c3a15cc12a9a42f13e4e8a4ccf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
; From: David Buchanan <d@vidbuchanan.co.uk>
;
; compiles to boot sector, pass as disk to qemu to run the code.
;
BITS 16
ORG 0x7C00
mov ax, 0x4F02
mov bx, 0x4118 ; 1024x768x24, LFB enabled
int 0x10 ; init VESA graphics via BIOS
mov dx, 0x3d4
mov al, 0x1d
out dx, al
mov dx, 0x3d5
in al, dx
or al, 0x80
out dx, al
jmp $
TIMES 510-($-$$) DB 0
DW 0xAA55 ; boot signature
|