home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,012 of 2,978   
   William J. Leary Jr. to All   
   Re: cooperative multitasking: how to dea   
   11 Jan 06 08:20:11   
   
   From: Bill_Leary@msn.com   
      
   "Ether Jones"  wrote in message   
   news:1136957207.184057.179160@g44g2000cwa.googlegroups.com...   
   > Bill wrote:   
   >> I solved the problem by writing a new Text Device Driver for   
   >> the console which made BIOS calls in my replacement for InOut   
   >> so it would check for a character before doing input..  If there   
   >> was no character, it dispatched to the MTASK scheduler and,   
   >> upon return, tried again.  If there was one, it picked it up and   
   >> returned it.   
   >   
   > Sounds like exactly what I want.  Do you have the code squirreled away   
   > somewhere?  Would you be willing to post it?   
      
   Those were the days of backups to floppies.  And they were used in rotation.   
   So, no, it's not backed up anywhere.  You should probably try some of the old   
   share sites (perhaps Simtel) to see if the one I mentioned which worked like   
   mine is out there anywhere.   
      
   >> In my case, I just made sure only one task did I/O   
   >   
   > Right.  That's what I was planning on doing.  It is not a major   
   > inconvenience for what I want to do.   
      
   In practice, it actually had some advantages, at least in my case.  I could   
   have one task to line processing and so forth then dump the line into a buffer   
   where it would be picked up by the task which wanted it.   
      
       - Bill   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca