Subversion Repositories Kolibri OS

Rev

Rev 8213 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8213 Rev 9459
Line 1... Line 1...
1
; flat assembler
1
; flat assembler
2
; Copyright (c) 1999-2020, Tomasz Grysztar
2
; Copyright (c) 1999-2021, Tomasz Grysztar
3
; All rights reserved.
3
; All rights reserved.
Line 4... Line 4...
4
 
4
 
Line 5... Line 5...
5
init_memory:
5
init_memory:
Line 31... Line 31...
31
 
31
 
32
exit_program:
32
exit_program:
33
	cmp	[_mode],NORMAL_MODE
33
	cmp	[_mode],NORMAL_MODE
34
	jne	@f
34
	jne	@f
-
 
35
	mcall	SF_SYS_MISC, SSF_MEM_FREE, [memblock]
-
 
36
	mov	edi, file_IO_slots
-
 
37
	mov	ecx, (file_IO_end-file_IO_slots)/4
-
 
38
	or	eax, -1
35
	mcall	SF_SYS_MISC, SSF_MEM_FREE, [memblock]
39
	rep	stosd
36
	mov	esp,[processing_esp]
40
	mov	esp,[processing_esp]
37
	jmp	still
41
	ret;jmp     still
38
@@:
42
@@:
39
	or	eax,-1
43
	or	eax,-1
Line 40... Line 44...
40
	mcall
44
	mcall
Line 420... Line 424...
420
	cmp	byte[esi],0;' '
424
	cmp	byte[esi],0;' '
421
	jne	newc1
425
	jne	newc1
422
	mov	esi,[esp]
426
	mov	esi,[esp]
Line 423... Line 427...
423
 
427
 
424
	cmp	byte[esi],'/'
428
	cmp	byte[esi],'/'
425
	je	abs_path
429
	je	absolute_path
426
	cmp	byte[esi],'\'
430
	cmp	byte[esi],'\'
427
	jne	@f
431
	jne	@F
428
    abs_path:
432
    absolute_path:
Line 429... Line 433...
429
	mov	edi,fullpath_open
433
	mov	edi,fullpath_open
430
 
434
 
431
    @@:
435
    @@: