16 lines
210 B
ArmAsm
16 lines
210 B
ArmAsm
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
.define _gtty
|
|
.extern _gtty, _ioctl
|
|
_gtty:
|
|
push bp
|
|
mov bp,sp
|
|
push 6(bp)
|
|
mov ax,29704
|
|
push ax
|
|
push 4(bp)
|
|
call _ioctl
|
|
add sp,6
|
|
mov sp,bp
|
|
pop bp
|
|
ret
|