QLSSS
QLSSS
I'm doing some experiments with Q-emulator and the supported QLSSS. The configuration is JS rom 4 mb ram and gold card speed.
The device works great, but how it is possible to stop the sound when I want? I tried Lenerz soundfile, but it works only in SMSE, if I understand correctly.
Has anyone developed a function or procedure to achieve the goal?
Thanks to anyone who can help me.
Marco
The device works great, but how it is possible to stop the sound when I want? I tried Lenerz soundfile, but it works only in SMSE, if I understand correctly.
Has anyone developed a function or procedure to achieve the goal?
Thanks to anyone who can help me.
Marco
-
- Font of All Knowledge
- Posts: 3957
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: QLSSS
Hi,
Have you looked at Simon Goowin's SOUND4 driver in the QLSSS1.ZIP archive, this have been updated by Marcel, QLSSS1_v2e.zip, which detsils how to flush the sound buffer.
Have you looked at Simon Goowin's SOUND4 driver in the QLSSS1.ZIP archive, this have been updated by Marcel, QLSSS1_v2e.zip, which detsils how to flush the sound buffer.
Regards,
Derek
Derek
Re: QLSSS
In case you have a SSS version that supports emptying the sample queue, (and TK2), then
(or whatever SOUNDx device you use) should work. Not all SSS implementations support this function, though.
Tobias
Code: Select all
FLUSH \SOUND
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: QLSSS
Derek wrote: Hi,
Have you looked at Simon Goowin's SOUND4 driver in the QLSSS1.ZIP archive, this have been updated by Marcel, QLSSS1_v2e.zip, which detsils how to flush the sound buffer.
Yes I use the update version of Marcel, and I tried this (I took the idea from another thread of the forum):Tofro wrote:
Code: Select all
FLUSH \SOUND
Code: Select all
DEF proc Killsound
open#5,sound
flush#5
close#5
end def Killsound
Thank you guys.
- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: QLSSS
Amazing, I don't even remember doing this But there it is, interesting.Tesla wrote:Yes I use the update version of Marcel, and I tried this (I took the idea from another thread of the forum):Tofro wrote:
Code: Select all
FLUSH \SOUND
Seems about right, it could be something with QemuLator. It's somewhat complicated to implement the SSSS on an emulator as the interface was solely targeted on the fairly... let's call it simple sound interface of the Q40. Try it on QPC2, I spent days trying to make it work as well as possible.But it doesn't work, probably some mistake of mine. The program I'm writing uses this procedure when it needs to close the sound, then the attempt is done when the sound is still playing. Is it a correct approach?
Marcel
Re: QLSSS
Marcel wrote:
Anyway I already have a passable solution, though it does not fully satisfy me.
In any case Marcel you have your head in too many things, if you do not remember all your job on the QL
I am joking of course.
Thanks to all of you for the help.
Marco
Marcel you are right, better use with QPC2, where all works good. Unfortunately I am perfecting a my old game that works only under qdos, and JM/JS roms, because it uses the notorius Gigabasic. This superbasic extension doesn't work under minerva or SMSQ (sigh!) so.....Seems about right, it could be something with QemuLator. It's somewhat complicated to implement the SSSS on an emulator as the interface was solely targeted on the fairly... let's call it simple sound interface of the Q40. Try it on QPC2, I spent days trying to make it work as well as possible.
Anyway I already have a passable solution, though it does not fully satisfy me.
In any case Marcel you have your head in too many things, if you do not remember all your job on the QL
I am joking of course.
Thanks to all of you for the help.
Marco
- NormanDunbar
- Forum Moderator
- Posts: 2273
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: QLSSS
Welcome to my world!mk79 wrote:Amazing, I don't even remember doing this But there it is, interesting
Cheers,
Norm. (I think!)
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.