+Andrew Davie Posted December 3, 2019 Share Posted December 3, 2019 (edited) I've always had an interest in computer chess - I wrote two (bad) programs long ago. One in Pascal (1981) and the other in 6502 (Atari 800, 1985). Anyway, I've just had a go at doing a mockup chessboard display. See the video. Each frame is generated on the Stella emulator, but I'm just stepping through different instances to make it look like it's animating. In reality this is a screen recording of me flipping through images (screenshots) of multiple runs of Stella - each with a different bitmap. All I'm trying to establish here is if Interleaved Chronocolour (TM) display is capable of producing a usable (totally flicker-free) chessboard. I think the answer is yes. This is totally PF graphics, no flicker. chess.mp4 Edited January 16, 2020 by Andrew Davie 15 Quote Link to comment https://forums.atariage.com/topic/299157-chess/ Share on other sites More sharing options...
+Andrew Davie Posted December 3, 2019 Author Share Posted December 3, 2019 (edited) Only 5 pixels across - difficult to make nice pieces. I've been playing with the graphics/shapes. I think the rook, knight, bishop and pawns are OK. Still got to work on Queen/king. Edited December 3, 2019 by Andrew Davie 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4402975 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 (edited) Settling on a design for each of the pieces. Severe restrictions on colours and size make things tricky. Still just a single colour per scanline Edited December 4, 2019 by Andrew Davie That wasn't me. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403399 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403401 Share on other sites More sharing options...
RamrodHare Posted December 4, 2019 Share Posted December 4, 2019 It's looking good. I'm a big fan of chess, so I'll be watching this thread closely. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403407 Share on other sites More sharing options...
Shawn Posted December 4, 2019 Share Posted December 4, 2019 All these multicolor or mixed flicker based colors on the 2600 always make my head hurt. It's like looking at an out of focus image on purpose if that makes any sense. I might be in the minority but I don't think it adds to the games at all. I'd rather see solid colors and blocks over fuzzy multicolors. It really sticks out when player sprites and background\playfield sprites are doing it at the same time. It can make games nearly unplayable for me. 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403449 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 49 minutes ago, Shawn said: All these multicolor or mixed flicker based colors on the 2600 always make my head hurt. It's like looking at an out of focus image on purpose if that makes any sense. I might be in the minority but I don't think it adds to the games at all. I'd rather see solid colors and blocks over fuzzy multicolors. It really sticks out when player sprites and background\playfield sprites are doing it at the same time. It can make games nearly unplayable for me. I understand. But just to clarify one thing - this does not flicker - it is rock solid. 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403480 Share on other sites More sharing options...
Shawn Posted December 4, 2019 Share Posted December 4, 2019 8 minutes ago, Andrew Davie said: I understand. But just to clarify one thing - this does not flicker - it is rock solid. I meant by changing colors frame to frame to make a different look, not actual flickering on the screen. Sorry for the miscommunication on my part. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403485 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 3 minutes ago, Shawn said: I meant by changing colors frame to frame to make a different look, not actual flickering on the screen. Sorry for the miscommunication on my part. Sorry to be pedantic... but... I'm pedantic, so.... it does not change colours frame to frame. It uses the same colours on every frame. There is no colour flickering. It is rock solid. 2 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403489 Share on other sites More sharing options...
Shawn Posted December 4, 2019 Share Posted December 4, 2019 4 minutes ago, Andrew Davie said: Sorry to be pedantic... but... I'm pedantic, so.... it does not change colours frame to frame. It uses the same colours on every frame. There is no colour flickering. It is rock solid. I get that, I mean when that effect is used in programs it makes me see a fuzzy image, not specifically in this instance of this chess game you have presented. With this chess game, solid colors and all, it's the different colors on the pieces and skipping lines on the pieces and the chess board that makes it look fuzzy to me. Just not something I personally like or am attracted to in any game, especially the 2600. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403490 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 9 minutes ago, Shawn said: I get that, I mean when that effect is used in programs it makes me see a fuzzy image, not specifically in this instance of this chess game you have presented. With this chess game, solid colors and all, it's the different colors on the pieces and skipping lines on the pieces and the chess board that makes it look fuzzy to me. Just not something I personally like or am attracted to in any game, especially the 2600. Somethings achieving something on the machine requires compromises. Displaying a chessboard is difficult. This is one technique that works - even though the pieces are "fuzzy". I assume you prefer the original Atari version? That's fine. What I like is the challenge of making the hardware do things that seem impossible at first. I like exploring the boundaries of those "compromises" to find an acceptable solution. I understand that these boundaries, in this case, are beyond your tolerance and that's fair enough. I was just giving you a hard time - what you meant was that the colours change on each *scan line*, and that the low-resolution of the playfield means that the pieces have poor definition and that, combined with the gaps to make the colours... doesn't work for you. All good - it's valuable feedback for me. 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403497 Share on other sites More sharing options...
Linndrum Posted December 4, 2019 Share Posted December 4, 2019 I think it looks great! The penis pawns really steal the show though 2 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403508 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 1 hour ago, Linndrum said: I think it looks great! The penis pawns really steal the show though Ha. Well, to some people everything looks like a penis 2 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403544 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 I think I've settled on colours and graphics. Here's a "full game" just for fun. The reason I did this was that I wanted to have a realistic idea of how the pieces would look on various squares, next to each other, etc. The vid starts with the center squares showing the full range of available colours. Colour choice is really quite difficult - you do not choose those 8 colours but in fact you choose 3 colours which happen to mix together and hopefully you get a nice range of 8. This particular set is about the best I've managed to come up with. It's complicated by the fact that you want some darks and some lights, but you also don't get to choose the intensities - it's again the same 3 colours. So, given that, these colours aren't too bad. This sort of display would work with the generic BIGASS sprite system I'm working on, so that's a bit more incentive to continue developing that instead of making a chess-only display system. chess2.mp4 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403708 Share on other sites More sharing options...
Shawn Posted December 4, 2019 Share Posted December 4, 2019 11 hours ago, Andrew Davie said: Somethings achieving something on the machine requires compromises. What I like is the challenge of making the hardware do things that seem impossible at first. I like exploring the boundaries of those "compromises" to find an acceptable solution. I understand that these boundaries, in this case, are beyond your tolerance and that's fair enough. I was just giving you a hard time - what you meant was that the colours change on each *scan line*, and that the low-resolution of the playfield means that the pieces have poor definition and that, combined with the gaps to make the colours... doesn't work for you. Correct. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403797 Share on other sites More sharing options...
+Karl G Posted December 4, 2019 Share Posted December 4, 2019 It would take me a bit to get used to the look of the pieces, but I think for a game that requires a lot of focus on the screen like this one, the lack of flicker, and the ability to use the whole screen width would make the trade-off well worth it. Also, you might as well make checkers while you are at it. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403803 Share on other sites More sharing options...
devwebcl Posted December 4, 2019 Share Posted December 4, 2019 On 12/3/2019 at 10:10 AM, Andrew Davie said: I've always had an interest in computer chess - I wrote two (bad) programs long ago. One in Pascal (1981) and the other in 6502 (Atari 800, 1985). Anyway, I've just had a go at doing a mockup chessboard display. See the video. Each frame is generated on the Stella emulator, but I'm just stepping through different instances to make it look like it's animating. In reality this is a screen recording of me flipping through images (screenshots) of multiple runs of Stella - each with a different bitmap. All I'm trying to establish here is if Interleaved Chronocolour (TM) display is capable of producing a usable (totally flicker-free) chessboard. I think the answer is yes. This is totally PF graphics, no flicker. chess.mp4Fetching info... Did you release the pascal and 6502 chess engines ? Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4403824 Share on other sites More sharing options...
+Andrew Davie Posted December 4, 2019 Author Share Posted December 4, 2019 7 hours ago, devwebcl said: Did you release the pascal and 6502 chess engines ? No, lost to the mists of time. It's possible the 6502 source is lying undiscovered on an old floppy, but chances aren't good. 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404135 Share on other sites More sharing options...
+Andrew Davie Posted December 5, 2019 Author Share Posted December 5, 2019 (edited) I create the graphics as a GIF/PNG file with an 8-colour palette. I set the palette to the visuals that come about by mixing the set 3 colours. This allows me to draw something that looks roughly like what it looks on the screen. Then I run the GIF/PNG through a utility that figures out from each pixel what the Interleaved Chronocolour(TM) usage for that pixel for each of the 3-colour lines making up the pixel. It then writes table data to an asm file so that I can use it directly in the display on the '2600. So, here's a source image, and the resultant on the '2600. Note that I've been refining the piece shapes even more, and now I am using "sub-pixel" rendering to get the edges and rounds just that little bit better. Here's the first iteration, just to compare... note the huge improvement (I think!) in knight and king. Edited December 5, 2019 by Andrew Davie 1 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404417 Share on other sites More sharing options...
Thomas Jentzsch Posted December 5, 2019 Share Posted December 5, 2019 (edited) Maybe it would look better without the shading on the right? But then there would be no gaps, hm... BTW: You don't have to use 3 line pixel. The height of pixels is not fixed. Edited December 5, 2019 by Thomas Jentzsch Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404419 Share on other sites More sharing options...
+Andrew Davie Posted December 5, 2019 Author Share Posted December 5, 2019 5 minutes ago, Thomas Jentzsch said: Maybe it would look better without the shading on the right? But then there would be no gaps, hm... BTW: You don't have to use 3 line pixel. The height of pixels is not fixed. Funny - each iteration I think "that's the absolute best, it couldn't POSSIBLY be any better". And then I tweak the colour/intensity, change a few pixels here and there, and it's HEAPS better. And right now I'm thinking... "it's the absolute best, couldn't possibly be better". I have considered a 2-line pixel, but I don't think there would be sufficient colours. The shading would have to be shared by both black/white pieces. But, it might be something I'll try later. Right now... it's the best. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404421 Share on other sites More sharing options...
Thomas Jentzsch Posted December 5, 2019 Share Posted December 5, 2019 Actually I meant that 3 colored pixel must not be defined in intervals of 3 lines. E.g. you could define a 2 line pixel, using only one color and black on top. And above define a 3 line pixel. So the vertical positions can vary and this allows more gradual designs. I did that with the boulders in Boulder Dash. But mixing just 2 colors might work well here too, not sure. Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404428 Share on other sites More sharing options...
+Andrew Davie Posted December 5, 2019 Author Share Posted December 5, 2019 Also, as a side-note - I was thinking about what if.... would it be possible to run the chess engine on the ARM. That would be pretty awesome. 2 Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404429 Share on other sites More sharing options...
+Andrew Davie Posted December 5, 2019 Author Share Posted December 5, 2019 1 minute ago, Thomas Jentzsch said: Actually I meant that 3 colored pixel must not be defined in intervals of 3 lines. E.g. you could define a 2 line pixel, using only one color and black on top. And above define a 3 line pixel. So the vertical positions can vary and this allows more gradual designs. I did that with the boulders in Boulder Dash. But mixing just 2 colors might work well here too, not sure. Yes, I am already doing that. See the odd colours here and there in the GIF. This is what I meant when I said "sub-pixel rendering". Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404430 Share on other sites More sharing options...
awhite2600 Posted December 5, 2019 Share Posted December 5, 2019 3 hours ago, Andrew Davie said: Also, as a side-note - I was thinking about what if.... would it be possible to run the chess engine on the ARM. That would be pretty awesome. That's funny. I thought the same thing when I read your first post in this thread. Running the game logic on the ARM would, if nothing else, make the computer "think" faster. I think that what you're doing here is very cool. It's certainly an interesting tech demo of making the 2600 do something that it was never intended to do. The display reminds me a bit of the HAM mode on the Amiga. HAM allowed lots of color but with limitations where some colors were based on the colors of the pixels to the left. This created a similar "blurry" effect that when used creatively could create some amazing images. Keep up the great work! Quote Link to comment https://forums.atariage.com/topic/299157-chess/#findComment-4404552 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.