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 revisionBoth sides next revision
x68000:doscall [2017/09/11 04:22] – added _INPOUT neko68kx68000:doscall [2017/09/11 04:26] – added _PRNOUT neko68k
Line 15: Line 15:
 |$FF03|[[doscall#cominp|_COMINP]]|RS-232C 1 byte input| |$FF03|[[doscall#cominp|_COMINP]]|RS-232C 1 byte input|
 |$FF04|[[doscall#comout|_COMOUT]]|RS-232C 1 byte output| |$FF04|[[doscall#comout|_COMOUT]]|RS-232C 1 byte output|
-|$FF05|_PRNOUT|Printer 1 character output|+|$FF05|[[doscall#prnout|_PRNOUT]]|Printer 1 character output|
 |$FF06|[[doscall#inpout|_INPOUT]]|Character I/O| |$FF06|[[doscall#inpout|_INPOUT]]|Character I/O|
 |$FF07|[[doscall#inkey|_INKEY]]|Get one character from the keyboard (no break check)| |$FF07|[[doscall#inkey|_INKEY]]|Get one character from the keyboard (no break check)|
Line 211: Line 211:
  DOS _COMOUT  DOS _COMOUT
  addq.l #2,sp  addq.l #2,sp
 +---
 +^$FF05^<BOOKMARK:prnout>_PRNOUT^Output 1 character to the printer^
 +|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,-(sp)
 + DOS _PRNOUT
 + addq.l #2,sp
 +
 --- ---
 ^$FF06^<BOOKMARK:INPOUT>_INPOUT^Key input/output^ ^$FF06^<BOOKMARK:INPOUT>_INPOUT^Key input/output^
x68000/doscall.txt · Last modified: 2020/01/26 15:54 by sigvec