我怎么能在emu8086中画一个圆圈 [英] How can I draw a circle in emu8086
本文介绍了我怎么能在emu8086中画一个圆圈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用emu8086绘制圆圈?
我尝试过:
我在汇编语言上是新的,我必须绘制一个圆圈。
How can I draw a circle using emu8086?
What I have tried:
Im newable on assembly language and I have to draw a circle .
推荐答案
如果不知道图形界面或视频,这是无法回答的内存组织(使用直接视频内存访问时)。
你需要某种SetPixel
函数。然后使用圆形算法,可以使用汇编程序指令简单地实现(例如中点圆算法 - 维基百科 [ ^ ])。
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 ofSetPixel
function. Then use a circle algorithm that can be simply implemented using assembler instructions (e.g. the Midpoint circle algorithm - Wikipedia[^]).
这篇关于我怎么能在emu8086中画一个圆圈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文