Displaying 5 results from an estimated 5 matches for "p_si".
Did you mean:
p_i
2009 Mar 01
0
[PATCH 1/3] COMBOOT API: Improve readdir
...other register but I also see that as acceptable as it doesn't
change existing behavior, thereby breaking existing code.
diff --git a/core/comboot.inc b/core/comboot.inc
index 2ff5f33..bab3d6a 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -1092,7 +1092,7 @@ comapi_readdir:
mov si,P_SI
call readdir
mov P_EAX,eax
- mov P_DL,dl
+ mov P_DX,dx
mov P_EBX,ebx
mov P_SI,si
ret
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index a24f396..bb5bf14 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -1377,6 +1377,40 @@ searchdir:
ret
;
+; fatattr_to_st_mode: Tran...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...inc
@@ -1047,6 +1047,72 @@ comapi_kbdtable:
stc
ret
+;
+; INT 22h AX=001Fh Get current working directory
+;
+comapi_getcwd:
+ mov P_ES,cs
+ mov P_BX,CurrentDirName
+ clc
+ ret
+
+;
+; INT 22h AX=0020h Open directory
+;
+%if IS_SYSLINUX
+comapi_opendir:
+ push ds
+ mov ds,P_ES
+ mov si,P_SI
+ mov di,InitRD
+ call mangle_name
+ pop ds
+ call searchdir
+ jnz comapi_err ; Didn't find a directory
+ cmp eax,0
+ jz comapi_err ; Found nothing
+ ;ZF is unset
+ call alloc_fill_dir
+ mov P_EAX,eax
+ mov P_CX,SECTOR_SIZE
+ mov P_SI,si
+ clc
+ ret
+%else
+comapi_opendir equ com...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...33,72 @@ comapi_getadv:
;
comapi_writeadv equ adv_write
+;
+; INT 22h AX=001Eh Get current working directory
+;
+comapi_getcwd:
+ mov P_ES,cs
+ mov P_BX,CurrentDirName
+ clc
+ ret
+
+;
+; INT 22h AX=001Fh Open directory
+;
+%if IS_SYSLINUX
+comapi_opendir:
+ push ds
+ mov ds,P_ES
+ mov si,P_SI
+ mov di,InitRD
+ call mangle_name
+ pop ds
+ call searchdir
+ jnz comapi_err ; Didn't find a directory
+ cmp eax,0
+ jz comapi_err ; Found nothing
+ ;ZF is unset
+ call alloc_fill_dir
+ mov P_EAX,eax
+ mov P_CX,SECTOR_SIZE
+ mov P_SI,si
+ clc
+ ret
+%else
+comapi_opendir equ com...
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...mapi_opendir:
mov di,InitRD
call mangle_name
pop ds
- call searchdir
- jnz comapi_err ; Didn't find a directory
- cmp eax,0
- jz comapi_err ; Found nothing
- ;ZF is unset
- call alloc_fill_dir
+ call searchdir4dir
+ jz comapi_err
mov P_EAX,eax
mov P_CX,SECTOR_SIZE
mov P_SI,si
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index 2219d5f..0bd7d0d 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -984,10 +984,10 @@ allocate_file:
; Assumes DS == ES == CS.
;
; If successful:
-; ZF clear
+; ZF set
; SI = file pointer
; If unsuccessful
-; ZF set...
2009 Jul 27
1
[PATCH] mboot using module path
...0 -0700
+++ syslinux-3.82/core/comboot.inc 2009-07-27 11:23:23.000000000 -0700
@@ -963,6 +963,24 @@
mov ecx,P_ECX
jmp shuffle_and_boot_raw
+
+;
+; INT 22h AX=0025h Change PathPrefix
+;
+comapi_changedir:
+ push di
+ push ds
+ mov ds,P_ES
+ mov si,P_SI
+ mov di,CurrentDirName
+ call strcpy
+ pop ds
+ pop di
+ clc
+ ret
+
+
+
section .data
%macro int21 2
@@ -1022,6 +1040,7 @@
dw comapi_closedir ; 0022 close directory
dw comapi_shufsize ; 0023 query shuffler size...