Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- short _stdcall Inp32(short PortAddress);
- void _stdcall Out32(short PortAddress, short data);
- void main()
- {
- int num;
- num = inp32(ox300);
- if(num&1==1)
- out32(ox301, 0);
- if(num&1==0)
- out32(0x301,255);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement