Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- char x;
- while(1)
- {
- outportb(0x501, 0xAA);
- x = inportb(0x500);
- if(x != 0xAA)
- printf("Fehler");
- else
- printf("OK");
- outportb(0x501, 0x55);
- x = inportb(0x500);
- if(x != 0x55)
- printf("Fehler");
- else
- printf("OK");
- }
- }
Add Comment
Please, Sign In to add comment