Warm boot
Code: Select all
mov ax,40h
mov es,ax
mov ax,0
mov [es:72h],ax
Code: Select all
mov dx,3F2h
mov al,0
out dx,al
Switch to 256 colour mode (320x200)
This part is 16 bit ONLY
mov ah, 00h
mov al, 13h
int 10h
And then write to 0xA0000 , a 320x200 array of bytes, each representing the colour of each pixel