PAL/NTSC/Interlaced/Non-interlaced Composite/Component driver
Baggers
Posts: 3,019
Hi all,
You're only allowed 10 attachments to a post, so I couldn't put this on my drivers thread's first post.
So here is my latest driver
PAL, NTSC, Interlaced or Non-interlaced Composite driver.
It's 8bit at the moment, but I shall work on a 24bit SDRAM version next.
You can set the bitmap size to any, and up to the full 720x576 for PAL, and 720x480 for NTSC.
Let me know if you find this useful
PAL_NTSC.zip
In the zip is a batch file r.bat, which uses P2Load.exe to load a bitmap to $8000 and palette to $7c00 then the run the P2_PAL_NTSC.obj
It is displayed on Composite from DAC0 ( Pin0 )
Here's the SDRAM SlideShow demo including source.
http://www.jimbagley.co.uk/P2_SDRAM_SLIDESHOW.zip
Here's the updated PAL/NTSC timings, and also has component option
P2_SDRAM_TV_Driver.spin
Enjoy!
You're only allowed 10 attachments to a post, so I couldn't put this on my drivers thread's first post.
So here is my latest driver
PAL, NTSC, Interlaced or Non-interlaced Composite driver.
It's 8bit at the moment, but I shall work on a 24bit SDRAM version next.
You can set the bitmap size to any, and up to the full 720x576 for PAL, and 720x480 for NTSC.
Let me know if you find this useful
PAL_NTSC.zip
In the zip is a batch file r.bat, which uses P2Load.exe to load a bitmap to $8000 and palette to $7c00 then the run the P2_PAL_NTSC.obj
It is displayed on Composite from DAC0 ( Pin0 )
Here's the SDRAM SlideShow demo including source.
http://www.jimbagley.co.uk/P2_SDRAM_SLIDESHOW.zip
Here's the updated PAL/NTSC timings, and also has component option
P2_SDRAM_TV_Driver.spin
Enjoy!
zip
104K
Comments
Good job on that loader, David! How did you get it to compile to only 80K? I thought all app's for Windows were somehow doomed to bloat up to at least 10x that.
I take it from the file size that this image is NOT interlaced, Baggers? If not, what could it look like with interlacing, or would it flicker too much?
I couldn't have done it without P2Load! P2Load rocks!! Thanks David
Changed PAL CON.
And it function correct on my PAL LCD TV
I too am in PAL territory so I knew it worked, but I'm glad it worked on your TV
Chip, If you load the spin program into PNut and set the interlace to 1 you will see the same image ( albeit in half the screen size ) It doesn't flicker on my TV
Excellent work Jim once again....
Next test is try scrolling that. You have the ideal conditions for creating unwanted artefacting - With high contrast edges, low scan rate and the ability to do full 50Hz frame rate. Do a scroller (vertically too) and see how well your deinterlacer handles that. It should display a smoothly moving full resolution text with no separation effect.
Thanks Ray, enjoy!
720x576 24bit full pal display and having 32MB of ram means lots of room for pictures lol
Chip, it certainly is a far cry from Prop1, not that Prop1 was bad, Prop1 was excellent, but this completely blows minds it's awesome, and I keep having to remind myself, this is only a fraction of it's power!
This demo was only two cogs!
Enjoy!
Coupla things I noticed:
-P2Prep no longer runs as an XP application. I moved to my win7 machine and all was good. Not sure how many are using XP...
-For NTSC non-interlaced displays, it's best if the number of scan lines is odd to avoid color fringing and artifacting. I made this change:
and attached a few pictures. This proved to be hard to capture on camera. To the eye, it's obvious, but getting a good exposure time ended up kind of tough. Hopefully, this difference can be seen easily... The amber pictures are taken from a high bandwidth CRT. ~800 lines or so horizontal.
The slideshow is pure awesome, and I'm gonna add component to this driver when I can tomorrow.
There is some slight image alignment problem at the very top of some of the images in the slideshow. Not sure why this is yet, and I need to check a few displays. Are you guys seeing this, and are you using analog or digital displays? So far, I've used analog.
Man, the images are sweet to see!
I'll have to commandeer my daughter's analogue TV tomorrow to test it as I don't have one in my room.
Look forward to seeing it composite also
IMHO, the tearing is graphics being in the first few scan lines. I see a few at the bottom of the frame. Might be good to move the image down, say three or four scan lines.
Function on my real PAL LCD TV
No problem.
My PAL LCD TV -- don't accept anything that are NOT 100% PAL compatible
Ps.
Correct 100% timed NTSC shows as Gray shades