Run CursorRemove on Sound files

This commit is contained in:
TomAwezome 2022-12-24 14:28:49 -05:00
parent 276ab81094
commit dcdde184ea
11 changed files with 8 additions and 11 deletions

View file

@ -86,4 +86,4 @@ MemSet(&@pci_int_handler, NULL, sizeof(U64) * PCI_INTH_MAX);
// IntEntrySet(0x41, &@pci_interrupt_handler, IDTET_IRQ);
// IntEntrySet(0x42, &@pci_interrupt_handler, IDTET_IRQ);
// IntEntrySet(0x43, &@pci_interrupt_handler, IDTET_IRQ);
//@pci_reroute_interrupts(0x40, 0);
//@pci_reroute_interrupts(0x40, 0);

View file

@ -1049,4 +1049,4 @@ Bool HDAudioScan()
HDAudioScan;
Kill(hda.task);
HDAudioScan;
HDAudioScan;

View file

@ -3,4 +3,3 @@ Cd(__DIR__);
SysFile("Sup1CodeScraps/Mem/Mem2Meg.ZC");
SysFile("Sup1Snd/MakeSnd.ZC");
SysFile("Sup1HDAudio/HDAudio.ZC");


View file

@ -166,7 +166,7 @@ U0 Mem2MegFree(CMemBlk *m,I64 pages2Meg,CBlkPool *bp=NULL)
while (m2<m1) {
pte=MemPageTable(m2);
*pte=*pte & ~0x18;
InvalidatePage(m2);
InvalidatePage(m2);
m2(U8 *)+=0x200000;
}
PUSHFD

View file

@ -96,4 +96,3 @@ U0 EchoDemo()
}
EchoDemo;


View file

@ -14,4 +14,4 @@ U0 Guitar(Bool val=ON,F64
}
}
Guitar(ON);
Guitar(ON);

View file

@ -277,4 +277,3 @@ sy_done:
}
Synth;


View file

@ -654,7 +654,7 @@ public Bool HDAudioInit(I64 hd_bus, I64 hd_dev, I64 hd_fun)
_w = hda.bar + ISTR0 + STRFMT;
*_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);
hda.audio_task_started = FALSE;
if (mp_count > 1)

View file

@ -649,7 +649,7 @@ U0 HDCfg()
PopUpOk( "This is a tool to cfgure\n"
"HD Audio.It creates $$FG,RED$$~/HDAudioCfg.ZC.Z$$FG$$\n"
"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"
"Left click to see info and cfgure a widget.\n"
"Right click drag to connect output to input.\n\n"

View file

@ -108,7 +108,7 @@ public I64 SndFileCreate(U8 *base_filename,F64 normalized_vol=1.0,
s->body[cnt-1]=0;
d=screencast.sound_head.next;
while (d!=&screencast.sound_head) {
while (d!=&screencast.sound_head) {
d1=d->next;
QueueRemove(d);
Free(d);

View file

@ -202,7 +202,7 @@ U0 MusicSettingsReset()
music.note_len=1.0;
music.meter_top=4;
music.meter_bottom=4;
SoundReset;
SoundReset;
PUSHFD
CLI
if (mp_count>1)