Shop OBEX P1 Docs P2 Docs Learn Events
VGA 1024x768@60Hz signaling, 256x192 pixel @ 15bpp driver (32K colors) — Parallax Forums

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

Bill HenningBill Henning Posts: 6,445
edited 2013-03-24 01:16 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: 10,253
    edited 2013-03-22 23:22
    Bill, this displays great on my VGA.
  • Bill HenningBill Henning Posts: 6,445
    edited 2013-03-23 08:02
    Thanks potatohead!
    potatohead wrote: »
    Bill, this displays great on my VGA.
  • Cluso99Cluso99 Posts: 18,069
    edited 2013-03-23 10:37
    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
    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: 18,069
    edited 2013-03-23 17:10
    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,720
    edited 2013-03-23 19:11
    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: 18,069
    edited 2013-03-24 01:16
    Thanks for the pics Bob - they are impressive.
Sign In or Register to comment.