Jump to content

CRT simulation for Stella


54 replies to this topic

#51  

    Dragonstomper

  • 695 posts
  • Joined: 02-October 03
  • Location:Warszawa, Poland

Posted Mon May 25, 2009 11:21 AM

In that case, the files atari_ntsc.h, atari_ntsc.c and atari_sdl.c should be your main focus.

Basically, you have to call atari_ntsc_init() to initialise relevant data structures; then at each frame call atari_ntsc_blit(). The latter function takes a ~320x240x8bpp image and outputs a 640x480x16bpp result. Additionally the result has its pixels squashed vertically by 7/8 (with interpolation) to preserve correct aspect ratio; but I think you would like to turn that last thing off and do it by means of OpenGL.

#52  

    Dragonstomper

  • 642 posts
  • Joined: 04-January 06
  • Location:Thunder Bay ON Canada

Posted Wed Jun 24, 2009 11:55 AM

great work!
seems like its going to give the feel of my little 4 inch TV i played my atari on for years now :D
god i miss it, it died and i can't fix :( its beside me lol

#53  

    Moonsweeper

  • 296 posts
  • Joined: 14-February 07
  • Location:Antioch, CA

Posted Sat Jul 11, 2009 10:01 PM

how do I upgrade my open gl to 3.0 so I can use the crt simullation in stella?

#54  

    Stargunner

  • 1,849 posts
  • Joined: 11-May 02
  • Stella maintainer
  • Location:Newfoundland, Canada

Posted Sun Jul 12, 2009 8:42 AM

View PostLegend, on Sun Jul 12, 2009 1:31 AM, said:

how do I upgrade my open gl to 3.0 so I can use the crt simullation in stella?
Well, you only need 2.0, not 3.0. And assuming your video card support it, you just need to download the most recent drivers from the manufacturers website (Nvidia, ATI, Intel, etc). If your card doesn't support OpenGL 2.0 even with the latest drivers, then you have to use another card.

#55  

    Moonsweeper

  • 296 posts
  • Joined: 14-February 07
  • Location:Antioch, CA

Posted Sun Jul 12, 2009 9:00 PM

I read it wrong. I have 1.4 open gl with an intell 945GM express chipset family card. gateway laptop running windows xp professional edition. Centrino duo processor. How do I upgrade to opengl 2.0? I've been searching, but haven't had any luck yet.

Edited by Legend, Sun Jul 12, 2009 9:10 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users