Parallel Port Bot Base Code

  • Uploaded by: Ankit Daftery
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Parallel Port Bot Base Code as PDF for free.

More details

  • Words: 76
  • Pages: 1
#include<stdio.h> #include<dos.h> #include #include void main() { int n; up:n=bioskey(0); outportb(0x378,0x00); if(n==4209) {exit(0);} /* Quit Key */ if(n==20273) {outportb(0x378,0x20);sleep(0.5);} /* FOR KEY 1 */ if(n==20530) {outportb(0x378,0x21);sleep(0.5);} /* FOR KEY 2 */ if(n==20787) {outportb(0x378,0x01);sleep(0.5);} /* FOR KEY 3 */ if(n==19252) {outportb(0x378,0x11);sleep(0.5);} /* FOR KEY 4 */ if(n==19766) {outportb(0x378,0x22);sleep(0.5);} /* FOR KEY 6 */ if(n==18231) {outportb(0x378,0x10);sleep(0.5);} /* FOR KEY 7 */ if(n==18488) {outportb(0x378,0x12);sleep(0.5);} /* FOR KEY 8 */ if(n==18745) {outportb(0x378,0x02);sleep(0.5);} /* FOR KEY 9 */ goto up; }

Related Documents

Parallel Port
October 2019 31
Parallel Port
December 2019 30
Parallel Port
November 2019 31
Parallel Port
November 2019 31

More Documents from ""