Re: [Freedos-user] FDNPKG ?
On 08/13/2014 01:46 AM, Ulrich wrote: Unfortunately it isn't so easy. I just tried to remove/reinstall UIDE in FreeDOS 1.1. The C:\FDOS\PACKAGES\UIDEX.LST file in FD1.1 doesn't include xmgr.sys and rdisk.com. So when uninstalling UIDEX these are not removed. And when reinstalling UIDE, FDNPKG complains about already existing files - and exits. Might be indeed that the FD 1.1 installer botched these package installs... On the other hand, the important thing at the time was to release something, and the whole FDNPKG wasn't that well known yet, so guys (I'm not sure who did the installer in 1.1) have done a great job nonetheless. For the next version, you are right that it would be cool to take care to install packages in a way that FDNPKG can handle them afterward (ideally - using FDNPKG to install them, if the restriction 386+ is not a blocker). Mateusz -- ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] DOSMid - plays MIDI files on DOS via a MPU-401 interface
Hi, I confess I haven't tried to compile your tetris clone, but have a few suggestions: - you definitely should try to avoid these nasty BGI drivers... (doesn't it clash with GPL anyway? I'm pretty sure it will, when you will want to distribute an executable package), - using a standard Makefile might be easier for many people than the PRJ stuff (and faster to compile, no need to run the whole IDE), - how about putting a screenshot somewhere? - would be nice if you could distribute a pre-compiled version of the game. I think this would be more appealing for people to try out, than to have to compile it. Most gamers don't use a compiler very often (if at all). BTW, fun fact: only 32% of your sources is code. all the rest is... its license :D cheers, Mateusz On 08/12/2014 11:31 PM, Jaroslav Beran wrote: Hi Mateusz, I saw some possibility of creating dll in case of watcom but didnt sure if it is usable under dos. I understand well that BSD license allowes me to do many thinks with you code. But idea is to provide api as shared or static library and keep it under maintenance. In the past I read here about idea to do the same with tcp stack. Ok, this activity will not affect legacy software, but it would be nice to have library collection for new or active projects. In such case all we can yield all synergies from shared code (shared knowledge, maintenance, and so on) I dont know if my game (another tetris) will really make happy somebody but you can find it here:-) https://bitbucket.org/berk76/tetris Original aim was to play with TC 2.01 and FreeDos and test their possibilities. Now I would like to add some additional improvements like playing background sound and so on. Jarda 2014-08-12 22:54 GMT+02:00 Mateusz Viste mate...@viste.fr mailto:mate...@viste.fr: Hi Jarda Actually, there is no such thing like a shared library in DOS. Nonetheless, you can of course reuse DOSMid code (BSD, no strings attached). I wrote it so code reusal shall be easy - if you look into it, there are specialized modules for everything. The midi.c module would be the closest thing to a MIDI library. Simply snap it into your project and include its header file. You should also find usage explanations in the header. Let me know if anything is unclear, I will gladly help integrating DOSMid into your project (and improve its documentation if such need arise). Note however, that you should probably not rely on MPU for music. Most el cheapo soundcards don't have a wavetable onboard, its something found only in high-end cards. Using midi is probably a good idea (and you are welcome to use dosmid for midi loading) but I think you should rely on FM synth (0x388 IIRC) for playback, or provide a configurable setting to the user: MPU/FM. Of course FM quality is poor, but should be acceptable for a game tune (and better than no music at all for sure). Btw, any chance to find the beta of your game somewhere on the net already? Mateusz On August 12, 2014 10:16:15 PM GMT+02:00, Jaroslav Beran jaroslav.be...@gmail.com mailto:jaroslav.be...@gmail.com wrote: Hello, I am working on some small game and one of points in my todo list is to enable play background music. One possibility is to grab similar project. But better way would be to use shared library if it is possible. So my question is do you plan provide also shared library? :-) Jarda 2014-08-10 13:16 GMT+02:00 Mateusz Viste mate...@viste.fr mailto:mate...@viste.fr: Hi DOSers, Today, I decided to release publicly my latest project: DOSMid. http://dosmid.sourceforge.net DOSMid is a MIDI player for (free)DOS. It's a real mode application designed to run on very modest hardware configurations. It plays both MIDI and RMID files. It's released under a BSD license. DOSMid is not a software MIDI emulator, thus it requires a MIDI-capable hardware available via the standard MPU-401 interface. Many sound cards provide such interface, although some need an additional 'wavetable' chip to produce actual MIDI sound, or a special TSR (like AWEUTIL, for SB32/SB64 cards). DOSMid is still in a beta phase (v0.5), but its stable, and plays all my MIDI files right. It doesn't come with many features yet, though. I tested it only on my SoundBlaster 64 AWE card, as well as with my MIDI piano keyboard, and it worked well with both. Unfortunately I don't have any other MIDI hardware, but there's no reason I am aware of that would make it non-functional with other hardware, as long as MPU-401 compatibility is there. enjoy!
Re: [Freedos-user] DOSMid - plays MIDI files on DOS via a MPU-401 interface
Hello Mateusz, thank you for your suggestions. This project is not ready for distribution and it is still in progress. Back to the original question. If I understand well you dont plan to publish api as library. In my opinion it is quite pity because there is potential for reusing it in other projects. Jarda 2014-08-13 19:47 GMT+02:00 Mateusz Viste mate...@viste.fr: Hi, I confess I haven't tried to compile your tetris clone, but have a few suggestions: - you definitely should try to avoid these nasty BGI drivers... (doesn't it clash with GPL anyway? I'm pretty sure it will, when you will want to distribute an executable package), - using a standard Makefile might be easier for many people than the PRJ stuff (and faster to compile, no need to run the whole IDE), - how about putting a screenshot somewhere? - would be nice if you could distribute a pre-compiled version of the game. I think this would be more appealing for people to try out, than to have to compile it. Most gamers don't use a compiler very often (if at all). BTW, fun fact: only 32% of your sources is code. all the rest is... its license :D cheers, Mateusz On 08/12/2014 11:31 PM, Jaroslav Beran wrote: Hi Mateusz, I saw some possibility of creating dll in case of watcom but didnt sure if it is usable under dos. I understand well that BSD license allowes me to do many thinks with you code. But idea is to provide api as shared or static library and keep it under maintenance. In the past I read here about idea to do the same with tcp stack. Ok, this activity will not affect legacy software, but it would be nice to have library collection for new or active projects. In such case all we can yield all synergies from shared code (shared knowledge, maintenance, and so on) I dont know if my game (another tetris) will really make happy somebody but you can find it here:-) https://bitbucket.org/berk76/tetris Original aim was to play with TC 2.01 and FreeDos and test their possibilities. Now I would like to add some additional improvements like playing background sound and so on. Jarda 2014-08-12 22:54 GMT+02:00 Mateusz Viste mate...@viste.fr mailto:mate...@viste.fr: Hi Jarda Actually, there is no such thing like a shared library in DOS. Nonetheless, you can of course reuse DOSMid code (BSD, no strings attached). I wrote it so code reusal shall be easy - if you look into it, there are specialized modules for everything. The midi.c module would be the closest thing to a MIDI library. Simply snap it into your project and include its header file. You should also find usage explanations in the header. Let me know if anything is unclear, I will gladly help integrating DOSMid into your project (and improve its documentation if such need arise). Note however, that you should probably not rely on MPU for music. Most el cheapo soundcards don't have a wavetable onboard, its something found only in high-end cards. Using midi is probably a good idea (and you are welcome to use dosmid for midi loading) but I think you should rely on FM synth (0x388 IIRC) for playback, or provide a configurable setting to the user: MPU/FM. Of course FM quality is poor, but should be acceptable for a game tune (and better than no music at all for sure). Btw, any chance to find the beta of your game somewhere on the net already? Mateusz On August 12, 2014 10:16:15 PM GMT+02:00, Jaroslav Beran jaroslav.be...@gmail.com mailto:jaroslav.be...@gmail.com wrote: Hello, I am working on some small game and one of points in my todo list is to enable play background music. One possibility is to grab similar project. But better way would be to use shared library if it is possible. So my question is do you plan provide also shared library? :-) Jarda 2014-08-10 13:16 GMT+02:00 Mateusz Viste mate...@viste.fr mailto:mate...@viste.fr: Hi DOSers, Today, I decided to release publicly my latest project: DOSMid. http://dosmid.sourceforge.net DOSMid is a MIDI player for (free)DOS. It's a real mode application designed to run on very modest hardware configurations. It plays both MIDI and RMID files. It's released under a BSD license. DOSMid is not a software MIDI emulator, thus it requires a MIDI-capable hardware available via the standard MPU-401 interface. Many sound cards provide such interface, although some need an additional 'wavetable' chip to produce actual MIDI sound, or a special TSR (like AWEUTIL, for SB32/SB64 cards). DOSMid is still in a beta phase (v0.5), but its
Re: [Freedos-user] FDNPKG ?
Hi Mateusz, obviously FDNPKG installs a few things differently than the FreeDOS 1.1 CD. So it's hard to say what is a bug, what is a feature. FDNPKG installs the MTCP programs into C:\FDOS\MTCP instead of C:\FDOS\BIN. So mTCP will not work with an AUTOEXEC.BAT from 1.1, the user needs to add C:\FDOS\MTCP to the PATH variable. In another logic FDNPKG installs DOSZIP into C:\DOSZIP. Here again the user has to update the PATH by hand. The package CTMOUSE is installed into C:\FDOS\BIN\CTMOUSE (yet another location for programs). There is no universal MOUSE.EXE like in FreeDOS 1.1, instead you need to activate the file according to your language (CTM_EN.EXE or CTM_DE.EXE, etc.). In the BASE repository is a program called MIRROR. FDNPKG installs it into C:\GAMES\MIRROR. I don't know what the program does, but is it supposed to be in BASE? I see that it is also in the GAMES repo... FDNPKG installs the license file of RECOVER into C:\FDOS\DOCS instead of C:\FDOS\DOC. If I install UIDE with FDNPKG, I am unable to also install RDISK and XMGR - FDNPKG complains about already existing files. As you see: Unfortunately there's no installation routine that lets me install the necessary 79 packages (plus configuration files) conveniently. Also only the first fdnpkg command runs successfully. Afterwards the VirtualBox guest freezes. I didn't have the nerve to switch the guest off and on again 79 times and then create FDCONFIG.SYS and AUTOEXEC.BAT by hand. I finally DID HAVE the nerve to install most of BASE by hand with your all_cd.iso. This really means I rebooted the virtualbox guest after every single command to avoid the freeze. :-) Now it seems to work, no crashes so far... I will continue exploring this ;-) regards and thanks Ulrich Am 13.08.2014 um 08:48 schrieb Mateusz Viste mate...@viste.fr: On 08/13/2014 12:07 AM, Rugxulo wrote: Are you saying this is a bug in FD FDISK or VBox? Because as long as it's not FD FDISK getting inherently confused, you could maybe do a simple workaround: copy it to and run from RAM disk. Would that avoid the issue? Just curious. I have no idea, truly. FDISK 1.2.1 works. FDISK 1.3.1 doesn't. But as you know, this kind of problems is rarely black or white, so everything's possible. I think the best is to downgrade FDISK to v1.2.1 on FDNPKG repos. Will do this today. The v1.3.1 does print warnings about being unstable/beta version all over the screen, which might indicate it's not totally finished yet. Mateusz -- ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user -- ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] DOSMid - plays MIDI files on DOS via a MPU-401 interface
On Wed, Aug 13, 2014 at 4:45 PM, Jaroslav Beran jaroslav.be...@gmail.com wrote: Hello Mateusz, Back to the original question. If I understand well you dont plan to publish api as library. In my opinion it is quite pity because there is potential for reusing it in other projects. DOS doesn't *have* libraries in the Windows or Linux sense. The only way to do approximately what you want is what Mateusz appears to have done: write modular source code, so developers can pick the parts that are useful to them and add them to the code for their program when they build it. Jarda __ Dennis https://plus.google.com/u/0/105128793974319004519 -- ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user