flat assembler
Message board for the users of flat assembler.
  
|  Index
      > DOS > Multithreading in DOS : the truth is out :-( Goto page Previous 1, 2 | 
| Is multithreading impossible in DOS ? | ||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||
| Total Votes : 15 | 
| Author | 
 | 
| revolution 23 Mar 2008, 13:32 Okay, but that stretches the meaning of multi-threading to the limits. Previously I would not have thought of that as any sort of threading. | |||
|  23 Mar 2008, 13:32 | 
 | 
| Borsuc 23 Mar 2008, 13:40 If you have a memory, and you have pointers, you can build a stack -- what's so special about the hardware stack (besides obvious speed or size optimizations)?
 so it isn't impossible at all | |||
|  23 Mar 2008, 13:40 | 
 | 
| revolution 23 Mar 2008, 13:45 The_Grey_Beast wrote: If you have a memory, and you have pointers, you can build a stack -- what's so special about the hardware stack (besides obvious speed or size optimizations)?  | |||
|  23 Mar 2008, 13:45 | 
 | 
| rugxulo 24 Mar 2008, 03:16 DOS386 wrote: 
 Eh? How is DR-DOS not DOS? Even DesqView should count as it's just a program. Win 3.x? Okay, maybe not pure DOS, but still .... DOS386 wrote: 
 1. I meant that creating 40 MB file isn't as useful as your other examples. 2. Yes, I see that.   3. No, it doesn't have to be that complex. You could integrate the progress thingy inside something small like xWCopy perhaps?? | |||
|  24 Mar 2008, 03:16 | 
 | 
| DOS386 24 Mar 2008, 08:22 > Eh? 
 There is no "eh". Note where I cut the quote. Dr-DOS is DOS, but I still don't like it's DREMMM386   > Win 3.x? Okay, maybe Very sure not   > 3. No, it doesn't have to be that complex. You could integrate > the progress thingy inside something small like XWCopy perhaps ? YES. FYI, I have been working on porting it to FASM that time. Did you do apply any changes except porting to NASM ? Last edited by DOS386 on 24 Mar 2008, 08:41; edited 1 time in total | |||
|  24 Mar 2008, 08:22 | 
 | 
| DOS386 24 Mar 2008, 08:38 > Also, why do you put "define pope pop"? Why not just use "pop reg" and
 > replace "pope" with "pop" in your code? But then I would have to "define pus push"   > Any system that supports interrupts can theoretically do multitasking, > just save state and jump to another thread or task when a certain interrupt occurs. Exactly. I've seen many attempts to do MTSK, but none of them was really good. Either do it well, or don't do it at all  | |||
|  24 Mar 2008, 08:38 | 
 | 
| rugxulo 24 Mar 2008, 20:44 DOS386 wrote: 
 Well, it originally was 386+ and yet used very very very little 386-specific instructions that I decided (with help of Eric Auer) to convert it to 8086. In fact, I had previously converted it to FASM, but for this version I chose NASM only because there's an old 16-bit NASM still available on SourceForge, and I figured some people (ahem, Trixter/8088 Corruption dude, who I also emailed) might want to tweak it. P.S. I actually used MCD's ONLY8086.INC in my 0.7 hack, but I had to manually work around some conditional jumps that were > 128 bytes away. However, then I discovered revolution's compatibility macros. And also, NASM "-O3" does the same thing. So, if it weren't for trying to be nice to potential 8086 developers, I would've definitely used FASM again. (For revolution's macros, you have to use ".086" explicitly for the jumps to be automagically tweaked.) | |||
|  24 Mar 2008, 20:44 | 
 | 
| Goto page  Previous  1, 2 < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.