TempleOSCDV3.11.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:29 +02:00
1 parent f8c05f98f4
commit ed64d7e3b8
549 files changed
+10643 -12855

No files matched your search

+4 -4
View File
@@ -1,10 +1,10 @@
interrupt U0 BeepOn()
interrupt U0 IntBeepOn()
{
*LAPIC_EOI(U32 *)=0; //signal end of interrupt
Snd(100);
}
interrupt U0 BeepOff()
interrupt U0 IntBeepOff()
{
*LAPIC_EOI(U32 *)=0;
Snd(0);
@@ -12,8 +12,8 @@ interrupt U0 BeepOff()
U0 IntTest()
{//Modify interrupt descriptor table use by all cores.
IntEntrySet(I_USER,&BeepOn,IDTET_TRAP);
IntEntrySet(I_USER+1,&BeepOff,IDTET_TRAP);
IntEntrySet(I_USER,&IntBeepOn,IDTET_TRAP);
IntEntrySet(I_USER+1,&IntBeepOff,IDTET_TRAP);
//Issue interupt to core#1
MPInt(I_USER,1);
Sleep(1000);