Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1029 | serge | 1 | format MZ |
2 | heap 0 |
||
3 | stack 800h |
||
4 | entry main:start |
||
5 | |||
6 | segment main use16 |
||
7 | |||
8 | start: |
||
9 | push cs |
||
10 | pop ds |
||
11 | |||
12 | mov dx, msg |
||
13 | mov ah, 9 |
||
14 | int 21h ; DOS - PRINT STRING |
||
15 | ; DS:DX -> string terminated by "$" |
||
16 | mov ax, 4C01h |
||
17 | int 21h ; DOS - 2+ - QUIT WITH EXIT CODE (EXIT) |
||
18 | ; AL = exit code |
||
19 | |||
20 | ; --------------------------------------------------------------------------- |
||
21 | msg db 'This is Kolibri OS device driver.',0Dh,0Ah,'$',0 |
||
22 |