PC speaker driver (Miscellaneous)
> The task could be easily done with a JLM, at least for real-mode games.
> Cheating protected-mode games is tricky, though.
I don't know much details but it would be some IOPL bitmat in v86 mode so you can trap access to specific port? So then if DOS app call some outporb(spkrio,value) JEMM will catch it and grab the value and process it itself? But in case of soundcard emulation it would be more complicated when using IRQ and DMAs. Unfortunately I never programmed a soundblaster so I have no clue how it works. Just guess you put say 64kB of sample in memory buffer, setup DMA to transfer it to soundcard and DSP generate IRQ when buffer is empty (resp. better 1/2 is empty to avoid clicks) and the ISR will fill another sample blocks in buffer...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- PC speaker driver - Vehudis, 05.02.2008, 12:11 (Miscellaneous)
- PC speaker driver - Steve, 06.02.2008, 04:06
- PC speaker driver - RayeR, 06.02.2008, 12:40
- PC speaker driver - Laaca, 06.02.2008, 13:00
- PC speaker driver - Vehudis, 06.02.2008, 13:45
- PC speaker driver - rr, 06.02.2008, 14:10
- PC speaker driver - Vehudis, 06.02.2008, 14:29
- PC speaker driver - rr, 06.02.2008, 14:40
- PC speaker driver - Vehudis, 07.02.2008, 09:27
- PC speaker driver - rr, 07.02.2008, 11:11
- PC speaker driver - Vehudis, 07.02.2008, 09:27
- PC speaker driver - rr, 06.02.2008, 14:40
- PC speaker driver - Japheth, 07.02.2008, 10:46
- PC speaker driver - rr, 07.02.2008, 11:25
- PC speaker driver - Japheth, 07.02.2008, 13:41
- PC speaker driver - rr, 07.02.2008, 14:40
- PC speaker driver - Japheth, 07.02.2008, 22:23
- PC speaker driver - Vehudis, 08.02.2008, 09:29
- PC speaker driver - rr, 08.02.2008, 09:56
- PC speaker driver - Rugxulo, 13.02.2008, 02:00
- PC speaker driver - Japheth, 13.02.2008, 09:02
- PC speaker driver - Japheth, 07.02.2008, 22:23
- PC speaker driver - rr, 07.02.2008, 14:40
- PC speaker driver - Japheth, 07.02.2008, 13:41
- PC speaker driver - RayeR, 07.02.2008, 13:30
- PC speaker driver - rr, 07.02.2008, 11:25
- PC speaker driver - DOS386, 19.02.2008, 02:27
- PC speaker driver - Vehudis, 06.02.2008, 14:29
- PC speaker driver - Steve, 06.02.2008, 14:30
- PC speaker driver - Vehudis, 07.02.2008, 09:19
- PC speaker driver - RayeR, 07.02.2008, 13:16
- PC speaker driver - Vehudis, 07.02.2008, 09:19
- PC speaker driver - RayeR, 07.02.2008, 13:22
- PC speaker driver - rr, 06.02.2008, 14:10
- PC speaker driver - tikbalang, 13.02.2008, 21:16
- PC speaker driver (VSB) - Rugxulo, 16.02.2008, 23:48
- PC speaker driver (VSB) - Wengier, 17.02.2008, 06:22
- PC speaker driver (VSB) - Steve, 17.02.2008, 07:43
- PC speaker driver (VSB) - Rugxulo, 18.02.2008, 08:22
- PC speaker driver (VSB) - Japheth, 18.02.2008, 09:20
- PC speaker driver (VSB) - rr, 18.02.2008, 10:15
- PC speaker driver (VSB) - Japheth, 18.02.2008, 10:46
- PC speaker driver (VSB) - rr, 18.02.2008, 12:19
- PC speaker driver (VSB) - Japheth, 18.02.2008, 13:18
- PC speaker driver (VSB) - jaybur, 18.02.2008, 18:27
- PC speaker driver (VSB) - Rugxulo, 19.02.2008, 03:25
- PC speaker driver (VSB) - jaybur, 18.02.2008, 18:27
- PC speaker driver (VSB) - Japheth, 18.02.2008, 13:18
- PC speaker driver (VSB) - rr, 18.02.2008, 12:19
- PC speaker driver (VSB) - Japheth, 18.02.2008, 10:46
- PC speaker driver (VSB) - Rugxulo, 19.02.2008, 03:23
- ASM sucks :-( - DOS386, 19.02.2008, 03:36
- PC speaker driver (VSB) - Japheth, 19.02.2008, 03:59
- PC speaker driver (VSB) - Rugxulo, 20.02.2008, 00:24
- How to avoid SUCK-ASM ? - DOS386, 20.02.2008, 01:02
- How to avoid SUCK-ASM ? - Rugxulo, 20.02.2008, 05:20
- How to avoid SUCK-ASM ? - DOS386, 21.02.2008, 02:15
- How to avoid SUCK-ASM ? - Rugxulo, 21.02.2008, 17:10
- How to avoid SUCK-ASM ? - RayeR, 23.02.2008, 01:45
- How to avoid SUCK-ASM ? - Rugxulo, 21.02.2008, 17:10
- How to avoid SUCK-ASM ? - DOS386, 21.02.2008, 02:15
- How to avoid SUCK-ASM ? - rr, 20.02.2008, 09:34
- How to avoid SUCK-ASM ? - Japheth, 20.02.2008, 10:30
- How to avoid SUCK-ASM ? - Rugxulo, 20.02.2008, 05:20
- PC speaker driver (VSB) - rr, 18.02.2008, 10:15
- PC speaker driver (VSB) - Japheth, 18.02.2008, 09:20
- PC speaker driver (VSB) - Rugxulo, 18.02.2008, 08:22
- PC speaker driver (VSB) - Rugxulo, 16.02.2008, 23:48
- PC speaker volume control button - DOS386, 19.02.2008, 02:18
- PC speaker volume control button - Steve, 19.02.2008, 04:52