🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1304

Re: How to do a warm-boot from ASM

#1304
From: David McIntyre
Date: Tue, 20 Feb 1990 05:47
32 lines
1791 bytes
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'......"
Technical Details
Message-ID: <T*$#PT+@rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!turing.cs.rpi.edu!mcintyre
References: <2028@milton.acs.washington.edu> <P#$#92_@rpi.edu> <25E0BD4E.35EB@deimos.cis.ksu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <T*$#PT+@rpi.edu>
Date: 20 Feb 90 05:47:09 GMT
References: <2028@milton.acs.washington.edu> <P#$#92_@rpi.edu> <25E0BD4E.35EB@deimos.cis.ksu.edu>
Reply-To: mcintyre@turing.cs.rpi.edu (David McIntyre)
Distribution: na
Organization: Rensselaer Instipoly Technitute
Lines: 32