Re: [Freedos-devel] RAM disk and task switching

2013-06-03 Thread dos386
> The right architecture might be > something like Windows does It's absurdly messy and bloated, but YES, they got the multitasking (mostly) ... > All the apps call for and use system resources > through calls to a common API not the firmware or BIOS Exactly. Just the API could be 100 times smal

Re: [Freedos-devel] RAM disk and task switching

2013-06-02 Thread Charles Belhumeur
I suspect the key good task switching is some of it falling on the OS and some of it on writing apps that "behave" properly or are adapted to the limits of the system. The right architecture might be something like Windows does. All the apps call for and use system resources through calls to a com

Re: [Freedos-devel] RAM disk and task switching

2013-06-01 Thread dos386
> Now the second point is if I remember the "stuff" correctly the > problem with DOS task switching is having the CPU start again in the > right place when a session was switched back into the DOS space The primary problem with multitasking is that you must care about clean rock-solid sharing of A

Re: [Freedos-devel] RAM disk and task switching

2013-05-30 Thread Rugxulo
Hi, On Thu, May 30, 2013 at 11:39 AM, Bernd Blaauw wrote: > > I'm not familiar with any DOS flavor of all that PAE/AWE stuff that > Windows allows for some 32bit drivers and programs. I'm not really a Windows dude, or at least I don't know much about its internals nor APIs. In case it wasn't obv

Re: [Freedos-devel] RAM disk and task switching

2013-05-30 Thread Rugxulo
Hi, On Thu, May 30, 2013 at 4:48 AM, Eric Auer wrote: > > On the other hand, if all your hardware is virtual > and you have lots of RAM, you can actually start a > number of totally independent DOS tasks in protected > mode. In other words, boot Linux and start as many > DOSEMU windows as you wan

Re: [Freedos-devel] RAM disk and task switching

2013-05-30 Thread Bernd Blaauw
Eric Auer schreef op 30-5-2013 11:48: > > Hi Charles, The simplest way for DOS in combination with a ramdisk might be: * compressed disk image file (4GB? 8GB?) with FreeDOS * use Grub4DOS (Chenall's version from reboot.pro site) to load the image above 4GB * image gets decompressed as harddisk, t

Re: [Freedos-devel] RAM disk and task switching

2013-05-30 Thread Eric Auer
Hi Charles, you have so much RAM on a modern machine, you can just as well allocate XMS or other memory whenever you feel like swapping out a task :-) No need to use a file on a ramdisk. Also, the latter has the extra complexity that you need DOS to access that disk, which already needs stabiliza

[Freedos-devel] RAM disk and task switching

2013-05-30 Thread Charles Belhumeur
OK now I'm done my app (mostly) I can think a little more about other things. This is my first try at initiating an email to everyone and not just replying. Should work I think. I may not have made the idea clear awhile back when I was talking about task switching in DOS and RAM disks. If I und