Shop OBEX P1 Docs P2 Docs Learn Events
VGA_hires_text_demo — Parallax Forums

VGA_hires_text_demo

NewzedNewzed Posts: 2,503
edited 2006-07-24 18:16 in Propeller 1
On the subject demo, how do you change the VGA mode to get larger letters?

Thanks

Sid

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2006-07-22 21:06
    If you look at the comments at the beginning of the vga_hires_text driver, there are 3 blocks of constant declarations, one for 1024x768, one for 800x600, and one for 640x480 pixels. There is a comment delimiter "{" at the beginning of each block and "}" at the end of each block and, in the case of one of the blocks, these are commented out with "'" so that the declarations are actually processed. Change which block of constants are used from the 1024x768 to one of the others. That will make the pixels larger, but reduce the width of the lines and the number of lines displayed. [noparse][[/noparse]There ain't no such thing as a free lunch!].
    The demo program references the constants in the driver, so it should adjust itself accordingly.
  • NewzedNewzed Posts: 2,503
    edited 2006-07-22 21:19
    Thanks, Mike.· I figured that out while I was waiting for some one to answer my post.· Could you create a set of parameters that would give a 320x240 resolution?· I tried, but some of them just elude me.· I'm trying to get something about half the size and twice the rows that I get with vga_text.

    Fine-tuned my SuperMill yesterday, and today I made a little double sided board that turned out quite well.· We're getting there!

    Sid
  • NewzedNewzed Posts: 2,503
    edited 2006-07-24 16:40
    Mike, have you had time to do anything about the 320x240 resolution parameters?

    Sid
  • Mike GreenMike Green Posts: 23,101
    edited 2006-07-24 16:56
    No, I don't plan to. 640 x 480 is about the lowest resolution that I want to use with a VGA display. In fact, I'm not sure you could get any VGA display to accept 320 x 240 resolution. I think what you're asking for is double size characters and that would take rewriting the hires vga driver. Is there some reason why you couldn't use video instead and the tv_text driver? That would give you 40 cols x 13 rows and would sure look big on a good size screen. It would also give you much better control of color.
  • Mike GreenMike Green Posts: 23,101
    edited 2006-07-24 16:57
    What about the vga_text driver? That does large characters on a VGA display and is compatible with the tv_text driver.
  • NewzedNewzed Posts: 2,503
    edited 2006-07-24 18:16
    Mike, I am using the vga_text in my current program.· I was just hoping for text a bit smaller so i could get more data on the screen.· When I'm in Autorun, there is a lot of data to display.· Don't worry about it - I can live with what I've got.

    Thanks anyway

    Sid
Sign In or Register to comment.