Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:28 22 May 2025 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 : CMM2: TSCP Chess

     Page 10 of 10    
Author Message
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 593
Posted: 07:21pm 20 May 2025
Copy link to clipboard 
Print this post

Hi Harm,
I have only tested the 320 version by setting
Option LCD320 on
I've just found in RC24 Peter seems to have disabled this for my display a ILI9488, I'll have to see why?
Anyway it still runs on my screen, which is a 480x320 LCD, just in the top left corner.
I can't think of any new functionality, maybe just give it a go with the new RC if you don't mind.
All of those bits are done using Print @, if that helps. Then the whole framebuffer is copied f, n.
Regards Kevin
Edited 2025-05-21 05:24 by Bleep
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4904
Posted: 07:05am 21 May 2025
Copy link to clipboard 
Print this post

Kevin,

When adding "MODE 2" as first command in the "chess320LCD.bas" it runs flawless on RC24 VGA unit. So the code is fine. I will look into it further, why it does not work on the ILI9341 in the Game*Mite.

Volhout
.
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4904
Posted: 08:39am 21 May 2025
Copy link to clipboard 
Print this post

Hi Kevin,

There is something different between 640VGA and 320LCD.
When white wins, 640VGA message is "White Mates".
However 320LCD says "Black Mates".

Any idea ? I think in the 320 version the red(black) and white tiles are swapped.
The white queen starts out on a black field... looks wrong.

Volhout
.
PicomiteVGA PETSCII ROBOTS
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 593
Posted: 09:20am 21 May 2025
Copy link to clipboard 
Print this post

Hi Harm,
I have a GameMite, so have wired it up.
I have found you need to set
OPTION LCDPANEL CONSOLE 7
Then it works fine, presumably this is required because I use Print @ ?
Regards Kevin
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 593
Posted: 09:26am 21 May 2025
Copy link to clipboard 
Print this post

  Volhout said  Hi Kevin,

There is something different between 640VGA and 320LCD.
When white wins, 640VGA message is "White Mates".
However 320LCD says "Black Mates".

Any idea ? I think in the 320 version the red(black) and white tiles are swapped.
The white queen starts out on a black field... looks wrong.

Volhout
.


Hi Harm,
You are quite correct, the LCD colours are reversed, :-( I'll make it better!
Regards Kevin.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4904
Posted: 11:31am 21 May 2025
Copy link to clipboard 
Print this post

@Kevin,

LCD version that runs on a Game*Mite. Uses COM1 at gp16/gp17 since that is available on the edge connector.

chess320LCD_hdl2.zip

Now we only need to find a method to use the buttons to select a function or character.
I can imagine using the cursor buttons to navigate from chess board field to chess board field. Select by using "A" button, use "B" for "undo". And at the bottom have pre-fixed commands like "AUTO", "NEW", "SET PLY", "HELP".

We may even think about dropping the moves list, making the board bigger.

Volhout

P.S. too bad we use the framebuffer. It is 16 colors. It would be so good to use the 16 bit colors of the LCD to make a realistic chess board. Near photo quality. And then develop a small RP2350 PCB that directly plugs into the Game*Mite edge connector.

EDIT: new upload to fix a bug.
.
Edited 2025-05-21 23:48 by Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 10 of 10    
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 2025