|
|
| version 1.2, 2004/01/31 20:05:23 | version 1.3, 2004/06/10 04:49:48 |
|---|---|
| Line 1 | Line 1 |
| CODE SEGMENT | ORG 100h |
| ASSUME CS:CODE,DS:nothing,ES:nothing,SS:nothing | USE16 |
| ORG 0100H | CPU 8086 |
| include np2tool.inc | %include 'np2tool.inc' |
| START: cld | START: cld |
| push cs | push cs |
| Line 16 START: cld | Line 16 START: cld |
| int 21h | int 21h |
| err_nonnp2: mov ah, 9 | err_nonnp2: mov ah, 9 |
| mov dx, offset illegal | mov dx, str_illegal |
| int 21h | int 21h |
| mov ah, 9 | mov ah, 9 |
| mov dx, bx | mov dx, bx |
| int 21h | int 21h |
| mov ah, 9 | mov ah, 9 |
| mov dx, offset crlf | mov dx, str_crlf |
| int 21h | int 21h |
| mov ax, 4c01h | mov ax, 4c01h |
| int 21h | int 21h |
| include np2tool.x86 | %include 'np2tool.x86' |
| db 8, 'poweroff' | db 8, 'poweroff' |
| illegal db 'Illegal hardware - $' | str_illegal db 'Illegal hardware - $' |
| crlf db 0dh, 0ah, '$' | str_crlf db 0dh, 0ah, '$' |
| CODE ENDS | ends |
| END START | |