[comp.binaries.amiga] hideII -- disable allocation of non-chip memory

afb@j.cc.purdue.edu (Matthew Bradburn) (11/15/87)

This is a program by
F. Rouaix  <...mcvax!inria!rouaix, rouaix@inria.inria.fr> and
G. Hewes

Which may be used to prevent programs from allocating memory from
fast RAM (some don't specifically ask for chip even when that's 
what they need).  Binaries only, for now.


Poster-Boy:

Matthew Bradburn
(j.cc.purdue.edu!afb)
BRADBURN@PURCCVM.BITNET

------------------------ chop here ------------------------------------
#	This is a shell archive.
#	Remove everything above and including the cut line.
#	Then run the rest of the file through sh.
#----cut here-----cut here-----cut here-----cut here----#
#!/bin/sh
# shar:	Shell Archiver
#	Run the following text with /bin/sh to create:
#	hide.doc
#	hideII.info.uue
#	hideII.uue
# This archive created: Sat Nov 14 20:28:15 1987
# By:	Matthew Bradburn (Purdue University)
cat << \SHAR_EOF > hide.doc

NAME
====

   HideII       (version II of Hide)


DESCRIPTION
===========


HideII is a small utility allowing you to run old or ill-written
applications on an Amiga with more than 512Kb memory.
When HideII is running, you will see a big switch on your screen.
When the switch in ON, HideII is activated, and all memory allocation will
take place in Chip Memory.
When the switch is OFF, memory allocation is done as usual.
The idea is to be able to switch easily, just to launch the bad
applications, on the contrary of other programs of the same type,
that allocate ALL Fast Memory, and kind of freeze your Amiga.

This is an icon driven version of Hide:
   You are supposed to run hide by clicking its icon, although you may
type 'run hideII' under CLI.


HideII is working on 1.2 systems (perhaps even on 1.1).
Tested with:   robo-city (have you ever tried with 2M memory ??)
               Boing!   (mouse sprite invisible with 2M  memory)
               DPaint   (palette gadgets invisible)
               ChessMaster 2000   (Board Menu invisible at the beginning)
               DPSlide
            and so on...


CAVEATES
========
         - DO NOT RUN HIDE TWICE, NO TEST ARE MADE, If you do, close
       The windows in the inverse order you opened them ie last open
       first closed.

         - HideII may not work in conjunction with Snoop since HideII
       uses the same modification of libraries

         - if the application allocates memory after initialization, you may
         have to keep HideII running all the time if memory allocation
         is not properly done

         - HideII does not survive a reboot. In the case of Games, you
         still may use HideII if the game starts in a normal
         startup-sequence, and if you don't break the copy-protection
         scheme by adding the HideII program on the disk.


DISTRIBUTION
============

Hide is public domain. You may distribute it as long as the Copyright (in
the Screen title bar) remains intact. You may NOT sell it, or include
it in a commercial package.


Please send any bugs, comments, suggestions to
      ...mcvax!inria!rouaix
         rouaix@inria.inria.fr

                                    The Authors:
                                          Hide     - F. Rouaix
                                          Graphics - G. Hewes



SHAR_EOF
cat << \SHAR_EOF > hideII.info.uue
begin 600 hideII.info
MXQ   0      %  W %  *@ &  ,  0 AUI  (==0                    
M     Q0              !4    L                      !0 "H  @ "
MY= #                  ,            "            !(          
M  0            ,0       %   $(       6OX !2       %_( !@D   
M   #_\  2*      3?_  -&0     %[^( &#4     .X>^ #("@    )@ /P
M!@10    +_@'\ P<3    !__!W Z.6    #?_^"HX;OP   !9__X'\>"Z   
M GA__XP&CE0  !?_@_\T+"[@   O?_ ;H'QX9  !5X_ ?0'@NL   #_@ \0'
M 86B !(_P'X 4@$"@  )?V/A > '"P  )_C]" X #!<  $N?: #\ '@*   6
M]@ /4(' #(  H]" >H .4!P  %]$!]E =0@Z@ /] !7 (-B"/0 'Y(#U4 >A
M0&@ '\0'>B@_ (#< 'U0?R )>@ AT0 T ]2 !]0  ^P@:1[) "[!  ?RB G]
M0 &U($!/K! GPQ 'R0$2'TD$'2A &]! 0+=D &0" /52$ 'N"8   *&Z )!%
MH  @     $ ""                        __@  "      '___@ %P   
M  ?___^ "T     ?____P!O@    ?____N SH    ?____^P+V    ?____]
M\"M@   ?____^^ ?8   /____\^ -U   '_____\ "YH  #_____\ )\J  #
M______ $W]  !____'_X"?NL  ____\/^!/CL  ?______A%QIP /______]
M'D0, '______^#A]%@#_______/Y<:H!_______+T]$> ______\7X.'F@?_
M___W@OX?13X/_____#OX_GI='____X'_K?[]?S___YP>_A_X]/\___\"]_'_
M\^C_?__@E_\#_X?U_W__"?_PKWX_\W]__"]_A7_QK^/__^"[^":_BO?%?_X"
M_^H_WR=]PO_\&W\*K_A>OY?_X#OXA=? _W\C_X*O@-_VA?_>+O_+_"M_^"O_
M_!/?EN$V_]$^__@-=_8"O_Y*W[^P4^_8/._X-O[MX+;[XM>_Y"^_OTB;_YO]
M_PJM[_X1]G_ !UY%_V^Z7__>  #_ ;_]]^ /_P     ___@  /P      %  
M*@ "  +I& ,                  0                          @   
M         $            !        4    @      !:_@  (       7\@
M  "0      /_P   H     !-_\   )      7OX@  #0     [A[X   J   
M  F  _   5     O^ ?P  #,    '_\'<  !:    -__X*@  _    %G__@8
M  *H   ">'__F  &5   %_^#__P #6   "]_\#_\ "ID  %7C\ !^  U4   
M/^      RJ( $C_@  _X 9*0  E_@ '__@9D9  G_P ?__\,BD$ 2_H!___^
M<<A@ !?^#__U\<,0D "_\/__J8Z,,(@ /@___4!T,$&  -G___H R,C)2 %W
M___H!R$!@H &____0#R&1T9 "S___0%H' P)  7__^@7PG(9C" 4__] KB&0
M>A*(&?_Z!?4.B<B\$ __L#_8% . 200!_0#Z@&)-4.0    ']"/ 4"&)@   
M&IX$"&H" "   ' !  ( !     &                #_^   (      ?__^
M  #     !____X  0    !_____  *    !____^X "@   !_____[ !8   
M!_____WP 6   !_____[X %@   _____SX !4   ?_____P  6@  /_____P
M  $H  /_____\  !4  '___\?_@  *P #____P_X  $P !______^  "E  _
M______P ! P ?______\  U6 /_______  9J@'_______X ,IX#_______^
M %6:!_____!__@'*K@_____ #_P#-5T?___P ?_^!FUO/___X!___XF;FS__
M_X'____3=;Y___\/____CC>??________CSO;W________%SSW?_______^+
MS[Y_________-S<VM_______^-[^?7_______\-YN+F_______Z7X_/V____
M___H/8WF<]______4=YOA>UW____^@KQ=C=#[W___\ GZ_Q_MOL/__\%?YVR
KKQO_?__X"]P_K]YV?___Y6'[]Y7]_]X__X@&\ V!^@__ _YP . # &  _)VR
 
end
SHAR_EOF
cat << \SHAR_EOF > hideII.uue
begin 600 hideII
M   #\P         +          H   !Q    ;@   -(   'W     P    < 
M        "    "T    1         ^D   !Q(\\    <(\     D(\@    H
M0KD    @+'D    $(\X    $D\E.KO[:*$!*K "L9P  J&$  6P@; "LT<C1
MR"!H !#1R-'(2.<@,$7Y    K$?Y    +'0!<  0&";*8 (4V%'(__Q"&B Y
M    )"!Y    *!(84X!O'@P! "!O]%*")LI@"A(84X , 0 @;P04P6#R0AI@
MW$(:0IL@ DS?# 1(>0   "PO $ZY     "/     $$ZY    $"/     %"/ 
M    &$ZY     '  +GD    <3G5A  #&80  L"/     ($*G+P D0" J "1G
M$"QY    ""! (B@  $ZN_X(B*@ @9R@D/    ^U.KO_B(\     0(\     4
M(\     89PKEB"! *6@ " "D3KD     < !@!" O  0N>0   !PO "QY    
M!" Y    "&<"(D!.KOYB2KD    @9PY.KO]\(GD    @3J[^AB ?3G5(YP$&
M+CP  X '+'@ !$ZN_Y1,WV" <&1@L$'L %Q.KOZ 0>P 7$ZN_HQ.=4*Y    
M"$/Y   !K" \    'DZN_=@CP     AGMDYU      /L    &@    $   &Z
M   !J@   :0   %J   !7@   5    %"   !(@   1P   $6    ]@   .0 
M  #4    Q@   ,    "T    I@   '(   !L    5    $X    @    %   
M  X    (     @    (    "    S    30    !    !P   +H    !    
M!P   *X        #\     )N;T1/4P       78    ",20W-3(       !D
M     C$D-S4X       !6     (R)#<U,@       &(    ",R0W-3(     
M  !V     C0D-S4R        B     (U)#<U,@       )(    "<W1A<G1U
M<            C8D-S4R        E@    )O<&5N1$]3     :(    "7V5X
M:70       $\     F9R;VU#3$D     -     -E>&ET5&]$3U,       %R
M    !&9R;VU7;W)K8F5N8V@       #:     F1O8V]N<P     !!     )D
M;VUA:6X      3(    "=V%I=&US9P    &0     G!A<FU%>&ET    F@  
M  )E>&ET,@       4         #\@   ^H   !N  $                 
M                                                            
M                                                            
M                                                            
M                                                            
M                                                            
M                                                            
M                                                            
M                                                            
M                                                            
M          !D;W,N;&EB<F%R>0    /P     W)E='5R;DUS9P       "  
M   "7W-T9&5R<@     8     E]S=&1O=70     %     -A<F=V0G5F9F5R
M      "L     D1/4TYA;64    !K     )?4WES0F%S90    0    "7V5R
M<FYO       ,     V%R9W9!<G)A>0       "P    #9&]S0VUD0G5F    
M    *     -I;FET:6%L4U         <     V1O<T-M9$QE;@       "0 
M   "7W-T9&EN       0     E]$3U-"87-E    "     )697)2978     
M           #\@   ^D   #23E;_8"UY    !/_\D<AP(2\ 2'D   =P+4C_
M9"U(_VQ.N0   )Q0CR/      $J 9P "P' A+P!(>0  !X).N0   )Q0CR/ 
M    !$J 9P "HG "+P O/   !W!.N0    !0CRU _VQ*@&<  H9"KO]H("[_
M: R     [FQLXX @;O]LT< B0"])  #3_      PD0:    !W"!N_VS1P")O
M  #3_    =PPD2 O   &@    [@@;O]LT< B;P  T_P   .X,)$@+P  !H  
M  64(&[_;-' (F\  -/\   %E#"14J[_:&"(D<@M2/^8< (]0/^</7P "_^>
M<&$]0/^@<"(]0/^B/7P !O^D/7P! _^F< $]0/^H0>[_A"U(_ZI![O]P+4C_
MKI'(+4C_LCU\ !W_OG  /4#_A#U _X9P CU _XQP83U _XAP(CU _XH@;O]L
M+4C_CG #'4#_DG  '4#_DY/)+4G_E'  /4#_<#U _W(]? !A_W0]?  B_W8]
M?  "_WC0_ .X+4C_>AU\  /_?D(N_W\M2?^ <&0]0/_,/4#_SCU\ &7_T#U\
M "[_TG#_'4#_U!U _]4M?    F#_UBU\  ( #O_:0>[_F"U(_]XM2?_B+7P 
M  >3_^8]?  !__I(;O_,3KD    46(\M0/_(2H!G  #V2'D   >4</\O "\N
M_\A.N0   "A/[P ,2'D     2'G___\Z+R[__$ZY    @$_O  PCP     @B
M;O_((&D 5G  $"@ #W(!X:$O 4ZY    ,%B/(&[_R"\H %9.N0   $18CRU 
M_\1*@&<@($ ,J    @  %&8&< $M0/]D+R[_Q$ZY    6%B/8,@P+O^D"   
M!V<<+SD    (2'G___\Z+R[__$ZY    @$_O  Q@&DAY     $AY____.B\N
M__Q.N0   (!/[P ,#*X    !_V1F /]B3G$O.0    A(>?___SHO+O_\3KD 
M  " 3^\ #"\\   '<"\N_VQ.N0   !A0CTJN_\AG#"\N_\A.N0    !8CTJY
M    !&<.+SD    $3KD   !L6(]*N0    !G#B\Y     $ZY    ;%B/3EY.
M=0     #[     @    #   "     =P   #>    P@   *8   ".    .@  
M !0    )    !    S8   ,N   #(    Q@   +:   "E@   C(   !(    
M*@    $    !    !@    (    (    (@   $     !    "    %X    !
M    "0   >X    !    "0   @X    "    !0   A@   *R    !     @ 
M  (H   "I@   L(   +J     0    @   ),     0    @   )<     0  
M  @   *"     0    @   +^     0    D   ,0     @    @   ,F   #
M/         /Q    D@   "T         +@    0    T    #    #D    .
M    .@   "X    ]    -    #X   !,    0    %(   !!    9    $4 
M  !N    1P   'X   !(    E    $D   "L    2@   ,@   !-    Z@  
M $X   #P    3P   /8   !0    _    %$   $"    4@   0@   !3   !
M#@   %0   $4    50   1H   !6   !(@   %<   $J    6    3    !:
M   !-@   %L   $\    7    4    !=   !1@   %X   %,    7P   5( 
M  !@   !6@   &$   %@    8@   68   !E   !;    &8   %R    9P  
M 78   !H   !?    &D   &"    :@   8@   !K   !D    &P   &6    
M;0   9H   !Q   !G@   '(   &D    <P   :@   !T   !K@   '4   &T
M    =@   ;H   !W   !O@   'D   '&    >@   <X   ![   !U@   'P 
M  ':    ?0   >(   "    !Z    (0   '^    A@   A8   "+   "-@  
M (T   )2    D    FH   "1   "?    )0   **    E0   I0   "6   "
ML    )<   +*    G    M@   "@   "\@   *$   ,$    H@   Q8   "C
M   #+    *@   -"   #\@   ^H   'W________________@ #_________
M______^  ,               8  W______________]@ #?___________X
M/_V  -C_________^  ?C8  TG________@   \E@ #7?______X    !W6 
M -)_           #)8  V/]_____      .-@ #?_W____\      _V  -__
M?____P     #_8  W_]_____      /]@ #?_WX=#_\      _V  -__?>SW
M_P     #_8  W_][]?O_      /]@ #?_WOU^_\      _V  -__>_7[_P  
M   #_8  W_]][?O_      /]@ #?_WX=^_\      _V  -__?____P     #
M_8  W_]_____      /]@ #?_W____\      _V  -C_?____P     #C8  
MTG\           ,E@ #7?______\    !W6  -)________\   /)8  V/__
M_______\ !^-@ #?___________\/_V  -_______________8  P       
M       !@ #_______________^  /_______________X              
M      #_______________^  /_______________X  ________________
M@ #_______________^  /_______________X  ____________^'__@ #_
M__________@ 7_^  /_________X  !/_X  ________^    $?_@ #__X  
M  "     1_^  /__@    (    !'_X  __^     @    $?_@ #__X    " 
M    1_^  /__@>+P (    !'_X  __^"$P@ @    $?_@ #__X0*! "     
M1_^  /__A H$ (    !'_X  __^$"@0 @    $?_@ #__X(2! "     1_^ 
M /__@>($ (    !'_X  __^     @    $?_@ #__X    "     1_^  /__
M@    (    !'_X  __^     @    $?_@ #________\    1_^  /______
M___\  !/_X  ___________\ %__@ #____________\?_^  /__________
M_____X  ________________@ #_______________^  /______________
M_X  ________________@                    /_______________X  
M________________@ #               &  -_______________8  W_X?
M___________]@ #8_  ?_________XV  -)X   ?________)8  UW     ?
M______]U@ #28           ?R6  -C@     '____]_C8  W^      ?___
M_W_]@ #?X     !__S\_?_V  -_@     '_^_O]__8  W^      >'W]_W_]
M@ #?X     !WN#@_?_V  -_@     &_=_?]__8  W^      ;]W]_W_]@ #?
MX     !OW?W_?_V  -_@     '>]_?]__8  W^      >'W]_W_]@ #?X   
M  !_____?_V  -_@     '____]__8  W^      ?____W_]@ #8X     !_
M____?XV  -)@          !_)8  UW     /______]U@ #2>   #_______
M_R6  -C\  __________C8  W_X/___________]@ #?______________V 
M ,               8  ________________@ #_______________^     
M                ________________@ #_______________^  /______
M_________X  ________________@ #_______________^  /__'_______
M_____X  __T '___________@ #_^0  '_________^  /_Q    '_______
M_X  __$     @    /__@ #_\0    "     __^  /_Q     (  P,#__X  
M__$     @ $! /__@ #_\0    "'@@( __^  /_Q     (A'Q\#__X  __$ 
M    D"(" /__@ #_\0    "0(@( __^  /_Q     ) B @#__X  __$     
MB$(" /__@ #_\0    "'@@( __^  /_Q     (    #__X  __$     @   
M /__@ #_\0    "     __^  /_Q     (    #__X  __$    /________
M@ #_^0  #_________^  /_]  ___________X  __\/____________@ #_
M______________^  /_______________X  ________________@ #_____
M__________^  /_______________X                    !I;G1U:71I
M;VXN;&EB<F%R>0!G<F%P:&EC<RYL:6)R87)Y   M+2T^($A)1$4@*BHJ(%8@
M.#<P-S(X("HJ*B!&<F%N8V]I<R!2;W5A:7@@)B!'97)A;&0@2&5W97,@*BHJ
M($A)1$4@/"TM      /R   #ZP    ,   /R   #Z0    <O" *!____^P"!
M     B!Y    "$Z0(%].=0     #[     $    $    $         /R   #
MZ0        /R   #Z0    @O#BQY    "$ZN_\HL7TYU+PXL>0    A.KO_$
M+%].=0   ^P    "     0    0    4         _     "7TEN<'5T    
M         E]/=71P=70     $         /R   #Z0   "TO#BQY    !$SO
M  , "$ZN_SHL7TYU   O#BQY    !")O  @@+P ,3J[_+BQ?3G4O#BQY    
M!" O  A.KO["+%].=2\.+'D    $(&\ "$ZN_HPL7TYU+PXL>0    0B;P (
M3J[^ABQ?3G4O#BQY    !")O  A.KOYB+%].=2\.+'D    $(F\ ""!O  P@
M+P 03J[^7"Q?3G4O#BQY    !")O  @@+P ,3J[]V"Q?3G4   /L    "   
M  $    $    '    #0   !(    7    '    "$    H         /P    
M U]!;&QO8TUE;0             "7T9R965-96T    8     E]786ET    
M    ,     )?1V5T37-G     $0    #7U)E<&QY37-G        6     1?
M0VQO<V5,:6)R87)Y        ;     -?4V5T1G5N8W1I;VX   "      U]/
M<&5N3&EB<F%R>0   )P        #\@   ^D    1+PXL>0     @;P (3J[_
MN"Q?3G4O#BQY     "!O  A.KO\T+%].=4CG "(L>0    !,[P<   Q.KO[L
M3-]$ $YU      /L     P    0    $    &    "X        #\     -?
M0VQO<V57:6YD;W<          U]/<&5N5VEN9&]W     !0    $7U-E=%=I
B;F1O=U1I=&QE<P   "@        #\@   ^H        #\A0 
 
end
SHAR_EOF
#	End of shell archive
exit 0