Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!turing.cs.rpi.edu!mcintyre From: mcintyre@turing.cs.rpi.edu (David McIntyre) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: How to do a warm-boot from ASM Keywords: boot, ASM, TASM, MASM Message-ID: Date: 20 Feb 90 05:47:09 GMT References: <2028@milton.acs.washington.edu> <25E0BD4E.35EB@deimos.cis.ksu.edu> Reply-To: mcintyre@turing.cs.rpi.edu (David McIntyre) Distribution: na Organization: Rensselaer Instipoly Technitute Lines: 32 Bryan D. Nehl writes: >I write: >>jimmy writes: >>>Does anyone know how to do a boot from a C program? >>Yes, just do an Interrupt 25 (which is 19h). That will do it nicely. >I am trying do the same thing from assembler but when I call >int 19h it acts like its going to reboot, seems like it's rebooting >and then just hangs. Well, you had me scared. I wrote the following CHASM program: ------------------------- cut here ----------------------------- ;=====================================; ;WARMBOOT Version 1.00 ; ; 1990 by David McIntyre ; ; ; ; Source file for CHASM. ; ;=====================================; INT 19H ------------------------- cut here ----------------------------- Well, one nice thing about CHASM is that you don't need a bunch of garbage. Anyway, this program, compiled into boot.com, reboots my computer. A warm boot, actually. -Dave Dave "mr question" McIntyre | "....say you're thinking about a plate mcintyre@turing.cs.rpi.edu | of shrimp.....and someone says to office : 518-276-8633 | you 'plate,' or 'shrimp'......"