Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!DDATHD21.BITNET!XBR1YD22 From: XBR1YD22@DDATHD21.BITNET Newsgroups: comp.sys.atari.st Subject: GEMBOOT and MWC V2.0 Message-ID: <8705252303.AA13437@ucbvax.Berkeley.EDU> Date: Mon, 25-May-87 19:03:00 EDT Article-I.D.: ucbvax.8705252303.AA13437 Posted: Mon May 25 19:03:00 1987 Date-Received: Tue, 26-May-87 03:52:02 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 68 Received: from BR1.THD.DA.D.EUROPE by DDATHD21.BITNET via GNET with RJE ; 26 May 87 00:58:21 Date: Tue, 26 May 87 00:56:25 +0200 (Central European Summer Time) From: XBR1YD22%DDATHD21.BITNET@Forsythe.Stanford.EDU (Ralf Bayer {Herz-Baerchi}) Subject: GEMBOOT and MWC V2.0 To: info-atari16@score.stanford.edu X-VMS-To: X%"info-atari16@score.stanford.edu",X%"ihnp4!mwc!dag@ucbvax.Berkeley.E DU",BR4::D76H,YD22 I just unpacked my copy of MWC V2.0 and had (expected) problems with MSH (I'm using GEMBOOT to protect my harddisk). I took a deep breath and wrote a little program that just displays it's own basepage. When run with GEMBOOT present, it would display an environment string like "PATH=;C:" or something like that, when run from a floppy disk system (hard disk switched off) it would show "PATH=" only. Patching _shell_p to a 0L didn't help. So I took the address of that path string from _shell_p and patched the '=' to '\0'. With that hack, the new MSH worked like a charm. I wrote a little program that does said patching automatically. The caveat is, you can't simply put it in the autofolder, because appearently doesn't let any programs from that folder execute after it. (Thou shalt have no auto programs beside me? 8-) I put the program in the same folder that contains MSH.PRG, PROFILE and POSTFILE (I don't like searching for MSH among 30 other pgms in the BIN folder), and after booting the machine I simply execute BOOTFIX.PRG (from the desktop) and then MSH.PRG. The following archive contains: BOOTFIX.C and BOOTFIX.PRG. Ralf Bayer (The Care-Baer) Computing Center @ the Technical University of Darmstadt, West Germany Arpanet: xbr1yd22%ddathd21.BITNET@wiscvm.wisc.EDU BITNET: xbr1yd22@ddathd21 ----------------------------------------------------------------------- > REAL programmers use FORTRAN < ----------------------------------------------------------------------- ------------------------cut here ------------------------------------ begin 644 bootfix.arc M&@A"3T]41DE8+D, 8@ +D.8+',,'4 ,;<*D<8,B18,&"O8<5 "d MQ!@T8>2 4-$F#QPZ&B8L9&B)4.8%C%NJ=$%!,T37&"<,-IG(1H(0D]/5$9)d M6"Y04D< ,# "Y#K*T+H =! #& T P@ P 2 .,')2@X@T B#: , 0d MK1T #B0DLA "2 02)1+.0!&AR(02$EF4:###CR3(,SP8; 0Q P[F0"DF#&'d M\X@9<#BMF-&&LX<9!4HFG#$P8MG 8*$9 *1@*1)E"I9NI1@1IX) &9D2*4Jd M@M]34D4L J*@ 4E4&2 R '!]HP%6@'.X)NB1(2RN@KPFL$G1,6_?V#,2161d M8%J~IZ9&!(/L(LF*) ]?-!B![*F?%PA> ) $B%R@*4%~!)C4[$4"S4+._. !d M0(F3(-[,,E RR(R+V0~!"W"2:V 5#X $3=N[P/4A< P(P*KBQH!"GP %">;=Q\82"d M+%3PP@$BDAB$B2 8P(2&P$1HX4 )+@@'$RYR9R-[[JV8(P)P%-'C$SX P 8$d M,!R !#"B53> $-R!(<*0U0WW8 ] +-B& T/~<$"6IG#7I L?_-C>>P>$J: "d M&2:~288#C3Y9)1[3LD=FFK~@T~&d M( #B@X((-&D%$ QT*8 8')2#! Q 1&,6062 (43T("A AQ0@&$"'$%8"<<0d M8'B@Q!%?JI#'4X),P2L"2G0P&!R($5N!7A!4@ 0@,U8:Z:0:6HKIKKW~2E"Pd MPQ9[+&)(+8L/#&]J &VUTU)J[8*: