Category : Miscellaneous Language Source Code
Archive   : MTD.ZIP
Filename : RESET64.ASM

Output of file : RESET64.ASM contained in archive : MTD.ZIP
;** Purpose: Reset interrupt vector 64h to 0000:0000
;** Author: (c) 1990 by Tom Swan.
;** Note: Run this program before debugging LOADTSR.EXE.
;** Do NOT run while LOADTSR is resident.
;** To compile:
;** tasm /zi reset64
;** tlink /v reset64
.MODEL small
.STACK 256

;----- Equates

TSRInt equ 64h ; TSR's interrupt number
CR equ 13 ; ASCII carriage return
LF equ 10 ; ASCII line feed
STDOUT equ 1 ; Standard output handle

Message db CR,LF,'Interrupt vector 64h reset',CR,LF,'$'

xor dx, dx ; dx <- 0000
mov ds, dx ; ds <- 0000
mov al, TSRInt ; Reset TSR's interrupt
mov ah, 25h ; vector by calling
int 21h ; DOS function 25h.

;----- Display confirmation message

mov ax, @data ; Address data segment
mov ds, ax ; with ds
mov dx, offset Message ; Address message string
mov ah, 09h ; Call DOS function 9
int 21h ; to display string
mov ax, 04C00h ; DOS function: Exit program
int 21h ; Terminate with al=exit code

END Start ; End of program / entry point

  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : MTD.ZIP
Filename : RESET64.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: