x68000:doscall
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
x68000:doscall [2017/09/11 04:08] – added _KEYSNS neko68k | x68000:doscall [2017/09/11 05:00] – added _CONSNS, _PRNSNS, _CINSNS, _COUTSNS neko68k | ||
---|---|---|---|
Line 15: | Line 15: | ||
|$FF03|[[doscall# | |$FF03|[[doscall# | ||
|$FF04|[[doscall# | |$FF04|[[doscall# | ||
- | |$FF05|_PRNOUT|Printer 1 character output| | + | |$FF05|[[doscall# |
- | |$FF06|_INPOUT|Character I/O| | + | |$FF06|[[doscall# |
|$FF07|[[doscall# | |$FF07|[[doscall# | ||
|$FF08|[[doscall# | |$FF08|[[doscall# | ||
Line 28: | Line 28: | ||
^Code^Name^Description^ | ^Code^Name^Description^ | ||
- | |$FF10|_CONSNS|Screen output check| | + | |$FF10|[[doscall# |
- | |$FF11|_PRNSNS|Printer output check| | + | |$FF11|[[doscall# |
- | |$FF12|_CINSNS|RS-232C input check| | + | |$FF12|[[doscall# |
- | |$FF13|_COUTSNS|RS-232C output check| | + | |$FF13|[[doscall# |
|$FF17|_FATCHK|File concatenation state check| | |$FF17|_FATCHK|File concatenation state check| | ||
|$FF18|_HENDSP|Kanji conversion control| | |$FF18|_HENDSP|Kanji conversion control| | ||
Line 211: | Line 211: | ||
DOS _COMOUT | DOS _COMOUT | ||
addq.l # | addq.l # | ||
+ | --- | ||
+ | ^$FF05^< | ||
+ | |Arg|CODE.w|Single-byte character code| | ||
+ | |Return|None|| | ||
+ | |Output one character specified by CODE to the printer (with break check). Because the high-order byte of CODE must be 0, kanji is output by sending two bytes in a row in the order of high byte first, then low byte.||| | ||
+ | Usage: | ||
+ | move CODE, | ||
+ | DOS _PRNOUT | ||
+ | addq.l # | ||
+ | |||
+ | --- | ||
+ | ^$FF06^< | ||
+ | |Arg|CODE.w|Single-byte character code| | ||
+ | |Return|CODE=0xFF, | ||
+ | |If the CODE value is 0xFF if the key is not pressed it returns 0 immediately. If CODE=0xFE the key is read and the value stays in the buffer. If CODE is any other value it is regarded as a character code and displayed.||| | ||
+ | |||
+ | Usage: | ||
+ | move CODE, | ||
+ | DOS _INPOUT | ||
+ | addq.l # | ||
--- | --- | ||
^$FF07^< | ^$FF07^< | ||
Line 268: | Line 288: | ||
DOS _CHGDRV | DOS _CHGDRV | ||
addq.l # | addq.l # | ||
+ | --- | ||
+ | ^$FF10^< | ||
+ | |Arg|none|| | ||
+ | |Return|Output status (0: output impossible, nonzero: output possible)|| | ||
+ | |Check if screen output is possible.||| | ||
+ | --- | ||
+ | ^$FF11^< | ||
+ | |Arg|none|| | ||
+ | |Return|Output status (0: output impossible, nonzero: output possible)|| | ||
+ | |Check if printer output is possible.||| | ||
+ | --- | ||
+ | ^$FF12^< | ||
+ | |Arg|none|| | ||
+ | |Return|Output status (0: input impossible, nonzero: input possible)|| | ||
+ | |Check if RS-232C input is possible.||| | ||
+ | --- | ||
+ | ^$FF13^< | ||
+ | |Arg|none|| | ||
+ | |Return|Output status (0: output impossible, nonzero: output possible)|| | ||
+ | |Check if RS-232C output is possible.||| | ||
--- | --- | ||
^$FF19^< | ^$FF19^< |
x68000/doscall.txt · Last modified: 2020/01/26 15:54 by sigvec