void interrupt our(__CPPARGS){
//if(inportb(0x60)==UP){
//i=0;j
switch(inportb(0x60)){
case UP: if(direction==1)break;direction=0;break;case DOWN: if(direction==0)break;direction=1;break;
case RIGHT: if(direction==3)break;direction=2;break;
case LEFT: if(direction==2)break;direction=3;break;
case 15:blocks++;break;
case ESC: stop=1;break;
}
(*prev)();
}[/CODE]
anyone can explain what this coding doin??? i know if the keyboard hti ,then it will up down left right
void interrupt our(__CPPARGS){
//if(inportb(0x60)==UP){
//i=0;j
switch(inportb(0x60)){
this part anyone know what does it mean?


Sign In
Create Account


Back to top









