C--: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Line 54:
}
 
ESBYTE[0x1b8003]= 'z';
$ CLI
kb_cmd(0xad);
kb_cmd(0xd0);
kb_read();
tepx=AL;
kb_cmd(0xd1);
$ MOV AL, tepx
$ OR AL, 2
$ MOV tepx, AL
kb_write(tepx);
kb_cmd(0xae);
$ STI
ESBYTE[0x1b8005]= 127;
 
These snippets are rather spaghetti code, but not because of some language defficiency but because I didn't look very far for them snippets.