From: Alexander W. <aw...@st...> - 2008-11-17 08:30:48
|
Hello Ben! > The information on how to send a message to the clock is not easy > available. It is not in the DGTbrd13.h board protocol description. > In the past, which information did you get on all communication > protocols? All protocol descriptions I've at hand is this very dgtbrd13.h file offered for download at the dgt website. Most of the time I sit with my application on top of the dgtnix library itself, so I did not have the necessity to dig to deep into it while working on dgtdrv. I think sending messages to the clock should be a function there and I'd try to add it. But I did not yet search in detail how it has to be done. My primary work this weekend was to get Scid interface with the board/clock nicely. Now that the base functions are all there I'm planing to get it "nice" ie. add all that is available in the windows driver. BTW: any interest in the protocol I used for dgtdrv on your side? E.g. doing an own application? I think it would be pretty simple to set up a small app using your own lib. One idea of this protocol is, that acutally any chess application that know how to play an engine-engine tournament is able to get minimal DGT support and with a few extra lines within the app to add handling for a hand full of new message it gets a pretty smooth integration as it offers also functions to send the board position and so on. I did something like that for xboard as an example, its only about 50 lines. For a protocol description see dgtdrv.sf.net, it is very much like xbord and uci. (You know, for a multiplatform product like Scid, which runs on a variety of Unices, Windows, Mac... it is a bit difficult to bind to different external libs so I feel it easier to use an engine like approach. The only alternative for Scid would be to code all DGT handling in plain TCL which would then be only usable for Scid. I gave that a try but its cumbersome and I admit that I really prefer C. And the interface idea from an design point of view.) -- Kind regards, / War is Peace. | Freedom is Slavery. Alexander Wagner | Ignorance is Strength. | | Theory : G. Orwell, "1984" / In practice: USA, since 2001 |