🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
3 messages
3 total messages Started by Bryan D. Nehl Thu, 15 Mar 1990 19:57
cold/warm boots with TASM
#46
Author: Bryan D. Nehl
Date: Thu, 15 Mar 1990 19:57
39 lines
1910 bytes
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<-------
Re: cold/warm boots with TASM
#47
Author: James R. Howard
Date: Thu, 15 Mar 1990 22:25
37 lines
1709 bytes
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.
--------------------------------------------------------------
Re: cold/warm boots with TASM
#50
Author: Rich Winkel
Date: Fri, 16 Mar 1990 03:26
16 lines
1116 bytes
In <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.  :-)
%>        mov dx,        0
%>        mov ds, dx
%>        mov ax, 1234      <<<---1234h
%>        mov [472], ax     <<<---472h
%> 
%>; leave only jmp for a cold boot routine.
%> 
%>        jmp far ptr 0ffffh:00000h

Rich
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads