12345678910111213141516171819202122232425262728 |
- {
- This file is part of the Free Pascal run time library.
- Copyright (c) 2021 by Karoly Balogh
- Interface to SMS only OS functions used by the Sinclair QL RTL
- See the file COPYING.FPC, included in this distribution,
- for details about the copyright.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- **********************************************************************}
- const
- _IOF_MKDR = $4d;
- function iof_mkdr(chan: Tchanid): longint; assembler; nostackframe; public name '_iof_mkdr';
- asm
- move.l d3,-(sp)
- move.l chan,a0
- moveq.l #-1,d3
- moveq.l #0,d1
- moveq.l #_IOF_MKDR,d0
- trap #3
- move.l (sp)+,d3
- end;
|