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,455 of 2,978   
   Marco van de Voort to HubbleBubble   
   Re: Some miscellaneous pascal esoterica   
   24 May 07 21:17:35   
   
   From: marcov@stack.nl   
      
   On 2007-05-23, HubbleBubble  wrote:   
   >        }   
   >   
   >  2. I've written a couple of direct dos file routines in asm. Ya know   
   > the standard create, open, read, write stuff which work fine.   
   > One thing that I can't figure out is the text vs binary thing.   
   > As you know in dos a file handle is just an integer. Presumably this   
   > points to an internal record of type file or does the user need to   
   > optionally supply a pointer to a file structure?. Is the text record   
   > structure part of dos or is it handled entirely by pascal?.   
      
   Pascal. It contains handle, a buffer, and function pointers for the main   
   routines of the Pascal stdio. (so that different files can have different   
   handlers)   
      
   > 3. Why doesn't everyone just program in dos 'unreal' flatmode ?   
      
   Short answer: Because dos is pretty much dead.   
      
   Better answer: unreal only helps from the view of a single program. If you   
   have multiple programs, where do you put the second it so that it has the   
   same advantages as the first? (iow always load at the same address, linear   
   access to all ram in one continuous block)   
      
   Keep in mind that unreal is just a hack to simplify protected mode. In   
   32-bit protected mode, the application has a full address space for itself   
   in thoery.   
      
   > Although some argue that the swag bbs concept has been superceeded by   
   > the internet I don't agree. It think it would be great to be able to   
   > submit swags via a website and receive packets by e-mail for home   
   > viewing and also be able to discuss them on a message board.  The   
   > concept could be widened to include for other pascal dialects and   
   > languages.   
      
   Nearly any swag like initiative would be good. But to find, select and   
   categorise large amounts of snippets that really add to swag is a lot of   
   work. And the numbers of programmers DOS are somewhat in decline compared to   
   SWAG days.   
      
   --- 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