From: Random P. <net...@gm...> - 2011-04-14 16:00:07
|
Oh Okay, I was thinking there might be an order it had to go in maybe the clock sent other packets first before Mode 23. I loaded up ollydbg and IDA and was able to find the functions in DGTEBDLL.dll that BWTIME:Decode, the low level driver protocol seems to bit a bit different. I was able to get the driver to say it was in Mode 23 when calling _DGTDLL_ClockMode, yet still no messages from Arena about blacks movements being sent to the clock. On Thu, Apr 14, 2011 at 8:27 AM, Jan Krabbenbos <ja...@dg...> wrote: > The mode 23 is sent from the clock to the computer (via the board) at the moment it is set by a person selecting this mode on the clock. This also goes for the start/stop button. > > The SETNRUN command is given by the computer to the clock (via the board) to set a time on the clock and to tell the clock which side should run. This only works on the clock in mode 23. > > If you want to show a message on the clock DGT_CMD_CLOCK_MESSAGE command (as described in the low level driver) must be used to display and a DGT_CMD_END_CLOCK_MESSAGE to return back to the time display. This results in the ready for disps acknowledgement, if I'm correct. > > To my knowledge the board does not store the clock acknowledgments, the driver has to do this. > > With kind regards, > Met vriendelijke groet, > > Jan Krabbenbos > Software Development > > Phone: +31(0) 53-4305195 > Fax: +31(0)53-4329365 > http://www.dgtprojects.com > > visit address: Hengelosestraat 66, 7514 AJ Enscheded, The Netherlands > mail address: PO Box 1295, 7500 BG Enschede, The Netherlands > > >>-----Original Message----- >>From: Random Persons [mailto:net...@gm...] >>Sent: donderdag 14 april 2011 13:16 >>To: Main discussion place for dgtnix relative topics >>Subject: Re: [Dgtnix-devel] Sim Info >> >>Well, I would say I am missing when exactly Mode 23 is sent to the PC. >>Clock version info has a request, and I send the Mode 23 after I send >>the clock version. >> >>Here is some of the low level driver code I used it to check my Mode >>23 to make sure it was being sent correctly. >> >>http://ideone.com/q1WF3 >> >>There are three ack Messages in DGT_BWTIME this is from the low level >>driver >>0x81 // Ready for disps >>0x88 // Start/Stop button pressed >>0x8a // Clock Mode >> >>then there is the other one >>SETNRUN (Clock Mode = 23) where it sets the clockMode to 23 I am guess >>you send this BWTime when a DGT_CMD_CLOCK_SETNRUN is sent from the >>computer. >> >> >> > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Dgtnix-devel mailing list > Dgt...@li... > https://lists.sourceforge.net/lists/listinfo/dgtnix-devel > |