Implement searching directory for exact matches
This commit is contained in:
		
							parent
							
								
									7754312609
								
							
						
					
					
						commit
						9a1c4139a6
					
				
					 5 changed files with 82 additions and 85 deletions
				
			
		|  | @ -31,24 +31,21 @@ init:		cli | |||
| 
 | ||||
| 		call logdrv | ||||
| 
 | ||||
| 		xor ax, ax | ||||
| 		xor dx, dx | ||||
| 		call maprd | ||||
| 
 | ||||
| 		inc word [dskbuf+0x82] | ||||
| 		push word [dskbuf+0x82] | ||||
| 
 | ||||
| 		call dirty | ||||
| 		call flush | ||||
| 
 | ||||
| 		call printf | ||||
| 		db "Current run: ",2,0x0A,0x0D,0 | ||||
| 		mov bx, testfcb | ||||
| 		call fndfst | ||||
| 		jc huh | ||||
| 		call putfn | ||||
| 
 | ||||
| hlt:		hlt | ||||
| 		jmp hlt | ||||
| 
 | ||||
| huh:		call printf | ||||
| 		db "huh", 0 | ||||
| 		jmp hlt | ||||
| 
 | ||||
| %include	"kernel/far.asm" | ||||
| %include	"kernel/fcb.asm" | ||||
| %include	"kernel/find.asm" | ||||
| %include        "kernel/drive.asm" | ||||
| %include	"kernel/printf.asm" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue