Added entry points for ANSI C
This commit is contained in:
17
mach/ns/libsys/_stty.s
Normal file
17
mach/ns/libsys/_stty.s
Normal file
@@ -0,0 +1,17 @@
|
||||
.define __stty
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern __stty
|
||||
.sect .text
|
||||
__stty:
|
||||
enter[], 0
|
||||
movd 12(fp),tos
|
||||
movd 29705,tos
|
||||
movd 8(fp),tos
|
||||
jsr @__ioctl
|
||||
adjspd -12
|
||||
exit []
|
||||
ret 0
|
||||
Reference in New Issue
Block a user