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 1,604 of 2,978   
   Jens Müller to prino@bigfoot.com   
   Re: source of Pedt Scraggs CRT-replaceme   
   23 May 05 15:21:27   
   
   From: nospam@nospam.invalid   
      
    wrote:   
      
   > Jens Müller wrote:   
   > > Is there a download-link in the WWW for legally obtaining   
   > > the source-code of Pedt Scraggs replacement CRT-unit ?   
   >   
   > No. However, if you have the original Borland sources, you can use   
   > William Peavy's TWU1 (on Garbo) to disassemble the TP6 unit or INTRFC70   
   > (also on Garbo) to have a look at the TP/BP7 internals.   
   >   
   > What do you want to know about it?   
      
   - I want to know how screen-writing is done in that unit. (You have the   
     choice between BIOS and direct video-memory-writing via setting   
     the directvideo-variable accordingly. But in neither case you can   
     e.g. write an ASCII#13-char to the screen or write to the last column   
     of the screen without getting an automated line-break/line-shift if it is   
     the last line of screen...) Of course I could easily implement some direct   
     or BIOS screen-writing-routine on my own, but why should I if there   
     already existed something in some CRT-internally-used sub-routine?   
      
   - I also want to know at which place the screenmode will be saved in the   
     lastmode-variable the first time. I experienced that when initializing   
     Borland Pascal 7.01's CRT-unit the first time, screen-mode gets changed   
     to some coloured 80x25 without saving the previous mode. DOS-shell will   
     not restore the screen-mode when program exits, so I want my program   
     to do that. Here the same: A routine for saving the screen-mode could   
     easily be implemented but why should one do so if it already existed...   
      
   - I want to know how AssignCRT works as I want to make output-redirection   
     possible under the condition that the program is called with the /?-option   
     and thus is not executed but shows the help-screen. The help-screen -when   
     being displayed on screen- shall be broken in lines according to   
     screen-width but shall be broken in lines à 65 characters when beeing   
     redirected to file... [I think I need to toggle between assigncrt(output);   
     and assign(output,'');].   
      
   > NB: Wrong group, follow-up set to c.l.p.borland.   
      
   Thanks a lot for pointing this out.   
      
   Sincerely   
      
   Jens   
      
   --- 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