Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!milano!uudell!mustang!jrh From: jrh@mustang.dell.com (James R. Howard) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: cold/warm boots with TASM Message-ID: <3015@uudell.dell.com> Date: 15 Mar 90 22:25:46 GMT References: <25FFF3C1.5C41@deimos.cis.ksu.edu> Sender: news@uudell.dell.com Reply-To: jrh@mustang.dell.com (James R. Howard) Distribution: usa Organization: Dell Computer Corp. Lines: 37 In article <25FFF3C1.5C41@deimos.cis.ksu.edu>, bdn@phobos.cis.ksu.edu (Bryan D. Nehl) writes: > > I was wondering if you all might be able to help me out. And point > out what in the world I am doing wrong. I have worked on this for > hours and haven't been able to figure this out. I would appreciate it > if someone could possibly send me (e-mail) a corrected copy of this code. > Thanks. And much appreciation. :-) How about this??? TITLE Boot.asm ; This program should do a warm boot DOSSEG .MODEL TINY .STACK 000H .DATA .CODE ; Code Starts Here ------------------------------- mov ax, 0feh ; load mask into AX out 64h, ax ; write reset mask value to kbd controller cli ; disable interrupts hlt ; hlt ; Code Ends Here ---------------------------------- END ; ---------------------- End Of File --------------------------------- -------------------------------------------------------------- James Howard ..uunet!dell!mustang!jrh or jrh@mustang.dell.com The opinions stated are my own, and do not necessarily reflect the opinions of my employer, or anyone else. --------------------------------------------------------------