Article View: comp.sys.ibm.pc.programmer
Article #1300How to do a warm-boot from ASM
From: Bryan D. Nehl
Date: Tue, 20 Feb 1990 03:45
Date: Tue, 20 Feb 1990 03:45
22 lines
1577 bytes
1577 bytes
In article <P#$#92_@rpi.edu> mcintyre@turing.cs.rpi.edu (David McIntyre) writes:
>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. I know the format of the rest of the program is
good because it's just a shell that I use to stick bios calls into.
For instance I use the same skeleton and set the video mode and cursor size.
Any ideas? I am thinking maybe I need to change some register values
since the description of int19h that I read says that it preserves memory.
Bryan.
/* ========== kodiak%kodiakpc.uucp@phobos.cis.ksu.edu =============+
[ Big Bad Bear Beasties Inc. ][ Bryan Nehl ]
[ kodiak@ksuvm.ksu.edu ][ bdn@phobos.cis.ksu.edu ]
+___ ...!{rutgers|texbell}!ksuvax1!phobos.cis.ksu.edu!bdn _____ */
Technical Details
Message-ID:
<25E0BD4E.35EB@deimos.cis.ksu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!deimos!phobos.cis.ksu.edu!bdnReferences:
<2028@milton.acs.washington.edu> <P#$#92_@rpi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!deimos!phobos.cis.ksu.edu!bdn From: bdn@phobos.cis.ksu.edu (Bryan D. Nehl) Newsgroups: comp.sys.ibm.pc.programmer Subject: How to do a warm-boot from ASM Keywords: boot, ASM, TASM, MASM Message-ID: <25E0BD4E.35EB@deimos.cis.ksu.edu> Date: 20 Feb 90 03:45:17 GMT References: <2028@milton.acs.washington.edu> <P#$#92_@rpi.edu> Sender: news@deimos.cis.ksu.edu (USENET News Admin) Distribution: na Organization: Dept. of Computing and Information Sciences, Kansas State U. Lines: 22