; Copyright 2004-2005 Christopher Evans
; 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!                  ;
;                                                                           ;

data segment    ; data things here
        msg1    DB '',0dh,0ah,'$' 
        msg2    DB '',0dh,0ah,'$' 
include \nxdos\src\tbx_data.inc
data ends

code   segment
       assume cs:code, ds:data, es:data, ss:_stack
        jmp     start
include \nxdos\src\tbx_code.inc
       
start:  mov  ax, data    ; Establish data and extra segment addressability 
        mov  ds, ax      ; aka  setup the stack n' data segments
        mov  es, ax
main:   ; main code go here!

exit:   call dosexit
        int     20h
code ends

_stack     segment word stack 'STACK'
           db      0100h DUP (05h)
_stack     ends

     end  start
