Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:20 19 Nov 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : TSCP chess program updated

     Page 2 of 2    
Author Message
Bleep

Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 886
Posted: 10:01am 24 Oct 2026
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 886
Posted: 11:59am 26 Oct 2026
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 6272
Posted: 02:59pm 17 Nov 2026
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 886
Posted: 03:37pm 17 Nov 2026
Copy link to clipboard 
Print this post

Yes it should only update the pieces that change I'll have a look.
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026