使用微处理器编程创建图形

R. Tyson, Kevin Stanton, Nripendra N Sarker
{"title":"使用微处理器编程创建图形","authors":"R. Tyson, Kevin Stanton, Nripendra N Sarker","doi":"10.18260/1-2-620-38688","DOIUrl":null,"url":null,"abstract":"Microprocessor programming is tedious which depends on the architecture of registers of a particular CPU and the associated memory system. However, interrupt routines available in the memory offer many free ingredients to create amazing outputs. With IA-32 architecture, the Interrupt 10h allows setting screen resolutions of up to 800x600 pixels with 8-bit colors including routines to create graphics in 16-bit programming. The basic method of graphics programming is to set the video output to graphics mode and then calling appropriate routines of INT 10h to draw one pixel at a time at a desired location. This paper describes the method of drawing some algebraic expressions. The method is next translated into assembly language program to draw straight line, circle, parabola or ellipse as per runtime option.","PeriodicalId":175579,"journal":{"name":"2009 GSW Proceedings","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Creating Graphics using Microprocessor Programming\",\"authors\":\"R. Tyson, Kevin Stanton, Nripendra N Sarker\",\"doi\":\"10.18260/1-2-620-38688\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Microprocessor programming is tedious which depends on the architecture of registers of a particular CPU and the associated memory system. However, interrupt routines available in the memory offer many free ingredients to create amazing outputs. With IA-32 architecture, the Interrupt 10h allows setting screen resolutions of up to 800x600 pixels with 8-bit colors including routines to create graphics in 16-bit programming. The basic method of graphics programming is to set the video output to graphics mode and then calling appropriate routines of INT 10h to draw one pixel at a time at a desired location. This paper describes the method of drawing some algebraic expressions. The method is next translated into assembly language program to draw straight line, circle, parabola or ellipse as per runtime option.\",\"PeriodicalId\":175579,\"journal\":{\"name\":\"2009 GSW Proceedings\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1900-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 GSW Proceedings\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.18260/1-2-620-38688\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 GSW Proceedings","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.18260/1-2-620-38688","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

微处理器编程是乏味的,这取决于特定CPU和相关存储系统的寄存器结构。然而,内存中可用的中断例程提供了许多免费的成分来创建惊人的输出。在IA-32架构下,Interrupt 10h允许设置高达800x600像素的屏幕分辨率和8位颜色,包括在16位编程中创建图形的例程。图形编程的基本方法是将视频输出设置为图形模式,然后调用适当的INT 10h例程,在期望的位置每次绘制一个像素。本文介绍了一些代数表达式的画法。然后将该方法翻译成汇编语言程序,根据运行时选项绘制直线、圆、抛物线或椭圆。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Creating Graphics using Microprocessor Programming
Microprocessor programming is tedious which depends on the architecture of registers of a particular CPU and the associated memory system. However, interrupt routines available in the memory offer many free ingredients to create amazing outputs. With IA-32 architecture, the Interrupt 10h allows setting screen resolutions of up to 800x600 pixels with 8-bit colors including routines to create graphics in 16-bit programming. The basic method of graphics programming is to set the video output to graphics mode and then calling appropriate routines of INT 10h to draw one pixel at a time at a desired location. This paper describes the method of drawing some algebraic expressions. The method is next translated into assembly language program to draw straight line, circle, parabola or ellipse as per runtime option.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信