home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!sdd.hp.com!swrinde!ringer!mlevis
- From: mlevis@ringer.cs.utsa.edu (Mike Levis)
- Newsgroups: comp.os.msdos.programmer
- Subject: Re: Novice question: how to boot from a bat file?
- Message-ID: <1992Aug30.231643.24155@ringer.cs.utsa.edu>
- Date: 30 Aug 92 23:16:43 GMT
- References: <1992Aug30.033912.729@u.washington.edu> <adgn1#p.messina@netcom.com> <1992Aug30.205151.18716@uwasa.fi>
- Organization: University of Texas at San Antonio
- Lines: 28
-
- In article <1992Aug30.205151.18716@uwasa.fi> ts@uwasa.fi (Timo Salmi) writes:
- >In article <adgn1#p.messina@netcom.com> messina@netcom.com (Tony Porczyk) writes:
- >>begin 666 reset.com
- >>1ND``CMJ[<@#'!S02Z@``__\`
- >>It's not too long :-), after uudecoding it should be 17 bytes long.
- >
- >Yes I know it is certainly not too long, but whether just a few
- >characters or hundreds of lines, please do not use this practice.
- >Here is the why:
- [...]
- >Prof. Timo Salmi
-
- I don't think that the uue prog was inappropriate. It is much
- shorter than the source code I see posted (which I don't mind
- at all, BTW).
-
- P.S. I optimised the reset.com and here is the source code:
- sub ax, ax
- mov ds, ax
- mov word ptr [0472h], 1234h ; mov word ptr ds:[472h],1234h
- db 0EAh, 00, 00, 0FFh, 0FFh ; jmp FFFF:0000
- This one is only 15 bytes long.
-
- --
- ==== Mike Levis mlevis@ringer.cs.utsa.edu ====
- :: ftp syrinx.umd.edu (128.8.2.114) for :: .--.
- :: Rush lyrics, gifs, and information. :: (OS/2)
- :::: Get the Rush FAQL in dir /rush/special :::: ~--~
-