Archive for the 'Propeller' Category

256 color per pixel 256×192 driver released!

Thursday, October 22nd, 2009

Hi!

I have just uploaded the preliminary release of the 256 color per pixel 256×192 driver - you can find it on the Downloads page.

The driver uses XGA timing, and your monitor must support a 41Khz Hsync and 51Hz Vsync for you to be able to use the driver.

The following functions are currently supported in the new QXGA 256 driver:

PUB Config(drawscreenaddr,xres,yres,bitsperpix)
PUB WaitMS(n)
PUB PlotC(x,y,cl)
PUB Plot(x,y)
PUB Pen(c)
PUB Cls(c)
PUB Hline(xsrc,ysrc,xtwo)
PUB Line(x0,y0,x1,y1)
PUB DrawRect(x,y,w,h)
PUB FilledRect(x,y,w,h)
PUB DrawCircle(x,y,r)
PUB FilledCircle(x,y,r)

The following functions are present for compatibility with my other drivers, but they don’t do anything as this mode does not use palettes!

PUB SetPalette(y,c,r,g,b)
PUB SetPaletteRange(y1,y2,c,r,g,b)
PUB FillPalette(c,r,g,b)

The following functions are not available yet, I need to write a new pasm putchar routine:

PUB PutChar(xsrc,ysrc,ch)
PUB PutStr(xsrc,ysrc,strptr)
PUB PutBytes(xsrc,ysrc,bptr,bsiz)

Enjoy!

Bill

XGA fix

Tuesday, October 20th, 2009

Fixed a minor multi-legged creature in the XGA sync generation - it would only have affected a few monitors, but hey, a bug is a bug, and needs squashing.

I also fixed a bug in the palette demo for XGA. You can always find my latest drivers on the Downloads page.

Improved drivers

Tuesday, October 20th, 2009

I managed to shave seven instructions from the plot pixel routine, so I updated the VGA/SVGA/XGA drivers and the Life demo.

As usual, you can find the new drivers on the downloads page :-)

Drivers updated, bad 74HC139’s

Tuesday, October 13th, 2009

I’ve updated all three drivers (VGA, SVGA and XGA) as well as the Life demo - you can find the new versions on the Downloads page.

The update is only needed for people who are running Morpheus with a Mem+ board, and was needed to allow for longer switching times between READ and WRITE and ALE commands in plotpixel.

I have also found that I had some 74HC139 chips that were not fast enough for Morpheus - if you see a vertical bar about 1/4 to 1/3rd of the way across the screen you likely need a new, faster, 74HC139.

If you purchased a full kit from me and have an affected part (series P9712AH, MM74HC139N or MC74HC139N) that exhibits this problem, please send me an email and I will send you an STMicro 74HC139 which does not exhibit this issue.

Palette handling added to XGA object!

Tuesday, September 22nd, 2009

I’ve updated my XGA driver and Demo1 with the Palette handling code!

Now all three drivers (VGA, SVGA, XGA) have the same palette handling code and demo.

On the downloads page, as usual. Enjoy!