;exec.library: _LVOOpenLibrary = -552 _LVOCloseLibrary = -414 ;dos.library: _LVOOutput = -60 _LVOWrite = -48 section prg,code START move.l 4.w,a6 lea dosname(pc),a1 moveq #0,d0 jsr _LVOOpenLibrary(a6) tst.l d0 beq .fuj1 move.l d0,a6 jsr _LVOOutput(a6) move.l d0,d1 beq .fuj2 move.l #text,d2 move.l #textlen,d3 jsr _LVOWrite(a6) .fuj2 move.l a6,a1 move.l 4.w,a6 jsr _LVOCloseLibrary(a6) .fuj1 moveq #0,d0 rts dosname dc.b "dos.library",0 text dc.b "Nazdar mamlasos!",10 textlen equ *-text