Jump to content

Draw a pixel: Difference between revisions

m
Line 1,438:
 
=={{header|X86 Assembly}}==
This doesn't quitquite meet the requirements, but it shows how little code is
needed to draw a pixel on an IBM-PC VGA screen. The executable program
is a mere 32 bytes long. The "window" in this case is 320x200. Palette
Line 1,460:
mov ax, 0003h ;restore normal text mode screen
int 10h
ret ;return to DOSOS
end start
</lang>
772

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.