+halt: hlt
+ jmp halt
+
+init_vbios:
+ mov ax, 0c000h
+ mov es, ax
+ xor bx, bx
+ cmp word [es:bx], 0aa55h
+ jz .foundsig
+ mov si, err_vbios_notfound
+ call ser_putstr
+ mov ax, [es:bx]
+ call printhex16
+ mov al, 13
+ call ser_putchar
+ mov al, 10
+ call ser_putchar
+ stc
+ ret
+.foundsig:
+ mov si, msg_vbios_init
+ call ser_putstr
+ ; don't bother with CRC, just call it
+ push es
+ push word 4
+ mov bp, sp
+ call far [bp]
+ add sp, 4
+ clc
+ ret
+
+msg_vbios_test db 'running video BIOS test',13,10,0
+msg_vbios_init db 'attempting to initialize video BIOS',13,10,0
+err_vbios_notfound db 'failed to initialize video BIOS, sig not found at c0000h: ',0