flat assembler
Message board for the users of flat assembler.

Index > DOS > simple multitasking in DOS via MT.COM

Author
Thread Post new topic Reply to topic
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 24 May 2007, 08:50
Hey, look what I found ...

Quote:

MT.COM is about 2 K in size and can run up to 8 DOS programs simultaneously. They are launched in a command line like this:

C:>MT prog1.exe [params for prog1] + prog2.com [params for prog2] ...

However, MT is not a DOS-based Windows. It is primarily designed to run programs with none or line-based screen output, typically measurement and control applications. Also, each program has to ensure that it does not request the whole memory, or at least free enough memory after start to let enough space for the other tasks. MT does no preemptive multitasking but relies on the fact that every program should check the keyboard status periodically (typically using BIOS function INT 16H with AH=1 to check if a key was pressed). The task switching is done during this call.


http://www.freedos.org/freedos/news/technote/172.html
http://www.shamrock.de/dostools.htm (German only)

The package includes some simple examples (including one for .ASM).
Post 24 May 2007, 08:50
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 05 Jun 2007, 00:02
And here's a simple (but functionally useless) example via screenshot. Smile


Description: simple example of what MT can do in DOS
Filesize: 3.74 KB
Viewed: 6872 Time(s)

mt_example.png


Post 05 Jun 2007, 00:02
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 15 Jun 2007, 02:43
If done correctly, you could easily write / tweak utils that would operate with this:


  • format floppy
  • copy or move files (small like this but better and FOSS)
  • search for files (within archives or otherwise)
  • assemble or compile your sources
  • anything else


Am I the only one intrigued?? Shocked
Post 15 Jun 2007, 02:43
View user's profile Send private message Visit poster's website Reply with quote
cpcdos



Joined: 12 Aug 2013
Posts: 8
cpcdos 15 Aug 2013, 12:58
I not found this program on web, you still have it? Smile
Post 15 Aug 2013, 12:58
View user's profile Send private message Send e-mail Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.