|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
Pre-presentation of a project
Email slow, clunky, unreliable? Switch to Yahoo!Xtra Mail, New Zealand's new email address. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a project> I was trying not to present it until it consists of a significant > running piece of code, because I don't want it to sound "virtual" I know what you're talking about here. > I know that the main objective in FreeDOS is to provide a working > classical DOS environment and not to turn into "something else". I do > not intend to go against that aim. However, I do believe that there are > some important points that do not have any support within classical DOS > at all and for which a standard should be implemented. I am trying to > supply that standard in a way that will not "collide" with classical > DOS, that is, the same code will run the same way, but applications will > have the option to also rely on a driver and some modules. Please don't restrict your project just because some people might not like it, thank you. > I have been asking questions here to implement two of these modules > (namely Unicode support [or "Code-1 module"] and a new native DOS sound > interface [or "CPOS/NSS"]). The driver ("CPOS") would be loading a "main > module" into conventional memory that would dispatch functions and > separate them in "knots", each of which would redirect to a "child > module". These modules can be programmed separately, but I would like to > create at least two if them to be presented together with the main one > as the first issue of CPOS. What does the Unicode support do? What tables or services are provided by it? > The purpose is not only about supporting these items, but about doing > it in a way that can easily be implemented from different software and > hardware platforms and still satisfy the standard. This would mean that, > for example, one single guy might come up creating his own small > operating system somewhere, without any support from anybody and decide > to follow the CPOS standard. If he does so, he would be able, after a > few modifications in the source code, to recompile modules already made > for another OS and use them in his, so he would have, say, sound support > in his OS without having to research and program everything himself. > Additionally, if he would develop a module for, say, DVD burning, > FreeDOS could use his source and recompile it so that it could be loaded > and hooked at a knot in DOS/CPOS. In other words, all hobbists in OS > would be able to cooperate and still we would have diversity, because > each OS would use their own method to provide CPOS. And in what language do you implement CPOS? I mean, is it restricted to 386 architectures (i.e. Assembly)? > In particular, for FreeDOS, I have been thinking this could be > applied on a real mode interrupt (maybe 2Bh, but could also be 50h) with > the parameters passed as registers, as it is usual in DOS, but other > ways could be used instead. If you search a real mode interrupt, you might consider providing your interface on Int2D and following the Alternat(iv)e Multiplex Interrupt Specification (AMIS). This often provides other TSRs and your driver with the possibility to remove the TSR, and Int2D isn't used by something else. The most recent AMIS can be found inside the RBIL; read the descriptions of the Int2D functions. Regards, Christian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a project
Email slow, clunky, unreliable? Switch to Yahoo!Xtra Mail, New Zealand's new email address. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a projectLucas: sorry for the off-topic, but for some reason, GMail always puts your letters to SPAM. I don't know why, but it's possible it doesn't like your e-mail service, or finds suspicious samples in your mails. If you can, please try to do something about it.
And again, sorry for the off. I send it publically, because others might suffer the same thing, and maybe there is a clever person on the list who knows the reason, why are your e-mails go into spam, and can help you out. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a project> The reason why I've been considering a brand new interrupt is because
> the driver is not supposed to be single-purposed. This does not convince me. > What I want to create is a new standard interface where support for new > features can be hooked in a very tidy and organised way. I think we > can't just keep on adding functions to the int 21h, because ... almost all functions are already used and really, assigning fixed function numbers is no way to go anymore. But anyway, we didn't talk about Int21. > although I know of AMIS and I find it very flexible and useful, the > interface is again to big to be put inside an already multiplexed system. What do you mean here? Do you think there aren't enough available functions? Then pass the function number in other registers (besides ax) too. Or do you mean it won't be fast enough to call all functions through Int2D ? Then let applications request your real entry point with an AMIS function on Int2D and provide your own interface at this address. I don't see why you have to allocate another fixed interrupt for this. > I thought of ints 2Bh and 2Ch Int2C has been used by Cloaking, kind of a DOS extender. > within the range of the DOS interrupts and the driver would be a field > on which to extend DOS, but it could also be done with other interrupts. Basically, it doesn't matter. Packet drivers and EMM386 use interrupts >60h and yet they're considered DOS extensions. > This spec has a list of general functions and general parameters which > is independent from software and hardware. Consider passing a request structure to the interface then. Opposed to specifying interrupts to be called and registers to be used, this could easily be adapted for other architectures. > I could create > patches to replace these drivers and take the output to the new module. > DOS would have sound again... always, and without need of port emulation. Except with existing programs that directly access the hardware and don't use any of these specifications. Regards, Christian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a projectI want to react to part about the sound system.
I also strongly advocate Miles sound system in various discussions about DOS sound interface. It is modular, many programs and games support it and new drivers for new PCI and integrated cards can be written for it. The DigPak/MidPak more or less only different name for DOS part of Miles sound system. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
|
|
|
|
Re: Pre-presentation of a projectLadislav,
I agree. Miles is probably the most common sound interface ever used in DOS and no other so far could be called a "standard". There is also HMI who is pretty common as well, but I know very little about. Mr. Miles has been very attentive in answering my e-mails. He explained me that the MSS no longer belongs to him and that most of the information, he is unable to disclose, but that if he may be able to help, he'll get me what he can. He also answered many of my questions. Of course, MSS is totally commercial, but I want to point out how important it is to put attention to how it works. My approach, so far, as regards the Miles Sound System, is only to build a patch... a half-driver that can be placed where applications expect to find the MSS, and which will redirect the output to the actual sound driver. In the spec I'm developing, I've called the main driver "dimi-driver" and the patch "teri-driver". I also refer to theoretical emulation drivers as "semi-drivers", that would also redirect the output to the dimi-driver, although I am not thinking of developing one. These names are arbitrary and chosen only for the sound of the words (except "Dimi", which is my cat's name, he, he). Although the teri-driver development is something I'm desperate to work upon, I am conscious on how important it is to leave such task for the moment that at least one dimi-driver is ready. I'm currently working on the main CPOS interface, where the NSS module (a dimi-driver) and the Code-1 module (Unicode support) are going to be hooked. I have been modifying some things I've realised that are not good as I originally planned them. Lucas --- On Mon, 2/11/09, Ladislav Lacina <laaca@...> wrote: > From: Ladislav Lacina <laaca@...> > Subject: Re: [Freedos-devel] Pre-presentation of a project > To: freedos-devel@... > Received: Monday, 2 November, 2009, 10:31 PM > I want to react to part about the > sound system.. > I also strongly advocate Miles sound system in various > discussions about DOS sound interface. It is modular, many > programs and games support it and new drivers for new PCI > and integrated cards can be written for it. > The DigPak/MidPak more or less only different name > for DOS part of Miles sound system. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference > in SF, CA > is the only developer event you need to attend this year. > Jumpstart your > developing skills, take BlackBerry mobile applications to > market and stay > ahead of the curve. Join us from November 9 - 12, 2009. > Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Freedos-devel mailing list > Freedos-devel@... > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a projectChristian,
As I said, how the interface works particularly for FreeDOS is arbitrary, and interrupt 2Bh was only a suggestion. I agree that saving a whole interrupt for what now is just one project is kind of selfish. There are plenty of solutions to this. Just as you reply, it could also be slow to handle the services inside AMIS and passing the direct address would be much better. The main information about the driver and the setup could be handled by the AMIS interface, though. I believe passing the parameters in memory would also slow down considerably for functions that need to be called repeatedly in brief periods of time and that's why I think registers could be better. However, my spec does already support an alternative way to pass parameters (that I called "parameter transfer gate"), so both things can actually be done. I'm thinking that I can perfectly get an interrupt, without having to reserve one. That is, a function under AMIS could tell the driver to get hooked at a certain interrupt chosen by the caller. This would be more comfortable for the high-level programmer than having to call an absolute address. When I said "already multiplexed", I meant that my driver is itself a multiplexed system, because it can load and unload modules and manage their functions. The modules are not TSRs that have to load on top and create a chain, but instead, are dynamic and are called in parallel. Their codes are never executed unless a specific function is invoked and the modules only remain in memory while in use. About sound. Yes, programmes that do not use a third party sound system and go straight to the ports have no other way to support new cards than through a port emulation or by being modified. If the application supports AdLib, however, it is very easy to locate in the code, the points where the ports are accessed. It would not be hard work to redirect this code to the driver. Anyway, I don't think that is necessary. The reason is that old DOS applications that use sound can be divided in games and non-games: oldest games are the ones that do not use 3rd party drivers, but the easiest to modify and most support PC speaker anyway. For non-games, it is not important to maintain sound support, unless they are sound players or stuff like that, in which case, we can create new and better ones now (for a non-game, no "nostalgia" :P, no need for it to be "the same"). Lucas --- On Mon, 2/11/09, Christian Masloch <cm@...> wrote: > From: Christian Masloch <cm@...> > Subject: Re: [Freedos-devel] Pre-presentation of a project > To: freedos-devel@... > Received: Monday, 2 November, 2009, 3:02 PM > > The reason why I've > been considering a brand new interrupt is because > > the driver is not supposed to be single-purposed. > > This does not convince me. > > > What I want to create is a new standard interface > where support for new > > features can be hooked in a very tidy and organised > way. I think we > > can't just keep on adding functions to the int 21h, > because > > ... almost all functions are already used and really, > assigning fixed > function numbers is no way to go anymore. But anyway, we > didn't talk about > Int21. > > > although I know of AMIS and I find it very flexible > and useful, the > > interface is again to big to be put inside an already > multiplexed system. > > What do you mean here? Do you think there aren't enough > available > functions? Then pass the function number in other registers > (besides ax) > too. Or do you mean it won't be fast enough to call all > functions through > Int2D ? Then let applications request your real entry point > with an AMIS > function on Int2D and provide your own interface at this > address. I don't > see why you have to allocate another fixed interrupt for > this. > > > I thought of ints 2Bh and 2Ch > > Int2C has been used by Cloaking, kind of a DOS extender. > > > within the range of the DOS interrupts and the driver > would be a field > > on which to extend DOS, but it could also be done with > other interrupts. > > Basically, it doesn't matter. Packet drivers and EMM386 use > interrupts > >60h and yet they're considered DOS extensions. > > > This spec has a list of general functions and general > parameters which > > is independent from software and hardware. > > Consider passing a request structure to the interface then. > Opposed to > specifying interrupts to be called and registers to be > used, this could > easily be adapted for other architectures. > > > I could create > > patches to replace these drivers and take the > output to the new module. > > DOS would have sound again... always, and without need > of port emulation. > > Except with existing programs that directly access the > hardware and don't > use any of these specifications. > > Regards, > Christian > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference > in SF, CA > is the only developer event you need to attend this year. > Jumpstart your > developing skills, take BlackBerry mobile applications to > market and stay > ahead of the curve. Join us from November 9 - 12, 2009. > Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Freedos-devel mailing list > Freedos-devel@... > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a project> I'm thinking that I can perfectly get an interrupt, without having to
> reserve one. That is, a function under AMIS could tell the driver to get > hooked at a certain interrupt chosen by the caller. This would be more > comfortable for the high-level programmer than having to call an > absolute address. No. It might be more comfortable for a low-level (i.e., Assembly) programmer. It doesn't make a difference in high-level languages. Also, the caller would have to find a free interrupt at run time, which might create new problems. > When I said "already multiplexed", I meant that my driver is itself a > multiplexed system, because it can load and unload modules and manage > their functions. Okay. > The modules are not TSRs that have to load on top and create a chain, > but instead, are dynamic Which is different from TSRs in what way? TSRs don't have to be restricted to load in a specified order. > and are called in parallel. Do you mean they're called in the background? What does "parallel" mean here? > Their codes are never executed unless a specific function is invoked and > the modules only remain in memory while in use. So you have to load them from the disk when they're requested? I don't object to this approach generally, but keep in mind that loading files must happen in the foreground. > Anyway, I don't think that is necessary. The reason is that old DOS > applications that use sound can be divided in games and non-games: > oldest games are the ones that do not use 3rd party drivers, but the > easiest to modify and most support PC speaker anyway. If the game supports SB or AdLib sound, the PC speaker output won't be as good as the SB/AdLib one. About patching old games: Maybe you're right about this and it'll work for most games. Either way, I'm looking forward to an implementation of this architecture. Regards, Christian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
|
|
|
|
Re: Pre-presentation of a project> I'd better put up the code. I don't want to be all theory up here.
I'm fine with theoretical discussions. > Even though you first said I shouldn't change my project just because > some people may not like it, and I agree, I also believe it is very > important to check with you guys and to be constructively criticised > here. Well, it should certainly be your decision. No matter what, some people (possibly including me) won't like it. If you prefer things I don't like, please don't change them just to satisfy me. > Of course, the main module is itself a TSR and TSRs could perfectly > work in this fashion, but it is not what usually happens. I normally see > new code hooking up an interrupt, making a function ID comparison at the > beginning and jumping to the old handler if this is not the function it > is interested in. This generates a slow serial chain of handlers. I want > to avoid that. Your interface (as I understand it) isn't that different. Somewhere you have to dispatch into different modules. > OK. I'll work on the AMIS interface for the first implementation of > the main module. I'll post it when I have it and then start the Code-1 > and NSS. If you're interested, I could send you descriptions and example source of some TSRs and AMIS implementations that I worked out with Bret. This TSR installation method always allows the program to install its resident part into the best location. Installation into a UMB works without LOADHIGH. The deinstallation method allows to remove the TSR even if other TSRs were installed later depending on the type of these TSRs. Regards, Christian ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
|
|
|
Re: Pre-presentation of a projectChristian,
Thanks again. > > Your interface (as I understand it) isn't that different. > Somewhere you > have to dispatch into different modules. > Yeah, but I don't do it sequentially, but using a lookup table. Anyway, I've just been putting deeper attention to AMIS and I realised that I can actually do this thing under AMIS as well. Although the AMIS interface itself would not handle it, my TSR can do it.. The interface I was suggesting would manage the modules completely, so each module would not need to have code for administration purposes at all... however, this is not a drawback unless there are really many things loaded together in AMIS at the same time. > > If you're interested, I could send you descriptions and > example source of > some TSRs and AMIS implementations that I worked out with > Bret. This TSR > installation method always allows the program to install > its resident part > into the best location. Installation into a UMB works > without LOADHIGH. > The deinstallation method allows to remove the TSR even if > other TSRs were > installed later depending on the type of these TSRs. > That would be very useful. Thanks. I have been fighting trying to get the two systems work together, but I believe it is actually to messy and unnecessary. I will start the development only under the AMIS interface for now, so I don't waste time with the multiplexing scheme and go directly to the kicks. As I was saying before, to make it more comfortable and faster, I will try to put everything in registers, but still I will enable a function so that parameters can also be passed in a memory block. Do you reckon it will be OK if I use 32bit registers to pass parameters with the AMIS interface? Lucas ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freedos-devel mailing list Freedos-devel@... https://lists.sourceforge.net/lists/listinfo/freedos-devel |
| Free embeddable forum powered by Nabble | Forum Help |