[alt.msdos.programmer] cold/warm boots with TASM

bdn@phobos.cis.ksu.edu (Bryan D. Nehl) (03/16/90)

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.  :-)

Bryan.

----8<-------8<----------------8<----------------8<-------------8<----------
TITLE   Boot.asm
;   This program should do a warm boot
DOSSEG
.MODEL  TINY
.STACK  000H
 
.DATA
.CODE
 
;   Code Starts Here  -------------------------------
 
        mov dx,        0
        mov ds, dx
        mov ax, 1234
        mov [472], ax        
 
; leave only jmp for a cold boot routine.
 
        jmp far ptr 0ffffh:00000h
        
;   Code Ends Here ----------------------------------

;/* ========== 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   _____ */
 
END ; ---------------------- End Of File ---------------------------------
--------8<---------------8<---------------------8<------------------8<-------