Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: Spyro543 on May 10, 2011, 06:52:57 am

Title: Atari emulator on Nspire?
Post by: Spyro543 on May 10, 2011, 06:52:57 am
I wanted to ask this after I saw the C64 emulator idea thread.

Would an Atari 2600 emulator be possible? Maybe a higher system?
Title: Re: Atari emulator on Nspire?
Post by: ruler501 on May 10, 2011, 07:14:54 am
Is the Atari close enough to the NES that we could base the emulator off of that?
Title: Re: Atari emulator on Nspire?
Post by: calc84maniac on May 10, 2011, 09:21:36 am
From what I've heard, the Atari 2600 isn't very powerful, but it can be a pain to emulate. It might be possible to port some emulator written in C to reduce personal heartbreak. :P
Title: Re: Atari emulator on Nspire?
Post by: BrownyTCat on May 10, 2011, 11:05:23 am
From what I've heard, the Atari 2600 isn't very powerful, but it can be a pain to emulate. It might be possible to port some emulator written in C to reduce personal heartbreak. :P
Even a C64 would be easier, it's actually got nearly the same resolution as the nSpire.
Title: Re: Atari emulator on Nspire?
Post by: TIfanx1999 on May 10, 2011, 11:26:40 am
@ruler:I don't think so. I think they're still significantly different.
Title: Re: Atari emulator on Nspire?
Post by: BrownyTCat on May 10, 2011, 11:28:25 am
@ruler:I don't think so. I think they're still significantly different.

Atari is nothing like NES, Atari also uses rectangular pixels.
Title: Re: Atari emulator on Nspire?
Post by: ruler501 on May 10, 2011, 12:58:14 pm
What is the screen resolution on an atari? and how different are hese rectangular pixels from the ones the Nspire uses?
Title: Re: Atari emulator on Nspire?
Post by: Spyro543 on May 10, 2011, 01:39:04 pm
What are recrangular pixels and how are they different?
Title: Re: Atari emulator on Nspire?
Post by: calc84maniac on May 10, 2011, 01:53:02 pm
Here is what wikipedia has to say about emulation:
Quote
Atari 2600 emulation is available for most major operating systems and is now very accurate. Despite the relative simplicity of the 2600 system, it is not an easy system to emulate. While it does not require a lot of computational power to emulate the 2600, it is hard to accurately do so. For example, because of the lack of a frame buffer, 2600 emulators must not only emulate the console, but the television as well. Due to the longevity of the system, many 2600 games used undocumented features, and even exploited bugs in the hardware to squeeze the most out of the system, doing things even the original designers would deem impossible (a notable example is the starfield of the game Cosmic Ark). It took some time for the emulator programmers to mature their software to properly emulate the undocumented features, bugs and quirks of the system.
Title: Re: Atari emulator on Nspire?
Post by: aeTIos on May 10, 2011, 02:04:05 pm
A rectangular pixel is exactly what its name says: They are rectangles. ;D
Title: Re: Atari emulator on Nspire?
Post by: calc84maniac on May 10, 2011, 02:51:45 pm
Actually, I think the deal with the "rectangular pixels" is that the background data for each row is arranged such that each pixel represents 4 pixels onscreen (so effectively it's a 4x1 pixel). However, I believe the "sprites" (or whatever those things are) do not have this limitation.
Title: Re: Atari emulator on Nspire?
Post by: ralphdspam on May 11, 2011, 11:52:36 pm
Yeah, the 2600's sprites consists of a background, 2 player sprites, a ball, and 2 missiles.  Each of the "sprites" are all one line, meaning that each sprite must be updated before the TIA chip displays each line.  This can be a pain, because you have to be absolutely perfect with the t-states you take up in your program. 

As far as the resolution is concerned, the "standard" NTSC resolution is considered 192x160.  This number can change, because the programmer can manually adjust the vertical and horizontal blank.  Recently, programmers have found a way to force the tv to interlace the image, effectively doubling the vertical resolution. 
Title: Re: Atari emulator on Nspire?
Post by: DJ Omnimaga on May 12, 2011, 12:16:28 am
Hmm I am a bit confused about what this means X.x. One thing I noticed, however, is that most Atari 2600 sprites, for example enemies or cars, are like 2 colors max, each.
Title: Re: Atari emulator on Nspire?
Post by: ralphdspam on May 12, 2011, 12:32:19 am
The TIA chip only supports 1-color sprites, so the programmer actually has to use tricks to make the sprite multiple colors. 
One way is to layer a bunch of 1-color sprites so there can be multiple colors.  The programmer can also change the color of the sprite on a line-by line basis.  It is even harder than grayscale on the 84!
Title: Re: Atari emulator on Nspire?
Post by: DJ Omnimaga on May 12, 2011, 12:45:41 am
Hmm I see now. I guess this is why there were no game with tilemaps like on the NES. It definitively seems limited O.O
Title: Re: Atari emulator on Nspire?
Post by: ralphdspam on May 12, 2011, 01:01:31 am
Another limitation about the 2600 is that there are no interrupts.  When they made the 6502-family processors for the Atari, they decided to scrap a bunch of memory addressing and interrupt features.  While this is a major setback for development, it should make emulation a lot easier.
Title: Re: Atari emulator on Nspire?
Post by: ruler501 on May 12, 2011, 08:52:15 am
Is anyone going to try this? If so for what OS? In Lua for 3.x or C/Asm for <=2.1?
Title: Re: Atari emulator on Nspire?
Post by: ralphdspam on May 13, 2011, 11:00:52 pm
Do you think anyone would try this for the 84?
Title: Re: Atari emulator on Nspire?
Post by: ruler501 on May 13, 2011, 11:06:53 pm
I don't think the 84 has the right architecture to make this possible
Title: Re: Atari emulator on Nspire?
Post by: ralphdspam on May 13, 2011, 11:19:23 pm
Has anyone made a 6502 architecture emulator for the 84 plus?
Title: Re: Atari emulator on Nspire?
Post by: TIfanx1999 on May 15, 2011, 10:52:41 am
Do you think anyone would try this for the 84?
It doesn't seem too likely. I think the resolution on the Atari is significantly higher as well.
Title: Re: Atari emulator on Nspire?
Post by: DJ Omnimaga on June 06, 2011, 08:30:27 pm
On the 84+ it might be a bit too slow. TI-Boy was fast because the processor is almost the same.
Title: 2600 emu for cx/regular touchpad
Post by: chiefpiggy on August 22, 2012, 04:24:30 pm
i for one love classic gaming consoles and am wondering if anyone could make an atari 2600 emulator for the nspire cx or normal touchpad

the emulator probably wont take up much ram and the games dont take up much space at all so it shouldnt be a prob
Title: Re: Atari emulator on Nspire?
Post by: TIfanx1999 on August 22, 2012, 04:31:43 pm
@above post: Moved and merged. :)
Title: Re: Atari emulator on Nspire?
Post by: TheNlightenedOne on August 22, 2012, 08:49:20 pm
I am considering making a retro game console emulator for the Nspire. I made a poll and it's somewhere on the forums. Although last time I checked, SNES was winning out of Atari 2600, SNES, Genesis, and, C64. I'll go check again.

EDIT: It's still the same.
Title: Re: Atari emulator on Nspire?
Post by: chiefpiggy on August 25, 2012, 01:24:35 pm
can u send me the link to the forum poll?
Title: Re: Re: Atari emulator on Nspire?
Post by: TheNlightenedOne on August 25, 2012, 08:51:30 pm
Right here. http://ourl.ca/16578 (Tell me if the link's broken)