x68000:doscall
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
x68000:doscall [2017/09/11 04:08] – added _KEYSNS neko68k | x68000:doscall [2017/09/11 04:22] – added _INPOUT neko68k | ||
---|---|---|---|
Line 16: | Line 16: | ||
|$FF04|[[doscall# | |$FF04|[[doscall# | ||
|$FF05|_PRNOUT|Printer 1 character output| | |$FF05|_PRNOUT|Printer 1 character output| | ||
- | |$FF06|_INPOUT|Character I/O| | + | |$FF06|[[doscall# |
|$FF07|[[doscall# | |$FF07|[[doscall# | ||
|$FF08|[[doscall# | |$FF08|[[doscall# | ||
Line 211: | Line 211: | ||
DOS _COMOUT | DOS _COMOUT | ||
addq.l # | 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^< |
x68000/doscall.txt · Last modified: 2020/01/26 15:54 by sigvec