7c0a5de1e7
git-svn-id: svn://kolibrios.org@1407 a494cfbc-eb01-0410-851d-a64ba20cac60
23 lines
635 B
NASM
23 lines
635 B
NASM
format MZ
|
|
heap 0
|
|
stack 800h
|
|
entry main:start
|
|
|
|
segment main use16
|
|
|
|
start:
|
|
push cs
|
|
pop ds
|
|
|
|
mov dx, msg
|
|
mov ah, 9
|
|
int 21h ; DOS - PRINT STRING
|
|
; DS:DX -> string terminated by "$"
|
|
mov ax, 4C01h
|
|
int 21h ; DOS - 2+ - QUIT WITH EXIT CODE (EXIT)
|
|
; AL = exit code
|
|
|
|
; ---------------------------------------------------------------------------
|
|
msg db 'This is Kolibri OS device driver.',0Dh,0Ah,'$',0
|
|
|