mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Run CursorRemove on Sound files
This commit is contained in:
parent
276ab81094
commit
dcdde184ea
11 changed files with 8 additions and 11 deletions
|
@ -86,4 +86,4 @@ MemSet(&@pci_int_handler, NULL, sizeof(U64) * PCI_INTH_MAX);
|
||||||
// IntEntrySet(0x41, &@pci_interrupt_handler, IDTET_IRQ);
|
// IntEntrySet(0x41, &@pci_interrupt_handler, IDTET_IRQ);
|
||||||
// IntEntrySet(0x42, &@pci_interrupt_handler, IDTET_IRQ);
|
// IntEntrySet(0x42, &@pci_interrupt_handler, IDTET_IRQ);
|
||||||
// IntEntrySet(0x43, &@pci_interrupt_handler, IDTET_IRQ);
|
// IntEntrySet(0x43, &@pci_interrupt_handler, IDTET_IRQ);
|
||||||
//@pci_reroute_interrupts(0x40, 0);
|
//@pci_reroute_interrupts(0x40, 0);
|
|
@ -1049,4 +1049,4 @@ Bool HDAudioScan()
|
||||||
|
|
||||||
HDAudioScan;
|
HDAudioScan;
|
||||||
Kill(hda.task);
|
Kill(hda.task);
|
||||||
HDAudioScan;
|
HDAudioScan;
|
|
@ -3,4 +3,3 @@ Cd(__DIR__);
|
||||||
SysFile("Sup1CodeScraps/Mem/Mem2Meg.ZC");
|
SysFile("Sup1CodeScraps/Mem/Mem2Meg.ZC");
|
||||||
SysFile("Sup1Snd/MakeSnd.ZC");
|
SysFile("Sup1Snd/MakeSnd.ZC");
|
||||||
SysFile("Sup1HDAudio/HDAudio.ZC");
|
SysFile("Sup1HDAudio/HDAudio.ZC");
|
||||||
|
|
|
@ -166,7 +166,7 @@ U0 Mem2MegFree(CMemBlk *m,I64 pages2Meg,CBlkPool *bp=NULL)
|
||||||
while (m2<m1) {
|
while (m2<m1) {
|
||||||
pte=MemPageTable(m2);
|
pte=MemPageTable(m2);
|
||||||
*pte=*pte & ~0x18;
|
*pte=*pte & ~0x18;
|
||||||
InvalidatePage(m2);
|
InvalidatePage(m2);
|
||||||
m2(U8 *)+=0x200000;
|
m2(U8 *)+=0x200000;
|
||||||
}
|
}
|
||||||
PUSHFD
|
PUSHFD
|
||||||
|
|
|
@ -96,4 +96,3 @@ U0 EchoDemo()
|
||||||
}
|
}
|
||||||
|
|
||||||
EchoDemo;
|
EchoDemo;
|
||||||
|
|
|
@ -14,4 +14,4 @@ U0 Guitar(Bool val=ON,F64
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Guitar(ON);
|
Guitar(ON);
|
||||||
|
|
|
@ -277,4 +277,3 @@ sy_done:
|
||||||
}
|
}
|
||||||
|
|
||||||
Synth;
|
Synth;
|
||||||
|
|
|
@ -654,7 +654,7 @@ public Bool HDAudioInit(I64 hd_bus, I64 hd_dev, I64 hd_fun)
|
||||||
_w = hda.bar + ISTR0 + STRFMT;
|
_w = hda.bar + ISTR0 + STRFMT;
|
||||||
*_w = HD_DFT_IN_FMT;
|
*_w = HD_DFT_IN_FMT;
|
||||||
|
|
||||||
LBts(&sys_semas[SEMA_SOUND], 0); //turn off until cfg completed
|
LBts(&sys_semas[SEMA_SOUND], 0); //turn off until cfg completed
|
||||||
LBtr(&snd_flags, Sf_FILLING_OUT);
|
LBtr(&snd_flags, Sf_FILLING_OUT);
|
||||||
hda.audio_task_started = FALSE;
|
hda.audio_task_started = FALSE;
|
||||||
if (mp_count > 1)
|
if (mp_count > 1)
|
||||||
|
|
|
@ -649,7 +649,7 @@ U0 HDCfg()
|
||||||
PopUpOk( "This is a tool to cfgure\n"
|
PopUpOk( "This is a tool to cfgure\n"
|
||||||
"HD Audio.It creates $$FG,RED$$~/HDAudioCfg.ZC.Z$$FG$$\n"
|
"HD Audio.It creates $$FG,RED$$~/HDAudioCfg.ZC.Z$$FG$$\n"
|
||||||
"which you should $$FG,GREEN$$
|
"which you should $$FG,GREEN$$
|
||||||
#include$$FG$$ in your\n"
|
#include$$FG$$ in your\n"
|
||||||
"$$FG,RED$$~/HomeSnd.ZC.Z$$FG$$ file.\n\n\n"
|
"$$FG,RED$$~/HomeSnd.ZC.Z$$FG$$ file.\n\n\n"
|
||||||
"Left click to see info and cfgure a widget.\n"
|
"Left click to see info and cfgure a widget.\n"
|
||||||
"Right click drag to connect output to input.\n\n"
|
"Right click drag to connect output to input.\n\n"
|
||||||
|
|
|
@ -108,7 +108,7 @@ public I64 SndFileCreate(U8 *base_filename,F64 normalized_vol=1.0,
|
||||||
s->body[cnt-1]=0;
|
s->body[cnt-1]=0;
|
||||||
|
|
||||||
d=screencast.sound_head.next;
|
d=screencast.sound_head.next;
|
||||||
while (d!=&screencast.sound_head) {
|
while (d!=&screencast.sound_head) {
|
||||||
d1=d->next;
|
d1=d->next;
|
||||||
QueueRemove(d);
|
QueueRemove(d);
|
||||||
Free(d);
|
Free(d);
|
||||||
|
|
|
@ -202,7 +202,7 @@ U0 MusicSettingsReset()
|
||||||
music.note_len=1.0;
|
music.note_len=1.0;
|
||||||
music.meter_top=4;
|
music.meter_top=4;
|
||||||
music.meter_bottom=4;
|
music.meter_bottom=4;
|
||||||
SoundReset;
|
SoundReset;
|
||||||
PUSHFD
|
PUSHFD
|
||||||
CLI
|
CLI
|
||||||
if (mp_count>1)
|
if (mp_count>1)
|
||||||
|
|
Loading…
Reference in a new issue