Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I draw a circle using emu8086?

What I have tried:

Im newable on assembly language and I have to draw a circle .
Posted
Updated 28-Nov-16 21:38pm
Comments
Thanks7872 29-Nov-16 3:17am    
'What I have tried' section is meant to show what you have done so far. Try to explain it in detail which will help members solve your problem.

1 solution

This can't be answered without knowing the graphics interface or the video memory organisation (when using direct video memory access).

You need some kind of SetPixel function. Then use a circle algorithm that can be simply implemented using assembler instructions (e.g. the Midpoint circle algorithm - Wikipedia[^]).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900