Initial revision
This commit is contained in:
		
							parent
							
								
									2c2688a680
								
							
						
					
					
						commit
						0b484452fd
					
				
					 2 changed files with 34 additions and 0 deletions
				
			
		
							
								
								
									
										17
									
								
								mach/pmds4/libsys/gtty.s
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								mach/pmds4/libsys/gtty.s
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| .define _gtty
 | ||||
| .extern _gtty
 | ||||
| .sect .text | ||||
| .sect .rom | ||||
| .sect .data | ||||
| .sect .bss | ||||
| .sect .text | ||||
| _gtty: | ||||
| tst.b -40(sp) | ||||
| link	a6,#-0 | ||||
| move.l 12(a6),-(sp) | ||||
| move.l #0x7408,-(sp) | ||||
| move.l 8(a6),-(sp) | ||||
| jsr _ioctl | ||||
| add.l #12,sp | ||||
| unlk a6 | ||||
| rts | ||||
							
								
								
									
										17
									
								
								mach/pmds4/libsys/stty.s
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								mach/pmds4/libsys/stty.s
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| .define _stty
 | ||||
| .extern _stty
 | ||||
| .sect .text | ||||
| .sect .rom | ||||
| .sect .data | ||||
| .sect .bss | ||||
| .sect .text | ||||
| _stty: | ||||
| tst.b -40(sp) | ||||
| link	a6,#-0 | ||||
| move.l 12(a6),-(sp) | ||||
| move.l #0x7409,-(sp) | ||||
| move.l 8(a6),-(sp) | ||||
| jsr _ioctl | ||||
| add.l #12,sp | ||||
| unlk a6 | ||||
| rts | ||||
		Loading…
	
	Add table
		
		Reference in a new issue