Page 1 of 1
Interrupt 10h
Posted: Thu May 03, 2012 2:15 am
by lolkusus
1. Can I have my resolution and colors in interrupt 10h ?
2. What is the equivalent of pascal "putpixel" in assembler ?
Sorry for my English
Re: Interrupt 10h
Posted: Thu May 03, 2012 2:32 am
by Combuster
I'm seeing you're having a bigger problem with controlling the magic powers of google.
Looking up the details of int 10h provided the following:
http://www.ctyme.com/intr/rb-0069.htm
http://www.ctyme.com/intr/rb-0104.htm
The wiki has many more examples of how drawing pixels is actually done - you should read that too.
Re: Interrupt 10h
Posted: Thu May 03, 2012 3:09 am
by lolkusus
thanks
Re: Interrupt 10h
Posted: Thu May 03, 2012 12:32 pm
by miker00lz
yeah this information is so easy to find. in any case, would suggest you don't use int 10h to actually draw pixels. it's slow. use int 10h to change your video mode, and then write directly to video memory.
Re: Interrupt 10h
Posted: Fri May 04, 2012 5:23 am
by lolkusus
Ok I've bought book about interrupts in bios, thanks for help