|
Forum Index : Microcontroller and PC projects : TSCP chess program updated
| Author | Message | ||||
| Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 886 |
Hi Harm, Yes I did notice that, but I just cut & pasted that section of code from the chess client version so assumed it was correct & didn't check any further, I'm now home & have realised that the banner which I couldn't see earlier, is not in a good position either so I'll move that as well. Regards Kevin |
||||
| Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 886 |
Attached is the latest update to Chess, I've corrected the path '\\' moved the banner, a few other minor cosmetic changes. I have tested it on a 2040 VGA now as well and it's surprisingly fast, only about 20% slower than the 2350, so still easily fast enough to give a game, maybe not if your are a chess prodigy. ;-) Obviously this will also work with a HDMI output using the VGA screen mode. Regards Kevin. chesscsubvga.zip |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6272 |
Hi Kevin, There is one feature you added that is confusing. When using 640x480 on VGA, the colour is produced using tiles. The feature you added is highlighting the recent move by a box around the related fields. But the colour of the box (fringe) also changes the color of the piece. A white bishop that took a red pawn turned red on the play field. Only by looking at the moves (in text) I noticed this is wrong. It feels like the board is not updated completely every time. Sometimes a piece becomes invisible, and next move (board update) the piece is back again (just witnessed a white pawn disappearing , and next move re-appearing). Is it possible that a time-out results in an incomplete board when asked from TSCP core. Volhout Edited 2026-11-18 01:29 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 886 |
Yes it should only update the pieces that change I'll have a look. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |