Schachcomputer.info Community

Zurück   Schachcomputer.info Community > Computerschach / Computer Chess: > Mess Emu & andere Emulationen / Mess Emu and other Emulations


Antwort
 
Themen-Optionen Ansicht

  #1  
Alt 15.01.2019, 16:51
Benutzerbild von Bryan Whitby
Bryan Whitby Bryan Whitby ist offline
Fidelity Elite Avantgarde 68060
 
Registriert seit: 14.07.2009
Beiträge: 394
Bilder: 15
Abgegebene Danke: 724
Erhielt 802 Danke für 228 Beiträge
Aktivitäten Langlebigkeit
4/20 16/20
Heute Beiträge
0/3 ssssss394
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von fhub Beitrag anzeigen
Hello Bryan,

yes, I remember that I've read about this long time ago (IIRC you even posted a picture of your board here).
I don't know anymore, how exactly you've built this communication between CB-Emu and your board (especially without changing the CB-Emu code at all), but I think you used special keycodes (in the cfg-file) for the board fields in CB-Emu, right?

But the thing I would be most curious about, is how you could 'send' the moves (which you make on the external board) to CB-Emu???

Regards,
Franz
Hi Hans

The Teensy USB Development Board that I use and Berger coded for me just emulates a keyboard.

First you have to untick the read only attribute in the Montreux cfg properties (Screenshot 1).

Then you change the Steadykey to zero in the Core Input Option of the Montreux ini file (Screenshot 2).

Now you have to try and work out which square corresponds to the Unamed Key in the Root (Screenshot 3).

First on your keyboard, change all the Named keys (New Game etc) to none.

Then input a1 (Kbd A Kbd 1) into any Unnamed Key then return to machine and press the a1 square on your physical board. What happens then is that although you have programmed the Unnamed Key to the a1 square it probably indicates another square on the PC graphical board.

You now go back into the Root and change the wrong programmed Unnamed Key (a1) to the actual PC board square.

Now you have found your first correct square you continue doing this for all the 64 squares.

Final screenshot of my board working with the Montreux program.

I hope this helps you in understanding how it communicates.

Regards
Bryan









Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu Bryan Whitby für den nützlichen Beitrag:
achimp (17.01.2019), fhub (17.01.2019)
  #2  
Alt 16.01.2019, 20:19
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.945
Abgegebene Danke: 605
Erhielt 7.336 Danke für 1.642 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
0/3 sssss2945
AW: Mess Emulator für diverse Schachcomputer ist fertig!

Hello Bryan,
 Zitat von Bryan Whitby Beitrag anzeigen
I hope this helps you in understanding how it communicates.
yes, thanks for your explanation!

I've also already experimented with this method long time ago (when I tried to allow entering moves with the PC keyboard instead of the mouse),
but the problem is, that you always have to press 2 keys at the same time on the keyboard (e.g. A and 2 for a mouseclick on a2),
and that's not really comfortable. But for your external board this is indeed a very clever method.

Since your way to find out the correct square for these 'Unnamed Key' entries in the Tab menu is very time-consuming, I've now added the right square names to the board sensors in ALL devices, i.e. now you see "Square A1", "Square A2" etc. instead of 'Unnamed Key' in the Tab menu. Of course you still have to make these assigment manually, but at least you see now the board square in the list and can immediately enter the right keys.
So it will be much easier for you to add more CB-Emu modules to your external board.

Here is this new Update3:
https://www89.zippyshare.com/v/V8LRJfR4/file.html
(apart from these new square labels nothing has changed, so you can just use these new EXEs without having to change anything in your existing configuration).

Now I have one more question:
With your method moves made on your external board are sent to CB-Emu on the PC, but the other direction is not possible, right?
IOW, when the chess module in CB-Emu makes a move, you still have to look at the PC screen to see this move, i.e. the board LEDs on your external board do NOT show this move, right?
Or have you even found any additional trick, so that your external board 'gets' the moves from CB-Emu?

In principle this should be possible, especially now with the new PGN feature in the last versions, because whenever CB-Emu writes a move into 'gamelog.pgn', it could also send this move to any other target (file, console, screen, USB etc.).
So in fact a 'full' communication (only for moves of course) between an external board and CB-Emu should be possible -
only the direction 'CB-Emu to external board' would have to be solved.

Regards,
Franz
Mit Zitat antworten
Folgende 3 Benutzer sagen Danke zu fhub für den nützlichen Beitrag:
achimp (17.01.2019), berger (17.01.2019), Bryan Whitby (17.01.2019)
  #3  
Alt 16.01.2019, 22:51
Benutzerbild von hyppyp
hyppyp hyppyp ist offline
Chess-Master
 
Registriert seit: 07.04.2018
Beiträge: 21
Abgegebene Danke: 47
Erhielt 5 Danke für 5 Beiträge
Aktivitäten Langlebigkeit
0/20 7/20
Heute Beiträge
0/3 sssssss21
AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von fhub Beitrag anzeigen
So in fact a 'full' communication (only for moves of course) between an external board and CB-Emu should be possible -
only the direction 'CB-Emu to external board' would have to be solved.
Well, going back to the whole 'bill' issue, I am certainly in when it comes to this. If it were in fact possible to connect CB-Emu to a Millennium Exclusive Board or a DGT-board, it would definitely be a HUGE incentive to buy one of those....

But Franz, believe me, I am a very happy man already if CB-Emu should stay as it is!

Greetings,
hyppyp
Mit Zitat antworten
  #4  
Alt 17.01.2019, 08:49
Benutzerbild von berger
berger berger ist offline
Fidelity Elite Avantgarde Version 10
 
Registriert seit: 27.05.2013
Ort: Barcelona (Catalonia)
Beiträge: 210
Abgegebene Danke: 468
Erhielt 648 Danke für 160 Beiträge
Aktivitäten Langlebigkeit
2/20 12/20
Heute Beiträge
0/3 ssssss210
Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hyppyp Beitrag anzeigen
Well, going back to the whole 'bill' issue, I am certainly in when it comes to this. If it were in fact possible to connect CB-Emu to a Millennium Exclusive Board or a DGT-board, it would definitely be a HUGE incentive to buy one of those....

But Franz, believe me, I am a very happy man already if CB-Emu should stay as it is!
Hi,

Why not CERTABO chess board?

I believe that right now is the ideal electronic chessboard to develop this project, for its open communication protocol, availability of source code under GPL V3.0 license, ...

Open protocol: This means that the information about positions, names of pieces and commands for the leds are available on the USB port in ASCII format and can be read by any software with serial interface. In other words it means that the board can be controlled by other hardware and software platform as you wish.

Certabo software: We would be pleased to give! Certabo® software source codes for PI and PC are available under GPL V3.0 license, this means that as buyer and user of the Certabo® platform you have the right to receive them together with the binary code if you ask for them and do whatever you want but under the same license terms.

More info: https://www.certabo.com/faq/

Regards,
Gerardo (aka berger)
Mit Zitat antworten
Folgender Benutzer sagt Danke zu berger für den nützlichen Beitrag:
Bryan Whitby (17.01.2019)
  #5  
Alt 17.01.2019, 10:04
Benutzerbild von Bryan Whitby
Bryan Whitby Bryan Whitby ist offline
Fidelity Elite Avantgarde 68060
 
Registriert seit: 14.07.2009
Beiträge: 394
Bilder: 15
Abgegebene Danke: 724
Erhielt 802 Danke für 228 Beiträge
Aktivitäten Langlebigkeit
4/20 16/20
Heute Beiträge
0/3 ssssss394
AW: Mess Emulator für diverse Schachcomputer ist fertig!

Hi Franz

Many thanks indeed for your kind update and it will now make my life much easier 😀

Unfortunately I don't contribute whatsoever to the coding of the Teensy USB Development Board as this is kindly provided by my friend Berger, so I am not in a position to comment on the communications of the board.

The interesting comment by Berger about communicating with the Certabo electronic chess boards is that I own one and to be able to use it with your software would be the ultimate chess board for me personally 👍

Many thanks again for the update

Regards from England
Bryan
Mit Zitat antworten
  #6  
Alt 17.01.2019, 10:48
Benutzerbild von berger
berger berger ist offline
Fidelity Elite Avantgarde Version 10
 
Registriert seit: 27.05.2013
Ort: Barcelona (Catalonia)
Beiträge: 210
Abgegebene Danke: 468
Erhielt 648 Danke für 160 Beiträge
Aktivitäten Langlebigkeit
2/20 12/20
Heute Beiträge
0/3 ssssss210
Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von Bryan Whitby Beitrag anzeigen
Unfortunately I don't contribute whatsoever to the coding of the Teensy USB Development Board as this is kindly provided by my friend Berger, so I am not in a position to comment on the communications of the board.
Hi,

This code is for my SolusChess board, which does not have LEDs in the squares, and which emulates a keyboard in order to send the moves, and therefore its communication is unidirectional. Certabo is a much more suitable platform for this.

Regards,
Gerardo
Mit Zitat antworten
  #7  
Alt 17.01.2019, 11:32
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.945
Abgegebene Danke: 605
Erhielt 7.336 Danke für 1.642 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
0/3 sssss2945
AW: Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von berger Beitrag anzeigen
This code is for my SolusChess board, which does not have LEDs in the squares, and which emulates a keyboard in order to send the moves, and therefore its communication is unidirectional. Certabo is a much more suitable platform for this.
Well, building such full (bidirectional) communication is nothing for me, this would definitely be a task for any MAME developer -
only they know the MAME system very well, have good hardware knowledge and can write the necessary C code much better than me.

And for this they won't even need my CB-Emu version (or its source code) - since all moves are displayed (by LEDs) and made on the external board,
the original (official) MAME version without my enhancements would be sufficient, because in this case the display of chess pieces on the MAME screen
is not needed at all.

Regards,
Franz
Mit Zitat antworten
Antwort

Themen-Optionen
Ansicht

Forumregeln
Du bist nicht berechtigt, neue Themen zu erstellen.
Du bist nicht berechtigt, auf Beiträge zu antworten.
Du bist nicht berechtigt, Anhänge hochzuladen.
Du bist nicht berechtigt, deine Beiträge zu bearbeiten.

BB code ist An
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist An.

Gehe zu

Ähnliche Themen
Thema Erstellt von Forum Antworten Letzter Beitrag
Info: Mephisto Emulator für den Mac fertig RolandLangfeld Die ganze Welt der Schachcomputer / World of chess computers 3 09.09.2007 22:56


Alle Zeitangaben in WEZ +2. Es ist jetzt 02:44 Uhr.



Powered by vBulletin (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©Schachcomputer.info