mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
4cc87fbe7d
git-svn-id: svn://kolibrios.org@955 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
|
|
|