Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!fdn.fr!uunet!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!quartz.ucs.ualberta.ca!news.ucalgary.ca!roe
From: roe@acs.ucalgary.ca (Cameron Roe)
Subject: Problem: Clisp .vs. Windows
Message-ID: <Dec22.171806.74461@acs.ucalgary.ca>
Date: Thu, 22 Dec 1994 17:18:06 GMT
Organization: The University of Calgary, Alberta, Canada
X-Newsreader: TIN [version 1.2 PL2]
Lines: 113

I am having trouble installing the public domain CLISP
interpreter in windows. I'm fairly familiar with windows and have
tried to look at alternatives but have failed miserably!

Here is what I do:

0) download files from ma2s2.mathematik.uni-karlsruhe.de
1) install clisp to a directory c:\cam\clisp
2) Edit the config.lsp and timezone.lsp, compile both and
(saveinitmem)
3) Try it out under DOS. It works fine.

I then try to get it to run under windows, so I:

1) install the DPMI(RSX) stuff in c:\cam\dpmi
2) make a PIF file with the following enteries (following the instructions)

a) Program file: c:\cam\dpmi\rsx.exe
b) optional: c:\cam\clisp\lisp.exe -M c:\cam\clisp\lispinit.mem
c) memory requirments:	KB required 500  KB Desired 640
d) EMS memory	KB required 0  KB Desired 0
e) XMS memory  	KB required 1024  KB Desired -1

I save the pif and add the pif to the program group.

When I double click on the CLISP icon, I get 
"The KB Required value is too large. Decrease PIF KB required"

(this could be the root but read on.....)

Ok, so I try that and put the KB required to 400 and leave the
XMS memory alone. Windows is then happy but when the RSX system
is called I get the error

"Process 2 get hardware fault 12 (Stack fault) at 115DC"
"Writing core file"

and get booted back to windows.

Am I doing something wrong here? or do I just not have enough
memory?  I am running a 486/66 with 4 MB at home and get these
errors but I try it out at work, on a 485/66 with 16MB mem and
get the same results.  When I do an 'About Windows' from the help
menu, I get 75% system resources free and about 12 MB of free
Memory.  I suspect that I have something running under my
config.sys or autoexec.bat file that is causing the errors (maybe
HIMEM needs some different parameters?) and have included those
files at the end of this message. Is it something fundemental
like loading everything High?


Any help you could give me would be very much appreciated. We are
running ALLEGRO PCL at office and I would really like to work at
home with a public LISP. Many thanks in advance for your help.


Cameron Roe




************************** CONFIG.SYS
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS HIGHSCAN
BUFFERS=32,0
FILES=60
DOS=UMB
LASTDRIVE=Z
FCBS=128,0
DEVICEHIGH /L:1,12048 =C:\DOS\SETVER.EXE
SWITCHES=/F
SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:2048 /p
DOS=HIGH
DEVICE=C:\PCTCP\DRIVERS\PROTMAN.SYS  /I:C:\PCTCP\DRIVERS
DEVICEHIGH /L:1,19088 =C:\PCTCP\DRIVERS\ELNK3.DOS
DEVICE=C:\PCTCP\DRIVERS\DIS_PKT.GUP
STACKS=9,256
REM *** Oracle ***************************************************************
BREAK=ON


****************** AUTOEXEC.BAT
@ECHO OFF
LH /L:0 C:\WINDOWS\SMARTDRV.EXE
REM C:\DOS\SHARE /L:500
LH /L:1,16944 C:\DOS\SHARE.EXE /l:500 /f:5100
PROMPT $p$g
PATH=C:\WINDOWS;C:\DOS;C:\UTIL;C:\PCTCP;D:\UTIL;C:\MSKERMIT
MODE COM2:9600,N,8,1,P
SET TEMP=C:\DOS\TEMP
SET KERMIT = PATH C:\MSKERMIT

REM *** Network setup *******************************************************
SET PCTCP=C:\PCTCPINI\CAM.INI
C:\PCTCP\DRIVERS\NETBIND
LH /L:0;1,71728 /S C:\PCTCP\IEEEDRV
C:\PCTCP\SETCLOCK
LH /L:0 C:\PCTCP\IDRIVE
C:\PCTCP\IDMNT -A

REM *** Allegro **************************************************************
SET ACLSTART=D:\CAM\ALLEGRO\STARTUP.LSP

REM *** Oracle ***************************************************************
PATH %PATH%;D:\ORACLE6\BIN;D:\ORACLE6\PBIN
SET CONFIG=D:\ORACLE6\CONFIG.ORA
LH /L:1,89280 SQLTCP
REM *** Cam's Modifications **************************************************
doskey
WIN :

-- 

