search for: comapi_writeadv

Displaying 4 results from an estimated 4 matches for "comapi_writeadv".

2008 Nov 03
1
[PATCH 1/1] COMBOOT: add get config file full name
...rent di value) however I'm not sure what registers are available and utilizing the stack would require changes in all variants. diff --git a/core/comboot.inc b/core/comboot.inc index 810d825..22757e7 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -1033,6 +1033,18 @@ comapi_getadv: ; comapi_writeadv equ adv_write +; +; INT 22h AX=001Eh Get full name of config file +; +%if IS_SYSLINUX +comapi_configfilefull mov P_ES,cs + mov P_BX,ConfigNameFull + clc + ret +%else +comapi_configfilefull equ comapi_err +%endif + section .data...
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...P Prefix to CurrentDirName (minus the trailing "/"). Based on current head. Conflicts with a previous patch I e-mailed. diff --git a/core/comboot.inc b/core/comboot.inc index 810d825..bdc43ba 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -1033,6 +1033,14 @@ 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 + section .data %macro int21 2 @@ -1085,6 +1093,7 @@ int22_table: dw comapi_shufflerm ; 001B cleanup, shuffle and boot to rm dw comapi_getadv ; 001C...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...returned no errors. Is there a better way? linux:Documentation/CodingStyle alludes to GCC's documentation on RTL for styling. diff --git a/core/comboot.inc b/core/comboot.inc index 810d825..24c69e2 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -1033,6 +1033,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 +...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...f + +; +; INT 22h AX=0022h Close directory +; +%if IS_SYSLINUX +comapi_closedir: + mov si,P_SI + call close_dir + clc + ret +%else +comapi_closedir equ comapi_err +%endif + section .data %macro int21 2 @@ -1100,6 +1166,10 @@ int22_table: dw comapi_getadv ; 001C get pointer to ADV dw comapi_writeadv ; 001D write ADV to disk dw comapi_kbdtable ; 001E keyboard remapping table + dw comapi_getcwd ; 001F get current working directory + dw comapi_opendir ; 0020 open directory + dw comapi_readdir ; 0021 read directory + dw comapi_closedir ; 0022 close directory int22_count equ ($-int22_table)...