Shop OBEX P1 Docs P2 Docs Learn Events
Help me VGA 512x384 driver — Parallax Forums

Help me VGA 512x384 driver

JLSJLS Posts: 76
edited 2012-08-15 07:11 in Propeller 1
Hi all

Is possible make simple implementation propeller VGA 512x384 driver ?

Please help me.

Many thanks Kamil

P.S. or is possible better resolution like 640x480 ?

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-08-05 18:33
    JLS wrote: »
    Is possible make simple implementation propeller VGA 512x384 driver ?

    The cheap way would be to add the vga512x384_bitmap.spin file to a C project and write a C driver that sets it up (there are some things in the vga512x384_bitmap.spin file that need to be modified so that parameters can be set at run time. The Spin start function directly changes things in the driver and the spin methods do not get run by the GCC program.
    JLS wrote: »
    P.S. or is possible better resolution like 640x480 ?

    Rendering 640x480 would take 2 COGs as far as I know. There may be some other driver that may work - I haven't kept up.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-08-05 19:49
    jazzed wrote:
    The cheap way would be to add the vga512x384_bitmap.spin file to a C project ...

    Even easier would be to use vga512x384_bitmap.spin with Spin. :)

    -Phil
  • jazzedjazzed Posts: 11,803
    edited 2012-08-05 20:01
    Even easier would be to use vga512x384_bitmap.spin with Spin. :)

    Ya. It's a crippled tile driver either way though.
  • JLSJLS Posts: 76
    edited 2012-08-06 01:05
    jazzed wrote: »
    The cheap way would be to add the vga512x384_bitmap.spin file to a C project and write a C driver that sets it up (there are some things in the vga512x384_bitmap.spin file that need to be modified so that parameters can be set at run time. The Spin start function directly changes things in the driver and the spin methods do not get run by the GCC program.

    Thanks info

    Rendering 640x480 would take 2 COGs as far as I know. There may be some other driver that may work - I haven't kept up.

    Do exist working example ?

    Very thanks Kamil
  • jazzedjazzed Posts: 11,803
    edited 2012-08-06 11:08
    JLS wrote: »
    Do exist working example ?

    Very thanks Kamil

    Not yet. Started something yesterday but ran into the the issue of SPIN function directly changing PASM code.
    But as mentioned it is a tile driver rather than a raster driver so that is a consideration. If you know the difference, no problem.
    I'll look at finishing an example today.
  • JLSJLS Posts: 76
    edited 2012-08-06 12:40
    jazzed wrote: »
    I'll look at finishing an example today.

    Thank you very much it would be good.

    Kamil
  • JLSJLS Posts: 76
    edited 2012-08-15 05:56
    Any news about 640x480 driver ?

    Very thanks help example.

    Kamil
  • jazzedjazzed Posts: 11,803
    edited 2012-08-15 07:11
    JLS wrote: »
    Any news about 640x480 driver ?

    Very thanks help example.

    Kamil

    Please forgive. I've been tied up.
Sign In or Register to comment.