早教吧作业答案频道 -->其他-->
#include#include#include#include#include#include#include#includeintCOLS=640,ROWS=480;voidselectpage(registercharpage){unionREGSr;r.x.ax=0x4f05;r.x.bx=0;r.x.dx=page;int86(0x10,&r,&r);}unsignedcharsetSVGAmode(intvmode){unionREGSr
题目详情
#include
#include
#include
#include
#include
#include
#include
#include
int COLS = 640,ROWS = 480;
void selectpage(register char page){
union REGS r;
r.x.ax = 0x4f05;
r.x.bx = 0;
r.x.dx = page;
int86(0x10,&r,&r);
}
unsigned char set_SVGA_mode(int vmode){
union REGS r;
r.x.ax = 0x4f02;
r.x.bx = vmode;
int86(0x10,&r,&r);
return r.h.ah;
}
void Plot_Pixel_Fast(int x,int y,char color){
long position;
char page_new = 0,page_old = 0;
position = y*(long)COLS + x;
page_new = position/65536L;
if(page_new = page_old){
selectpage(page_new);
page_old = page_new;
}
pokeb(0xa000,position%65536L,color);
}
void main(){
int i=0,j=0;
set_SVGA_mode(0x101);
for(i=0;i
#include
#include
#include
#include
#include
#include
#include
int COLS = 640,ROWS = 480;
void selectpage(register char page){
union REGS r;
r.x.ax = 0x4f05;
r.x.bx = 0;
r.x.dx = page;
int86(0x10,&r,&r);
}
unsigned char set_SVGA_mode(int vmode){
union REGS r;
r.x.ax = 0x4f02;
r.x.bx = vmode;
int86(0x10,&r,&r);
return r.h.ah;
}
void Plot_Pixel_Fast(int x,int y,char color){
long position;
char page_new = 0,page_old = 0;
position = y*(long)COLS + x;
page_new = position/65536L;
if(page_new = page_old){
selectpage(page_new);
page_old = page_new;
}
pokeb(0xa000,position%65536L,color);
}
void main(){
int i=0,j=0;
set_SVGA_mode(0x101);
for(i=0;i
▼优质解答
答案和解析
现在问题是出现在纵列,你可以把 for(j=0;j
看了 #include#inclu...的网友还看了以下:
设关系R和S的元数分别是r和s,且R有m个元组,S有n个元组。记R和S的笛卡儿积为A,则( )。A) 2020-05-23 …
线性代数,请教刘老师:设A为n阶实对称矩阵,S={x|x'Ax=0,x∈R^n}(1)试给出S为R 2020-06-13 …
已知正方体ABCD-A1B1C1D1的棱长为1,动点P在正方体ABCD-A1B1C1D1表面上运动 2020-06-21 …
根据开谱勒第二定律,地球在近日点的速度和在远日点的速度满足V近*R近=V远*R远,V远=R近/R远 2020-06-26 …
已知S(1)、S(2),证(r+1)S(2)=(r-1)S(1)^2+2aS(1).S(1)=a+ 2020-07-22 …
设R是一个环,a∈R,证明S={x|x∈R,ax=0}是R的子环. 2020-07-29 …
概率统计问题,急,推广的二项系数公式(-r,L)=(-1)^L(r+L-1,L)怎么得来的?∞∑( 2020-07-30 …
证明题1/(1+r)+1/(1+r)^2+1/(1+r)^3+.+1/(1+r)^n为什么1/(1 2020-08-01 …
lingo中如何用a,b来代表常数min=(a^2+r^2-2*a*r*cos(c1))^(1/2) 2020-11-06 …
小麦抗锈病基因R和不抗锈病基因r是一对等位基因,下列有关叙述正确的是()A.基因R和基因r的分离发生 2020-12-20 …