x68000:doscall
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
x68000:doscall [2017/09/11 05:00] – added _CONSNS, _PRNSNS, _CINSNS, _COUTSNS neko68k | x68000:doscall [2020/01/26 15:54] (current) – [Detailed Descriptions] sigvec | ||
---|---|---|---|
Line 5: | Line 5: | ||
to $FF80~$FFAF in Version 3 and later | to $FF80~$FFAF in Version 3 and later | ||
- | | + | |
| | ||
$FFF8 is called every time a thread is deleted. | $FFF8 is called every time a thread is deleted. | ||
Line 513: | Line 513: | ||
^$FF42^< | ^$FF42^< | ||
|Arg 1|FILENO.w|File handle| | |Arg 1|FILENO.w|File handle| | ||
- | |Arg 2|MODE.w|Movement mode| | + | |Arg 2|OFFSET.l|File offset| |
+ | |Arg 3|MODE.w|Movement mode| | ||
|Return|Offset from the beginning of the file.|| | |Return|Offset from the beginning of the file.|| | ||
|The pointer of the file specified by FILENO is moved based on the specified MODE and OFFSET. Attempts to move past the beginning or end of the file results in an error. The character device can't seek and the current position will always return 0. \\ \\ MODE = 0 - Start \\ MODE = 1 - Current position (Negative offsets will move the pointer forward) \\ MODE = 2 - EOF (offset must be less than or equal to 0.)||| | |The pointer of the file specified by FILENO is moved based on the specified MODE and OFFSET. Attempts to move past the beginning or end of the file results in an error. The character device can't seek and the current position will always return 0. \\ \\ MODE = 0 - Start \\ MODE = 1 - Current position (Negative offsets will move the pointer forward) \\ MODE = 2 - EOF (offset must be less than or equal to 0.)||| |
x68000/doscall.1505070018.txt.gz · Last modified: 2019/08/27 20:44 (external edit)