Re: [Freedos-kernel] removing functions?

2015-02-09 Thread Roy
In Fri, 30 Jan 2015 17:03:08 +0800, Eric Auer e.a...@jpberlin.de wrote:


 Hi Roy,

 Is there any guide that can help on compiling custom kernel with  
 less-used
 function(for example, NLS functions) removed/stubified?

 Well FAT32 is a compile time option and I think RayeR made
 a slightly stripped kernel for his DOS in your flash BIOS
 chip micro... ehh... distro, but there is no one size fits
 all answer to your question. If you can make a list of the
 things you want to remove, then people on this list could
 tell you how much size difference it would make and how bad
 of a hack removing those functions would be :-) Note that
 you do not want to spend much effort for this: Most users
 have much bigger disks and with DOS extenders and already
 by simply having DOS=HIGH in the HMA, kernel size is not
 an issue anyway. Also, the FreeDOS kernel is designed to
 be nice and small compared to the big feature set... :-)

If I want to remove fdconfig.sys support, break, numlock, echo, switches,  
country, HLT idle, and menus in CONFIG.SYS options,
and hardcoded NLS page, and all NLS stuff(replaced with stub)

How much I can shrink?


 Regards, Eric



 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is  
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take  
 a
 look and join the conversation now. http://goparallel.sourceforge.net/


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] removing functions?

2015-01-30 Thread Eric Auer

Hi Roy,

 Is there any guide that can help on compiling custom kernel with less-used  
 function(for example, NLS functions) removed/stubified?

Well FAT32 is a compile time option and I think RayeR made
a slightly stripped kernel for his DOS in your flash BIOS
chip micro... ehh... distro, but there is no one size fits
all answer to your question. If you can make a list of the
things you want to remove, then people on this list could
tell you how much size difference it would make and how bad
of a hack removing those functions would be :-) Note that
you do not want to spend much effort for this: Most users
have much bigger disks and with DOS extenders and already
by simply having DOS=HIGH in the HMA, kernel size is not
an issue anyway. Also, the FreeDOS kernel is designed to
be nice and small compared to the big feature set... :-)

Regards, Eric



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel