Displaying 8 results from an estimated 8 matches for "comapi_err".
2012 Sep 04
3
INT22h/000Dh
Hi,
I would like to use INT22h, function 000Dh, but I found that it is
disabled in vector table:
in core/comboot.inc:
int22_table:
[...]
dw comapi_err ; 000D clean up then bootstrap
[...]
The code of this function is present in this file (comapi_chainboot).
Why this function is disabled?
Regards
Piotr Romaniuk
PS
I am using syslinux-4.04.
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...parate this patch into multiple patches,
please let me know.
diff --git a/core/comboot.inc b/core/comboot.inc
index 2ff5f33..0d4f931 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -1067,12 +1067,8 @@ comapi_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/cor...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...2h AX= 001Fh, 0020h, 0021h and 0022h to prepare for the
COM32 C functions getcwd(), opendir(), readdir(), and closedir(),
respectively. INT22h, AX=001Fh will return a valid value for all
variants. INT22h, AX= 0020h, 0021h, and 0022h are only implemented
for SYSLINUX while other variants will call comapi_err for these 3.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
This is the second try at implementing these calls after feedback on the first.
Adds an API call to obtain the current working directory. EXTLINUX
will not return the correct value yet however SYSLINUX, ISOLINUX, and
PXEL...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...2h AX= 001Eh, 001Fh, 0020h and 0021h to prepare for the
COM32 C functions getcwd(), opendir(), readdir(), and closedir(),
respectively. INT22h, AX=001Eh will return a valid value for all
variants. INT22h, AX= 001Fh, 0020h, and 0021h are only implemented
for SYSLINUX while other variants will call comapi_err for these 3.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Adds an API call to obtain the current working directory. EXTLINUX
will not return the correct value yet however SYSLINUX, ISOLINUX, and
PXELINUX will return the correct value. For the moment, EXTLINUX will
ONLY return &q...
2010 Jul 27
2
[PATCH] core: remove HAS_LOCALBOOT
...t;
diff --git a/core/comboot.inc b/core/comboot.inc
index 59db7ec..d6f670c 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -723,13 +723,9 @@ comapi_idle:
;
; INT 22h AX=0014h Local boot
;
-%if HAS_LOCALBOOT
comapi_localboot:
mov ax,P_DX
jmp local_boot
-%else
-comapi_localboot equ comapi_err
-%endif ; HAS_LOCALBOOT
;
; INT 22h AX=0015h Feature flags
diff --git a/core/config.inc b/core/config.inc
index 269e13e..999d3d9 100644
--- a/core/config.inc
+++ b/core/config.inc
@@ -27,11 +27,6 @@ BAUD_DIVISOR equ 115200 ; Serial port parameter
MAX_FKEYS equ 12 ; Number of F-key help file...
2012 Sep 06
1
[PATCH] comboot: add comapi_chainboot to int22_table
...mboot.inc b/core/comboot.inc
index d6f670c..ef69c49 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -950,7 +950,7 @@ int22_table:
dw comapi_derinfo ; 000A derivative-specific info
dw comapi_serialcfg ; 000B get serial port config
dw comapi_cleanup ; 000C perform final cleanup
- dw comapi_err ; 000D clean up then bootstrap
+ dw comapi_chainboot ; 000D clean up then bootstrap
dw comapi_configfile ; 000E get name of config file
dw comapi_ipappend ; 000F get ipappend strings
dw comapi_dnsresolv ; 0010 resolve hostname
--
1.7.3.4
2008 Nov 03
1
[PATCH 1/1] COMBOOT: add get config file full name
...3,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
%macro int21 2
@@ -1085,6 +1097,7 @@ int22_table:
dw comapi_shufflerm ; 001B cleanup, shuffle and boot to rm
dw comapi_getadv ; 001C get pointer to ADV
dw comapi_writeadv ; 001D write A...
2011 May 25
1
[GIT PULL] elflink ldlinux
.../core/comboot.inc
+++ b/core/comboot.inc
@@ -915,6 +915,13 @@ comapi_shufraw:
mov ecx,P_ECX
jmp shuffle_and_boot_raw
+;
+; INT 22h AX=0025h Initialize the ADV structure
+;
+comapi_initadv:
+ call adv_init
+ ret
+
section .data16
%macro int21 2
@@ -974,6 +981,7 @@ int22_table:
dw comapi_err ; 0022 close directory
dw comapi_shufsize ; 0023 query shuffler size
dw comapi_shufraw ; 0024 cleanup, shuffle and boot raw
+ dw comapi_initadv ; 0025 initialize adv structure
int22_count equ ($-int22_table)/2
APIKeyWait db 0