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
Next revisionBoth sides next revision
x68000:doscall [2017/09/10 15:51] – added _NEWFILE neko68kx68000:doscall [2017/09/11 04:08] – added _KEYSNS neko68k
Line 21: Line 21:
 |$FF09|[[doscall#print|_PRINT]]|Print string| |$FF09|[[doscall#print|_PRINT]]|Print string|
 |$FF0A|[[doscall#gets|_GETS]]|Get character string (with break check)| |$FF0A|[[doscall#gets|_GETS]]|Get character string (with break check)|
-|$FF0B|_KEYSNS|Key input state check|+|$FF0B|[[doscall#keysns|_KEYSNS]]|Key input state check|
 |$FF0C|_KFLUSH|Keyboard input after buffer flush| |$FF0C|_KFLUSH|Keyboard input after buffer flush|
 |$FF0D|[[doscall#fflush|_FFLUSH]]|Disk reset| |$FF0D|[[doscall#fflush|_FFLUSH]]|Disk reset|
Line 35: Line 35:
 |$FF18|_HENDSP|Kanji conversion control| |$FF18|_HENDSP|Kanji conversion control|
 |$FF19|[[[doscall#curdrv|_CURDRV]]|Get current drive| |$FF19|[[[doscall#curdrv|_CURDRV]]|Get current drive|
-|$FF1A|_GETSS|Get character string (no break check)|+|$FF1A|[[doscall#getss|_GETSS]]|Get character string (no break check)|
 |$FF1B|[[doscall#fgetc|_FGETC]]|Get character from file| |$FF1B|[[doscall#fgetc|_FGETC]]|Get character from file|
 |$FF1C|[[doscall#fgets|_FGETS]]|Get string from file| |$FF1C|[[doscall#fgets|_FGETS]]|Get string from file|
Line 247: Line 247:
  DOS _GETS  DOS _GETS
  addq.l #4,sp  addq.l #4,sp
 +---
 +^$FF0B^<BOOKMARK:keysns>_KEYSNS^Check key input state^
 +|Arg|None||
 +|Return|Input state (0: no input, -1: input)||
 +|Examine the key input state. Checks for %%^%%C, %%^%%S, %%^%%P, or %%^%%N. |||
  
 --- ---
Line 270: Line 275:
  
 --- ---
 +^$FF1A^<BOOKMARK:getss>_GETSS^Input string (no break check)^
 +|Arg|BUFFER.l|Input buffer pointer|
 +|Return|Writes the input character string up to the line feed to the input buffer specified by BUFFER. Newline characters are replaced with NULL characters. Does not perform break check(do not break at VOID/NEWLINE) If the length exceeds the maximum number of input characters allowed a warning is issued but execution does not stop. The contents of the input buffer are as follows.||
 +|Get the current drive number.|||
 +
 +^Offset^Size^Desciption^
 +|0|1.b|Maximum input characters allowed: n|
 +|1|1.b|Number of characters actually entered|
 +|2|n+1.b|Input string|
 +---
 +
 +
 ^$FF1B^<BOOKMARK:fgetc>_FGETC^Get one byte from file^ ^$FF1B^<BOOKMARK:fgetc>_FGETC^Get one byte from file^
 |Arg|FILENO.w|File handle| |Arg|FILENO.w|File handle|
x68000/doscall.txt · Last modified: 2020/01/26 15:54 by sigvec