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,169 of 2,978    |
|    Samuel Fleischer to All    |
|    Re: detection of character-amount that f    |
|    09 Dec 04 19:49:56    |
      From: LiveSucks@hotmail.com              (Okay. I'm back on my own machine.        Ulrich didn't want me to post from his account and        canceled the previous message. So I hereby post        again)              I wrote:              > Is it possible to detect the amount of characters which fit       > into one line of the screen without using the CRT-unit              Thanks to all repliers. Your postings were a great help:              There were three solutions offered to the "problem":              1) Reading from the BIOS data area via "memw[$40:$4a];"        only in real-mode, on machines where "BIOSsing" is not        neglected.       2) Assembler, function 0F ad interrupt 10, delivers        result in AH (AH:=$0F; Int $10; result in AH), but only        in real-mode.       3) fastwrite-unit of Femme Verbeek              Either solution works good for my purpose of creating a       real-DOS-application.       As I also need to detect the video-mode and meanwhile       learned how to do this via interrupt 10 in assembler, I       tend to "solution 2".              Once more: Many thanks.              Sincerely              Sam              --- 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