[Freedos-user] UDVD2: Invoking STOP AUDIO twice should first pause, then stop audio, as some games expect
Hi! There is an interesting new ticket about UDVD2 on github. It seems that implementing a very specific detail of what MSCDEX expects CD-ROM drivers to do might improve compatibility with games like Rayman. See the text of the ticket below. Thanks to PluMGMK for their thoughts. Regards, Eric PluMGMK created an issue: https://gitlab.com/FreeDOS/drivers/udvd2/-/issues/5 First of all, let me say that it's great to see a "modern" DOS driver that still implements audio functionality for CD-ROM drives! But there is an issue with the way the STOP AUDIO request is handled. The MSCDEX spec indicates that it should behave as per the following pseudocode: ``` STOP_AUDIO() { if (playing) { last_startloc = present q-channel location playing = FALSE; paused = TRUE; if (stop() == SUCCESSFUL) return no error; return error; } else { playing = FALSE; paused = FALSE; last_startloc = 0; last_endloc = 0; return no error; } } ``` But UDVD2 only implements the "`if (playing)`" part and not the `else`. That is, it only ever pauses the drive, it does not stop it if already paused. This does cause an issue with games like Rayman, which (for some reason) insists on having the drive fully "stopped". That is, it calls "STOP AUDIO" twice to "pause" then "stop", and then it continuously polls the driver until the "pause" and "busy" flags are both unset. With UDVD2's behaviour, the "pause" flag never gets unset, since the second call to "STOP AUDIO" did not unset it. A workaround is to press the physical Play/Pause button on the drive (if indeed it has one) and wait for the track to finish, but that's quite inconvenient! I'd say fixing it should be straightforward, but would unfortunately add quite a bit of complexity in that bit of the code, which right now is elegant in its simplicity. I could have a look at it over the weekend. Are MRs accepted for this? ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] EDL.COM line processing utility by Herbert Kleebauer
Ugh, okay, really stupid me; skimming, not reading. It's just a matter of echo'ing the provided lines into a .com, isn't it. A post by Mr Kleebauer with more usage instructions in the end: https://groups.google.com/g/alt.msdos.batch.nt/c/Y6Sp129dr8w/m/kiB1TaXutF4J Silly email of the day; sorry! Mart On 10/12/2022, Mart Zirnask wrote: > Hi, > I found a reference to EDL.COM, a "ascii assembler line processing > utility by Herbert Kleebauer": > https://stackoverflow.com/a/25986762 > > I would like to try it out (on SvarDOS). Is it still available > somewhere for downloading? > > Thanks and best, > Mart > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] EDL.COM line processing utility by Herbert Kleebauer
Hi, I found a reference to EDL.COM, a "ascii assembler line processing utility by Herbert Kleebauer": https://stackoverflow.com/a/25986762 I would like to try it out (on SvarDOS). Is it still available somewhere for downloading? Thanks and best, Mart ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] failing to create bootable install media (or at least boot from it)
Hi, I am trying install FreeDOS on my computer (not virtual) now for a while and failing long enough to acknowledge that I need to ask for help. Last time I installed DOS I was using a 486 with a diskette drive. My daily driver is Linux since the last 20 years. I have been using two 32gb SD-cards. When I write the ISO of my Linux distro to the SD-cards I can boot from those SD cards without a problem. When I write the FreeDOS ISO to the SD-cards or the FreeDOS USB version , the IMG file, to the SD-cards it gives nothing. When I select the device to boot from it just jumps back to the boot device select menu of my BIOS. No error. Have written the FreeDOS ISO to both DS-cards with check of the write was correct. And also with the IMG file. Makes not difference. I must be missing something obvious. Would appreciate suggestions. The computer I am trying to boot it from is this very modest mini-pc, using the usb-port with a SD-to-usb adapter. Has an Intel Celeron J4115. https://www.bmax-eu.com/collections/bmax-mini-pc/products/bmax-b2-plus Thanks, Walter ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user