User Tools

Site Tools


x68000:doscall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
x68000:doscall [2017/09/11 04:26] – added _PRNOUT neko68kx68000: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
  
- Processing address calls at $FFF5~$FFF7 and $FFFA~$FFfE can not be changed(ignored)+ Processing address calls at $FFF5~$FFF7 and $FFFA~$FFFE can not be changed(ignored)
  $FFF8,$FFFF is executed after the original processing is normally completed.  $FFF8,$FFFF is executed after the original processing is normally completed.
  $FFF8 is called every time a thread is deleted.  $FFF8 is called every time a thread is deleted.
Line 28: Line 28:
  
 ^Code^Name^Description^ ^Code^Name^Description^
-|$FF10|_CONSNS|Screen output check| +|$FF10|[[doscall#consns|_CONSNS]]|Screen output check| 
-|$FF11|_PRNSNS|Printer output check| +|$FF11|[[doscall#prnsns|_PRNSNS]]|Printer output check| 
-|$FF12|_CINSNS|RS-232C input check| +|$FF12|[[doscall#cinsns|_CINSNS]]|RS-232C input check| 
-|$FF13|_COUTSNS|RS-232C output check|+|$FF13|[[doscall#coutsns|_COUTSNS]]|RS-232C output check|
 |$FF17|_FATCHK|File concatenation state check| |$FF17|_FATCHK|File concatenation state check|
 |$FF18|_HENDSP|Kanji conversion control| |$FF18|_HENDSP|Kanji conversion control|
Line 288: Line 288:
  DOS _CHGDRV  DOS _CHGDRV
  addq.l #2,sp  addq.l #2,sp
 +---
 +^$FF10^<BOOKMARK:consns>_CONSNS^Check if screen output is possible^
 +|Arg|none||
 +|Return|Output status (0: output impossible, nonzero: output possible)||
 +|Check if screen output is possible.|||
 +---
 +^$FF11^<BOOKMARK:prnsns>_PRNSNS^Check if printer output is possible^
 +|Arg|none||
 +|Return|Output status (0: output impossible, nonzero: output possible)||
 +|Check if printer output is possible.|||
 +---
 +^$FF12^<BOOKMARK:cinsns>_CINSNS^Check if RS-232C input is possible^
 +|Arg|none||
 +|Return|Output status (0: input impossible, nonzero: input possible)||
 +|Check if RS-232C input is possible.|||
 +---
 +^$FF13^<BOOKMARK:coutsns>_COUTSNS^Check if RS-232C output is possible^
 +|Arg|none||
 +|Return|Output status (0: output impossible, nonzero: output possible)||
 +|Check if RS-232C output is possible.|||
 --- ---
 ^$FF19^<BOOKMARK:curdrv>_CURDRV^Get the current drive^ ^$FF19^<BOOKMARK:curdrv>_CURDRV^Get the current drive^
Line 493: Line 513:
 ^$FF42^<BOOKMARK:seek>_SEEK^Move file pointer^ ^$FF42^<BOOKMARK:seek>_SEEK^Move file pointer^
 |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.1505067985.txt.gz · Last modified: 2019/08/27 20:44 (external edit)