Board index » delphi » HELP IN TP Programming
Henry Ta
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
HELP IN TP ProgrammingI am fixing to make a text reader programing running under dos/v Thanks in advance, |
Henry Ta
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
HELP IN TP ProgrammingI am fixing to make a text reader programing running under dos/v Thanks in advance, |
Victor Do
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuoteHenry Tang (T...@why.net) wrote: : (Japanese Dos) If you know, Japanese Dos runs under a 640x480 pixel : screen; therefore normal text reader with the screen size of 80x25 : characters will not work under dos/v. So, in order to make a dos/v : text reader I have to set up a TEXTMODE screen that is equvalent to : 640 x 480 pixel screen. I am currently using TP 5.5 and it does not : have a text mode that suports 640x480, like VGA. Is there a text mode : that goes beyond 80 x 25 characters? If so how is it accomplished? : Thanks in advance, there is a way to get into 640x480x256, asm if 002eh doesn't work, just try values like 002fh and so on.. |
Henry Ta
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuotemang...@netcom.com (Victor Dods) wrote: -->: 640 x 480 pixel screen. I am currently using TP 5.5 and it does not -->: have a text mode that suports 640x480, like VGA. Is there a text mode -->: that goes beyond 80 x 25 characters? If so how is it accomplished? --> --> -->asm --> mov ax,002eh --> int 10h -->end; --> -->if 002eh doesn't work, just try values like 002fh and so on.. -->victor dods --> I tried implementing the asm codes by putting it right after BEGIN ... This asm code clears the screen and sometime acts like the DIR -Henry RELOadEVerYTimeYouVIsitBeCAUSEmyPAgeSAreUpDatedOfTEn |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingIn article <mangledDqpF1E....@netcom.com>, QuoteVictor Dods <mang...@netcom.com> wrote: monitor. A proper solution is to find proper documentation. Osmo |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuoteIn article <3186ae15.5188...@news.why.net>, Henry Tang <T...@why.net> wrote: 480. Quote>Is there a text mode lines instead of the normal 400 so that you can define a character set that you can use a font with 19 scan lines to get 80x25 display? Or do you want a normal text mode that has greater resolution than 80 x Osmo |
Scott F. Earne
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuoteIn article <4mfa64$...@kruuna.helsinki.fi> ronka...@cc.helsinki.fi (Osmo Ronkanen) writes: your system locks and reboots. Most monitors anymore have circuitry that keeps it from trying to sync at any rate outside its supported range, so damage is unlikely. Probably the only hardware that could be damaged by this is anything really old, or systems that used fixed-frequency hardware. Yes, looking at the documentation for the video card is probably one of the If your card supports VESA (or if you've installed a driver such as UNIVBE), asm OEM_mode := mem[$0040:$0049]; This byte usually contains the current 8-bit mode number on any properly Also, some good texts to read: The VESA 1.2 specification. There is also a version 2.0 specification VGADOC4B.ZIP. A collection of text files on a wide range of different video Quote>Osmo Scott F. Earnest | We now return you to our regularly scheduled sc...@whiplash.res.cmu.edu | chaos and mayhem. . . . |
Scott F. Earne
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuoteIn article <4mfb21$...@kruuna.helsinki.fi> ronka...@cc.helsinki.fi (Osmo Ronkanen) writes: Quote>>Is there a text mode 80x28, 80x29, 80x35, 80x43, 80x50, 80x60, 132x25, 132x43, 132x50, and 132x60 -- and there may be others that I can't think of. Some of these are supported by the VESA BIOS, some are directly supported, and some are done by tweaking the character generator. Pick one and I can tell you how to get it. Quote>What do you want exactly? Do you want a text mode that uses 480 scan it might be possible by playing with the registers. Standard VGA supports 200 scan lines (CGA compatibility), 350 scan lines (EGA compatibility), and 400 scan lines, selectable through the BIOS. Quote>Or do you want a normal text mode that has greater resolution than 80 x Scott F. Earnest | We now return you to our regularly scheduled sc...@whiplash.res.cmu.edu | chaos and mayhem. . . . |
Victor Do
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuoteOsmo Ronkanen (ronka...@cc.helsinki.fi) wrote: : Victor Dods <mang...@netcom.com> wrote: : > : >there is a way to get into 640x480x256, : > : >asm : > mov ax,002eh : > int 10h : >end; : > : >if 002eh doesn't work, just try values like 002fh and so on.. : >victor dods : > : Bad advise. Playing randomly with video modes could at worst destroy the : Osmo hmm.. well, when i did it, it went to 640x480x256.. i use 0013h (instead victor dods |
Scott F. Earne
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:HELP IN TP ProgrammingQuoteIn article <mangledDqwquu....@netcom.com> mang...@netcom.com (Victor Dods) writes: to why this doesn't necessarily work. Also, this is a good case that shows what happens when enough t{*word*220} is done to lose context. The original poster needs a way to get a high enough resolution for text greater than the normal 80x25. Mode 13h is far too coarse for the application, and doesn't approach a solution. Quote>victor dods Scott F. Earnest | We now return you to our regularly scheduled sc...@whiplash.res.cmu.edu | chaos and mayhem. . . . |
1. Help...converting TP program to Delphi program (newbie)
2. tp-gls.zip Generalized least squares TP program
3. Need help to improve a program in TP
4. HELP: running a TP program under Mac emulator
5. CGI programming in TP 6.0, please help
6. Help: adapting graphics from TP DOS to TP Windows
7. free ! graphical hanoi tower TP program here, and other free TP program.
8. TP for DOS-program not running on XP