Quick and dirty patch for "Show Time and Date" function for Motorola d160/d170 firmware ver 85.00.56 This firmware has a bug - it does something that disturbs clock data before displaying it. To use the clock function of d160/d170 You need some hardware too. For details see Janus page. NB! this probably applies only for version 85.00.56 but other firmware versions may have same bug only at different memory location. Instead of repairing original quite complex data conversion code: (from FRC as unsigned_int -> seconds in decimal ASCII -> unsigned_int -> time date as text -> to display) We just re-read FRC (free running counter) of RTC. It is even faster than original. Only thing to modify is an address of subroutine call at location $9ff44: Just use jsr $000ce89e instead of jsr $0009a26a. Only 3 bytes to change :) BTW, flashing via bdm isn't very fast procedure, so it makes sense to reflash only single block of ROM. Madis Thanks to: Janus http://www.tele-servizi.com/Janus/motpages.html Clondike http://www.geocities.com/ResearchTriangle/Lab/1578/gsmmot.htm