home *** CD-ROM | disk | FTP | other *** search
- buffer = $40000
- length = $10
-
- s: move.l $4.w,a6
- lea dosnam(pc),a1
- jsr -408(a6)
- move.l d0,a6
- beq.s fini
-
- move.l #filnam,d1
- move.l #1005,d2
- jsr -30(a6)
- move.l d0,d7
- beq.s error
- move.l d0,d1
- move.l #buffer,d2
- moveq #length,d3
- jsr -42(a6)
- move.l d7,d1
- jsr -36(a6)
-
- error: move.l a6,a1
- move.l $4.w,a6
- jsr -414(a6)
- fini: rts
-
- dosnam: dc.b 'dos.library',0
- filnam: dc.b 'filename',0
- even