Board index » delphi » writing text to screen while in graphics mode
Nick
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
Nick
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
writing text to screen while in graphics mode
'lo all. I'm looking for code or a unit that to write text to the screen in
graphics mode. Anyone know where to find one? Thanks, |
The Scarlet Manu
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modeQuoteNick <soc...@mailroom.com> wrote: be useful. -- |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modeIn article <r8D15.121$OkW.14483...@news.randori.com>, QuoteNick <soc...@mailroom.com> wrote: and use normal methods. However, the VGA graphics screen is 80x30 characters so you need to set then windmax manually to access the 5 last rows. Osmo |
Nick
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modeHmm.... Well this is how I'm going into graphics mode (320x200 x256 MCGA): procedure SetMCGA; To use OutText, I would need to initialize the graph using InitGraph which Quote"Osmo Ronkanen" <ronka...@cc.helsinki.fi> wrote in message Quote> In article <r8D15.121$OkW.14483...@news.randori.com>, |
Frederic Bonro
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modeQuoteNick wrote: |
Osmo Ronkan
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modeIn article <bST15.134$mjY.2949...@news.randori.com>, QuoteNick <soc...@mailroom.com> wrote: graph mode services. You can either set the directvideo, or then simply draw the characters pixel by pixel: type words=record lo,hi:word; end; Procedure DrawChar(x,y,n:integer; p:pbyte; color:byte); type TVGAchar=array[0..15] of byte; Table=record case integer of const chartable:^Table=nil; Function FontPtr(n:byte):pointer; Procedure DrawString(x,y:integer; st:string; col:byte); I hope I got everything needed. That uses rather big, 8x16 font, If you want 8x8, change then set Osmo |
Nick
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modethanks a lot for your help!!!! Quote"Osmo Ronkanen" <ronka...@cc.helsinki.fi> wrote in message Quote> In article <bST15.134$mjY.2949...@news.randori.com>, |
Nick
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:writing text to screen while in graphics modethanks a lot for your help!!!! Quote"Osmo Ronkanen" <ronka...@cc.helsinki.fi> wrote in message Quote> In article <bST15.134$mjY.2949...@news.randori.com>, |
1. Writing to the screen in graphics mode
2. Writing to screen in graphics mode?
3. Protected mode - text screen reading and writing
4. Text mode vs graphics mode conflict (Help!)
5. Text mode - graphics mode conflict (Help!)
6. Need routine for printing the screen in graphics mode
7. Save Screen in Graphics mode