funkheld Posted March 24, 2017 Share Posted March 24, 2017 Hi good afternoon. How high and how wide can the player be? How many players can be active at the same time? Thank you. greeting Quote Link to comment Share on other sites More sharing options...
tschak909 Posted March 24, 2017 Share Posted March 24, 2017 Ok, you need to grab a copy of the Stella Programmer's Guide, and read that. Seriously, Go grab and read. We'll wait. if that's TL:DR, then basically: * Start thinking not in terms of a whole screen in memory, because that doesn't exist.. * a VCS programer thinks in individual scanlines. * envision a player as a part of a scanline that is output from the TIA. * On any given scanline, there can be the background color, the playfield, two players, two missiles, and a ball. * so in essence, any of these items are vertical bands that, given that you properly do your vertical sync, stretch from the top of the screen to the bottom. Meaning: * they can be as tall as the screen. * Players and their missiles can be clocked out in one of several sizes, 1, 2, 4, or 8 pixel clocks. see NUSIZ in the Stella Programmer's Guide. * Once they've been output, they can be re-used. * Most easily this means you can re-use a player on a different scanline, to give the impression of more players on screen than normally possible. * If you need more than two players on a line, you then need to switch to a multiplexing scheme which will display other players on alternate frames. -Thom 1 Quote Link to comment Share on other sites More sharing options...
funkheld Posted March 24, 2017 Author Share Posted March 24, 2017 * A VCS-Programer thinks in individual scanlines. What is a scanline at the atari2600? How wide is a scanline? How much scannlien is there at pal? Thank you. greeting Quote Link to comment Share on other sites More sharing options...
tschak909 Posted March 24, 2017 Share Posted March 24, 2017 Dude, again. Read the Stella Programmers Guide. Please. Read it, and come back here. You are creating the vertical part of the video signal in software. The TIA does just enough to handle a single line. There are 228 color clocks in a scanline, of those, 68 of those color clocks are not visible on the left side of the screen, as they are part of the horizontal blank, so there are approximately 160 visible color clocks, and the VCS divides its pixels from this. A scanline is an individual television scan line. Depending on the video standard, there are 262 scanlines for NTSC and 312 for PAL. Of those, not all of them will be visible. Atari recommends using 192 visible scanlines for NTSC, the rest are split between your vertical blank and overscan periods, which can be used for logic. -Thom 1 Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted March 24, 2017 Share Posted March 24, 2017 You'll find the Stella Programmer's Guide here http://www.qotile.net/minidig/docs.html Quote Link to comment Share on other sites More sharing options...
funkheld Posted March 25, 2017 Author Share Posted March 25, 2017 (edited) Hi good afternoon. thanks greeting Edited March 25, 2017 by funkheld Quote Link to comment Share on other sites More sharing options...
Just Jeff Posted March 25, 2017 Share Posted March 25, 2017 8 bits wide by any height you want. Also, you can widen the bits with one of the registers (NUSIZ0)- this will make your player wider, but no more defined. As designed, Atari can only display 2 players. It will also display those players in double or triple if you want- again by changing register (NUSIZ0) Note- there are many tricks to get it to display more than this, but think you would benefit from going through this tutorial first: http://atariage.com/2600/programming/2600_101/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.