Most of the tools (format, etc.) were written in C, but command.com, io.sys and msdos.sys were written in assembly. For me, ms-dos is just these three files and especially msdos.sys.
C is OK. C++ can be awful. It takes a lot of cpu to make the dynamic dispatch and memory allocation, since it's object-based. That's usually where the bottleneck lies. Ed. Le 26.05.2015 17:12, Steve Nickolas a écrit : > On Tue, 26 May 2015, Edouard Forler wrote: > >> If I can find some time to do it, I would like to investigate why it is >> slow. ms-dos was written in assembly until ms-dos 4, however they kept >> much of it after that and as I said, ms-dos 6.22 works much faster on an >> XT. Is freedos written in assembly as well ? > I believe it's almost entirely C, which could explain the lower > performance, although even MS-DOS 5 was mostly written in C. > > Heck, I've read that parts as early as 3.1 were mostly written in C. > > -uso. > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Freedos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-devel ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
