TempleOSTS_130315.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:45:37 +02:00
1 parent e57428affb
commit 17b71f1a2d
958 files changed
+26043 -15907

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
interrupt U0 BeepOn()
{
IntEOI; //signal end of interrupt
Snd(100);
}
interrupt U0 BeepOff()
{
IntEOI;
Snd(0);
}
U0 IntTest()
{
//Modify interrupt descriptor table
//for CPU #1.
IntEntrySet(I_USER,&BeepOn,IDTET_TRAP);
IntEntrySet(I_USER+1,&BeepOff,IDTET_TRAP);
MPInt(I_USER,1);
Sleep(1000);
MPInt(I_USER+1,1);
}
IntTest;