Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making graphics in NASM

Status
Not open for further replies.

NaiLBoMB

Programmer
May 22, 2003
17
GB
is there an interrupt process which would allow me to define a solid shape in pixels, without going to the trouble of mapping out each pixel?
 
No, there are only interrupt routines that let you copy video memory to an accessable memory location; it's up to you what you want to do with this memory.

Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
I used to play with graphics in dos quite a lot on pc's, using assembler. I found interrupts were hopeless. There is an interrupt for drawing a pixel or reading a pixel, and it works in any normal screen mode, but it is so slow it is painful to watch. There's not a lot of point in bursting into assembler and then sacrificing speed. The bios graphic interrupts are more useful for things like setting a mode, which you only do once at the start of the programme, and which otherwise involves quite a detailed knowledge of a VGA card. But all this is a bit obsolete now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top