Mercurial > hg > Members > kono > nitros9-code
view lib/alib/stimestr.a @ 2765:0bd16cca86b7
Updated rules.mak for all the os9 format's to format the entire disk. People were having some issues with the disk images not being formatted to their full capacity and preventing some functions from working.
author | drencor-xeen |
---|---|
date | Thu, 17 Jan 2013 11:03:26 -0600 |
parents | 7d70b7e1cb21 |
children | aaba193af04f |
line wrap: on
line source
***************************************** * Get current system time as an ascii string. * OTHER MODULES NEEDED: DATESTR * ENTRY: X=buffer for ascii * EXIT: all registers preserved (except cc) nam Get System Time String ttl Assembler Library Module psect STIMESTR,0,0,0,0,0 STIMESTR: pshs x,y tfr x,y ascii buffer to Y leas -7,s buffer for time packet tfr s,x os9 F$Time get system time lbsr DATESTR convert to ascii in Y buffer leas 7,s puls x,y,pc endsect t