Re: A86: Hiding Programs


[Prev][Next][Index][Thread]

Re: A86: Hiding Programs




If the first character of a program is less than 'A',
then it is not detected by any shells or the os.  To
hide a program like this, use this routine (it isn't
tested):

 ld hl,progname-1
 rst 20h
 rst 10h
 ld de,6
 add hl,de    ;point hl to first character in VAT
 ld (hl),0

progname:
 .db 4,"prog"     ;length followed by name

This routine changes the program's name to:
 .db 0,"rog"

--- Nicolas P Zagorin <ziggy2282@juno.com> wrote:
> 
> How do u hide an asm prog so it won't show up in the
> shell?  I've tried
> using routines like this:
> 
> 	bit 2,(iy+31)
> 	jp z,$416c
> 
> However, these seem to only work for strictly data
> programs...is their
> another way to hide things?
> 
> ~Nick
> 
>
___________________________________________________________________
> You don't need to buy Internet access to use free
> Internet e-mail.
> Get completely free e-mail from Juno at
> http://www.juno.com/getjuno.html
> or call Juno at (800) 654-JUNO [654-5866]
> 
> 

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Follow-Ups: