VGA 1024x768@60Hz signaling, 256x192 pixel @ 15bpp driver (32K colors)

Bill HenningBill Henning Posts: 6,445
edited 2013-03-24 - 01:16:07 in Propeller 2
Here is the VGA equivalent of the HDTV bitmapped driver I posted.

- 1024x768@60Hz VESA timing
- 256x192 bitmap
- 15 bits per pixel R5G5B5
- DE2-115 only, uses 96KB frame buffer starting at $08000
- trivial to change to 16 bit RGB, just change the mode
- starts another cog with the monitor
- you could use the monitor to load 15bpp images

Top left pixel is $08000, set Chip's monitor into word mode, and you can plot pixels by writing to the hub

This VGA version is 256x192 pixels (the HDTV version is 256x144 pixels)

DE0-Nano Notes:

- It actually runs on the DE0-Nano, showing three copies of $00000-$07FFF
- It cannot launch the monitor in a second cog as there is not one on the Nano

Enjoy :-)

Comments

  • potatoheadpotatohead Posts: 9,957
    edited 2013-03-22 - 23:22:35
    Bill, this displays great on my VGA.
  • Bill HenningBill Henning Posts: 6,445
    edited 2013-03-23 - 08:02:25
    Thanks potatohead!
    potatohead wrote: »
    Bill, this displays great on my VGA.
  • Cluso99Cluso99 Posts: 15,677
    edited 2013-03-23 - 10:37:03
    Nice work Bill. I have not had time to test any video modes yet :(
  • Bill HenningBill Henning Posts: 6,445
    edited 2013-03-23 - 11:19:56
    Thanks!

    I hope you have time soon, the video features of P2 are immensely superior to the P1 - very easy to use, extremely flexible.
    Cluso99 wrote: »
    Nice work Bill. I have not had time to test any video modes yet :(
  • Cluso99Cluso99 Posts: 15,677
    edited 2013-03-23 - 17:10:51
    I hope you have time soon, the video features of P2 are immensely superior to the P1 - very easy to use, extremely flexible.

    Yes, I can see that - it's simply mind-blowing!!!. I am leaving the video for you and others to experiment with.

    I have way too much other bits on my plate - debug and the spin interpreter ;)
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,570
    edited 2013-03-23 - 19:11:00
    re: It actually runs on the DE0-Nano, showing three copies of $00000-$07FFF

    Thanks Bill! . I ran it on my Acer 22" monitor.
    Prop_VGA_1024_R2.jpg
    1024 x 768 - 156K
  • Cluso99Cluso99 Posts: 15,677
    edited 2013-03-24 - 01:16:07
    Thanks for the pics Bob - they are impressive.
Sign In or Register to comment.