Displaying 20 results from an estimated 20000 matches similar to: "Is it possible to replace bios interrupt with a com32 program?"
2007 Jan 06
6
PXE stack access via com32
Hi,
I've checked the archives for my issue, and while there is relevant discussion, the problem the original poster was asking about didn't seem to have been resolved then either (~2 years ago). At any rate, basically what I'm trying to do is send (possibly receive) UDP packets via the PXE stack using the com32 API (using version 3.11 of syslinux). I have followed both the comboot
2007 Jan 25
5
Custom com32
Hi all
I've written a basic COM32 module that checks (using the DMI example
code) the product and BIOS and if the BIOS is not at the required level,
is supposed to exit and boot using a DOS floppy image to flash the BIOS.
The problem is that I can't work out how to call the DOS floppy image.
Looking at the website, I see "Run Command" AX=0003H via int 22. The
image name will
2008 Mar 25
3
Com32 api problem !
(sorry for my english if it is approximate !)
I want to access harddisk from com32 api with PXELINUX.
I try to use int 13h Extended Read Drive Parameters (48h), it doesn't works.
Here is my code, I have an error 1 in AH return code.
Int 13h Read Drive Parameters (08h) work well.
*******************************************************************************************
struct params {
2007 Feb 12
4
Read disk not working in 3.35+
Hey,
Looks like read disk function which was launched in 3.35 isnt working.
Did anyone test this on any hardware? I'm using it thru the com32
interface to read contents of the active partition of a USB boot key
(syslinux).
I did a sample test like:
void scanAndPrint()
{
com32sys_t regs_in;
char *sectorBuf = __com32.cs_bounce;
int i;
memset(sectorBuf, 0x0, 512); // XXX MARK 1
2003 Apr 21
3
COM32 Question
Does the COMBOOT stuff with 2.04 work correctly with function calls?
or does one need to write it as one huge function?
If memory serves me correctly, there was some problem if hello.c
was modified to include additional functions, in an earlier
version.
- Murali
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com>
Since we can't use __intcall() for EFI, and since we can now have the
ELF module code resolve all our symbols at runtime, we should delete
as many references to __intcall() as possible and just access the
symbols directly.
The most interesting patch is the support for weak symbols. We need to
be able to reference derivative-specific
2008 Jan 02
3
inconsistent Int 22h local boot
I have a Dell 1435 system that will not respond correctly to a com32 call
to Local boot
Int 22h
AX=14h
DX = 0
This call should not return. It should unload the PXE+UNDI stacks and
continue the boot process with the next boot device.
This call is working fine for me on an HP DL360G2 and on a Dell PE 850.
But, on this Dell 1435 the call is returning from the Int 22h.
I am using syslinux 3.51
2010 Apr 27
2
gpllib write_sectors() patch
Here is a partial patch that I'm using to illustrate a few questions
that I have.
Looking at the gpllib write_sectors (com32/gpllib/disk/write.c) it
looks like the allocated
size is wrong; size is in sectors so we should adjust the alloc/memcpy
by size*SECTOR.
Also, comparing core/diskio.c it looks like the registers aren't even
setup right.
In the patch below I put an #if 0 around the
2012 Dec 06
2
Syslinux 5.00 released
Hi folks,
Syslinux 5.00 is out in time for the holidays. This release includes a
lot of changes from 4.06. I've included the NEWS entries below, which
highlight the major changes.
Lots of assembly code has been rewritten in C, which makes further
development much easier (and also really helped for the 'firmware'
abstraction that appears in Syslinux-6.00-pre1). So be on the lookout
2012 Jun 26
2
[GIT PULL] elflink bug fixes
Hi Peter,
Please pull the following changes.
Paulo, I had to revert your "pxe: resolve names via DNS from
protected-mode code" change because dns_resolv() is only implemented for
PXELINUX and causes undefined symbol references for ISOLINUX, etc. Feel
free to make the change again on top of the revert.
The following changes since commit e7bd19def830e8341b1a100956345f1028740b9e:
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2010 Sep 19
2
can't get write_sectors to work...
Hi,
Hopefully you someone can tell me what I'm doing wrong. First, the code. I
placed this at the bottom of the main loop in com32/modules/disk.c as a
simple test of writing to the disk:
printf(" Host bus: %s, Interface type: %s\n\n",
d->edd_params.host_bus_type, d->edd_params.interface_type);
zero_buf = calloc(1, d->edd_params.bytes_per_sector);
for(int
2009 May 24
1
Sending UDP packets from comboot
Hi everyone.
I've read through the archives and found a few posts about using the PXE
stack, but none of these really helped me.
What i want to do is: Prompt the user for 2 values, desired hostname and
a "pin" (just a number) and send this information
over UDP to my server
The problem is not the user input but the UDP part.
I've tried to change the code from the post of jesse
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2008 Jul 16
2
[PATCH 1/2] chain.c32: fix bounce buffer handling
Fix breakage in the "hide" option support patch:
- The code which initialized the global variable "dapa" was lost in
commit 81c203f2, therefore EBIOS access did not work properly.
Fixed by removing the global variable completely and moving all
bounce buffer handling into read_sector() and write_sector().
- write_sector() copied data to the bounce buffer, but then
2011 Aug 30
1
Blocked Network Interrupt for COM32 Programs
I have written a COM32 program which pxelinux loads it and executes when
machine is booted over network. And the COM32 program should be blocked till
it receives an instruction from deployment server in UDP packet.
I am looking for a network interrupt that will make my machine to wait for
an incoming udp packet, so that my server can send udp packet, and
reboot/shutdown the machine.
I would
2010 Jun 26
2
[PATCH] Fix COM32 chdir()
From: Gene Cumm <gene.cumm at gmail.com>
Fix COM32 chdir() since it's implemented in the core.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c
index 6a365f3..4bd4c84 100644
--- a/com32/lib/chdir.c
+++ b/com32/lib/chdir.c
@@ -8,10 +8,5 @@
int chdir(const char *path)
{
- /* Actually implement something here... */
-
-
2006 Mar 11
5
mboot.c32, weird e820 map on HP blade machine, possible memory corruption
I'm seeing this on a HP Blade and i'm not sure why this is happning since
the nature of the issue is so wierd.
I compiled mboot.c with a DEBUG defined in the mboot.c file. In the funciton
init_mmap(), it prints the e820 map and on the HP blade this map values come
out to be totally random. Some weird numbers which dont make any sense at
all.
However, if i add a while(1); or a exit(1); at
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse
2013 Sep 17
2
[PATCH 1/4 v2] com32/lib/: Avoid unneeded allocation.
eparam would only be used if EBIOS is available.
If it is not, then there is no reason to allocate eparam.
Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com>
---
com32/lib/syslinux/disk.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c
index 093751a..d96acbf 100644
---