From ams at gnu.org Mon Dec 1 04:11:01 2014 From: ams at gnu.org (Alfred M. Szmidt) Date: Mon, 01 Dec 2014 07:11:01 -0500 Subject: [LispM] Greetings, all! - Cold Load Stream questions In-Reply-To: <305938cb.24b23.149f403e803.Webtop.43@optonline.net> (message from cj miller on Thu, 27 Nov 2014 20:28:56 -0500 (EST)) References: <5992849a.163782.149f300ca8d.Webtop.60@optonline.net> <305938cb.24b23.149f403e803.Webtop.43@optonline.net> Message-ID: > Something like, 1990 10/10 10:10, should work. Thank you for the very quick reply, but no, this doesn't work either. I tried this exact date and time, as well as a few other years in the mid 90s.?? Seems I forgot the syntax, but you can check SYS;IO1:TIMPAR.LISP for what happens during cold loading. From cstacy at csail.mit.edu Mon Dec 1 04:39:39 2014 From: cstacy at csail.mit.edu (Chris Stacy) Date: Mon, 1 Dec 2014 07:39:39 -0500 Subject: [LispM] Greetings, all! - Cold Load Stream questions In-Reply-To: <5992849a.163782.149f300ca8d.Webtop.60@optonline.net> References: <5992849a.163782.149f300ca8d.Webtop.60@optonline.net> Message-ID: > > "Error: Unable to set calendar clock. > > > TIME:SET-CALENDAR-CLOCK > Arg 0 (TIME:NEW-TIME) : 3026437200 > s-A, : Exit process Initialize Genera" > > > While in the Terminal window I launched it from, I get the error: > > > "arithmeticexception; file stub/output10 line 211" I don?t have an emulator or anything, but looking at the sources in Emacs, that error is not thrown when your input time cannot be parsed. It already parsed all your attempts at inputs, successfully. There is what looks like a bug. TIME:SET-CALENDAR-CLOCK is calling CLI:VLM-SET-CALENDAR-CLOCK-INTERNAL and giving you that error if the function returns NIL. But the implementation is stubbed out and will always return NIL, because setting the host clock is not implemented. Given that the only caller is SET-CALENDAR-CLOCK, I would fix it by changing S-C-C-I to just lie and say everything is hunky dory; it should return T instead. The return value from such clock setters, for example the Merlin (real XL1200) one, is just T or NIL. SET-CALENDAR-CLOCK doesn?t return a time or anything. It?s just there to ensure that READ-CALENDAR-CLOCK will return something good. In the case of the VLM, it will work (it will read the host?s clock). If you want to boot and then fix it in the source, just use the debugger to return NIL out of that SET-CALENDAR-CLOCK frame. Where can I get a copy of this emulator so I can have fun too? From metrophage at optonline.net Mon Dec 1 09:22:49 2014 From: metrophage at optonline.net (cj miller) Date: Mon, 01 Dec 2014 12:22:49 -0500 (EST) Subject: [LispM] Greetings, all! - Cold Load Stream questions In-Reply-To: References: <5992849a.163782.149f300ca8d.Webtop.60@optonline.net> Message-ID: <7d2165f7.16335b.14a06e04a79.Webtop.57@optonline.net> Thanks for the debug advice. As a LISP novice I am getting thrown in the deep end of the pool. I put together a Linux box over the weekend and will try it on there soon. On Mon, Dec 01, 2014 at 07:39 AM, Chris Stacy wrote: > Where can I get a copy of this emulator so I can have fun too? I found it here: http://www.unlambda.com/index.php?n=Page.L-machine