|
#include <i86.h>
|
|
#include <dos.h>
|
|
#include <conio.h>
|
|
|
|
int main(void) {
|
|
union REGS regs;
|
|
|
|
regs.w.ax = 0x13;
|
|
|
|
int386(0x10, ®s, ®s);
|
|
|
|
delay(5000);
|
|
|
|
*((unsigned char far *)0xa0000 + (320 * 10) + 10) = 15;
|
|
|
|
delay(2000);
|
|
|
|
regs.w.ax = 0x03;
|
|
|
|
int386(0x10, ®s, ®s);
|
|
|
|
return 0;
|
|
}
|