
; Copyright 2004-2005 Christopher Evans
; email:   tekno1911@yahoo.com
; Website: http://nxdos.sourceforge.net/
;                                                                           ;
;       This program is copyrighted, but may be freely distributed          ;
;       under the terms of the Free Software Foundation's GNU General       ;
;       Public License v2 (or later.)  See the file COPYING for the         ;
;       legalities.  If you did not receive a copy of COPYING, you          ;
;       may request one from the Free Software Foundation, Inc.,            ;
;       59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           ;
;       ABSOLUTELY NO WARRANTY -- use it at your own risk!                  ;
;                                                                           ;

code            segment byte public
                assume  cs:code, ds:code
		org	100h
intinfo         proc    far

start:          jmp     initialize
include         \nxdos\src\toolbox.asm
                _compile
initialize:

                push cs
                pop  es
                mov  bx, ProgramEnd
                call resize
                jc   exitptr
                     call cs:main
exitptr:        call dosexit
                int 20h      

intinfo         endp

main proc far
     _echo 'I'
     _echo 'N'
     _echo 'T'
     _echo '>'
     mov  bx, 16
     call readnum
     push ax
     _newline
     pop  ax
     call getvector
     push es
     push bx
     push es
     pop  ax
     call put_hex
     _echo ':'
     pop  ax
     push ax
     call put_hex
     _echo 'h'
     _newline
     pop  si
     pop  es
     mov  cx, 128
     call debugdump

     ret
main endp

code            ends

ProgramEnd      EQU $-01h

		end	start
