Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!decwrl!nsc!balaji From: balaji@nsc.nsc.com (Balaji Pitchaikani) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: How to do a warm-boot from ASM Keywords: boot, ASM, TASM, MASM Message-ID: <13639@nsc.nsc.com> Date: 27 Feb 90 02:05:45 GMT References: <2028@milton.acs.washington.edu>
<25E0BD4E.35EB@deimos.cis.ksu.edu> Distribution: na Organization: National Semiconductor, Santa Clara Lines: 23 In article <25E0BD4E.35EB@deimos.cis.ksu.edu> bdn@phobos.cis.ksu.edu (Bryan D. Nehl) writes: >In article
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 Int 19h is actually used to activate the code in the Extra EPROM provided. Mostly this EPROM contains BASIC. Your system may be having problem accessing this EPROM. If you are using C, you can make a setjmp to F000:E05B and then do a longjmp to this location. THIS WILL REBOOT YOUR SYSTEM! For Assembly programs just do a jmp far to F000:E05B. >Bryan. balaji (balaji@nsc.nsc.com)