Re: A86: Hiding Programs
[Prev][Next][Index][Thread]
Re: A86: Hiding Programs
--- Chris Phelps <chicane@reninet.com> wrote:
>
> >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):
>
> Eh...Not exactly.
> MSE, ASE, YAS, and most others will detect this
> program ($00,"rog").
> As I am the author of MSE/ZAP-OS, i can tell you
> that neither will detect
> programs that start with [sqrt],'!','#',or 'mse'.
You're right :-) Just change the ld (hl),0 to ld
(hl),'!'
>
> > ld hl,progname-1
> > rst 20h
> > rst 10h
>
> ld a,b
> ex de,hl
>
> > 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"
> >
> Actually, its .db $04,$00,"rog"
>
>
> Chicane
> chicane@reninet.com
> http://zapo.calc.org
>
>
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com