Thread View: comp.lang.lisp.mcl
1 messages
1 total messages
Started by Jeffrey.J.Guertin
Sun, 24 Jan 1993 21:44
Re: calling _Date2Secs
Author: Jeffrey.J.Guertin
Date: Sun, 24 Jan 1993 21:44
Date: Sun, 24 Jan 1993 21:44
27 lines
1269 bytes
1269 bytes
To:info-mcl@cambridge.apple.com cc:info-mcl@cambridge.apple.com Subject:RE: calling #_date2secs -------- jeffrey, i'm very new to this game so i don't know protocal. i've been playing with your code and calling date2secs since i saw it. your hint was correct; as written deftrap _date2secs was attempting to put a datetimerec into an address register and a macptr into the longword set up for seconds. the following deftrap seems to work. however i'm still getting funny results with your rlet ie. a return date in 1904. i get correct results when i step through the same code. (deftrap _date2secs ((d (:pointer :datetimerec)) (secs (:pointer :signed-long))) nil (:no-trap (%put-long secs (ccl:register-trap #xa9C7 :a0 d :d0)))) have learned much in the proccess. thanx igore
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads