DOS 2.41 -> are future versions necessary?

By snout

Ascended (15187)

snout's picture

04-03-2003, 23:31

Now the sources of the COMMAND2.41 patch are out in the open, everyone can try the patch and probably someone might pick up the sources and try to add even more functionality. Interesting things are still to come Wink

Ok, I know a bit about Grauw and his 'DOS3' project. Maybe this is the right thread for him to tell a bit more about that one as well.

Login or register to post comments

By BiFi

Enlighted (4348)

BiFi's picture

05-03-2003, 08:08

and use the source as a basis for a new command interpreter maybe?

By anonymous

incognito ergo sum (116)

anonymous's picture

05-03-2003, 17:09

MSX-DOS 2.4x takes up quite a bit of extra TPA memory. If I recall correctly it's about 1kB in relation to MSX-DOS 2.20 and about 512 bytes compared to MSX-DOS 1.3.

Since MSX-DOS 2 already reserves 32kB for itself in the two highest mapper pages, I believe this used up memory can be returned to the TPA for use in user programs.

By BiFi

Enlighted (4348)

BiFi's picture

05-03-2003, 18:24

I also think Command2 2.4x uses quite much TPA. It should be able now to change the structure a little to increase free TPA.

By Grauw

Ascended (10699)

Grauw's picture

05-03-2003, 19:56

DOS3 will be a multitasking OS, with a driver-structure. Direct I/O will not be allowed. DOS2 applications can be run in a 'DOS2 emulator' which basically just sets up the DOS3 environment in the same way as DOS2. DOS3 will be flexible enough for that. You don't have to be afraid of it becoming a difficult OS, you can use it in a similar way as DOS2 and program as if you're still working in a singletasking environment. Although sometimes allocating a device with no virtual devices-support might fail because another program is already using it. But alas, there's no helping to that Smile just do a little proper error handling.

As for the relation between COMMAND2.COM v2.41, it is a DOS2 application just like any other and doesn't perform any direct I/O (at least v2.31 doesn't), so it can run in DOS3 just like any other application. As a matter of fact, until I write DOS3's own shell (COMMAND3.COM ;p) I plan to use the DOS2 one. The DOS3 shell *will* be a little different from the DOS2 one, it will have more Windows NT-like behaviour (so DEL * will delete all files and not only the ones without extension), and I actually plan to remove the difference between files and directories as far as moving them etc. is concerned, although I'm not really sure about that yet.

Oh, and with all this talk about DOS3, er, at the moment I am not actively working on it because there is some other project demanding my attention, so don't start expecting it in the near future or anything.

~Grauw

By NYYRIKKI

Enlighted (6016)

NYYRIKKI's picture

13-03-2003, 00:28

MSX-DOS 2.4x takes up quite a bit of extra TPA memory. If I recall correctly it's about 1kB in relation to MSX-DOS 2.20 and about 512 bytes compared to MSX-DOS 1.3.

Since MSX-DOS 2 already reserves 32kB for itself in the two highest mapper pages, I believe this used up memory can be returned to the TPA for use in user programs.

I know this, but why amount of TPA is so important? If I have understanded correctly MSXDOS2.SYS will load COMMAND2.COM again, if the same TPA space is used. I know, that this might be fustrating for floppy users, but I don't believe that there are too many floppy users that are interested about DOS2.4x anyway.

Have I missed something important?

I have already did some research on DOS 2.41 code and I found out, that some space could be saved by adding FAT16 support (Yes, the new code is smaller Smile ) and removing not documented %NEWFILE[]% function.

Anyway there are also things that need to be added... Fix to ALIAS command will add one byte... I have also always wanted %PEEK[]% function, so that has to be added. DIR /S (sub dirs) would be nice and so on... Smile

I would also like to hear, if you have noticed any bugs, that needs to be corrected?

By snout

Ascended (15187)

snout's picture

13-03-2003, 00:35

Well, for instance, MSP (a midi player with a graphical analyzer) needs quite some TPA to work. It doesn't run on my turboR in DOS 2.41 :/

By NYYRIKKI

Enlighted (6016)

NYYRIKKI's picture

13-03-2003, 00:49

Hmm... Maybe I have then missed something... I always thought, that TPA space used by COMMAND2.COM is available for aplications, when they are loaded...

(Any informative links for me to read?)

~NYYRIKKI

By BiFi

Enlighted (4348)

BiFi's picture

13-03-2003, 12:46

Every COMMAND2.COM installs part of itself in the top of TPA. Version 2.4x of COMMAND2.COM is just too big (thus installing a bit too much in the top of TPA and making it a bit too small for some programs to work :/

By snout

Ascended (15187)

snout's picture

28-03-2003, 16:46

Maybe an option to free TPA memory by disabling extended features would come in handy

By BiFi

Enlighted (4348)

BiFi's picture

28-03-2003, 19:10

I was more thinking in the direction of moving the extra stuff to another place in memory, possibly sacrifising a bit of memory for either history or aliases. I don't think aliases and history don't need that full 16 KB it uses now.