18 lines
199 B
ArmAsm
18 lines
199 B
ArmAsm
.define _gtty
|
|
.sect .text
|
|
.sect .rom
|
|
.sect .data
|
|
.sect .bss
|
|
.sect .text
|
|
.extern _gtty
|
|
.sect .text
|
|
_gtty:
|
|
enter[], 0
|
|
movd 12(fp),tos
|
|
movd 29704,tos
|
|
movd 8(fp),tos
|
|
jsr @_ioctl
|
|
adjspd -12
|
|
exit []
|
|
ret 0
|