| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The keymap and font commands still assumed that we knew the file size,
which is no longer true. Fix that by instead using "readc" and
checking the CF.
|
|
|
|
|
| |
Add "readc" function to do block reads. Currently it just does a loop
around "call getc/stosb".
|
|
|
|
|
| |
Add back jump to loadkeys_ret if the file size was not 256 bytes;
inadvertently deleted when removing DX:AX 16-bitism.
|
| |
|
|
|
|
| |
The KEYMAP command still expected length in DX:AX, and so got broken.
|
|
|
|
|
| |
If we write the MBR, do verify by reading it back and comparing.
Right now all we do is print an error, though.
|
|
|
|
| |
Option for chain.c32 to hide primary partitions on the boot drive.
|
|
|
|
| |
Add the INITRD statement and a few other updates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a syslinux floppy does not contain a config file (syslinux.cfg) modules are
not being found unless specified with a directory prefix (e.g. /pcitest.c32).
The reason is that CurrentDir is only set if there is a config file present. This is a
possible regression since commit 68eefb79e2cbb590ebf958dd0c50ce00b941abd2.
Before this change RootDir was used in searchdir and now it's CurrentDir unless
the filename starts with '/'. Possible fix is to set CurrentDir to RootDir if no config
file is found.
Actually it seems better to move this to the top of the "check for config file" block.
Initialize CurrentDir to RootDir and change it if a config file is found.
- Sebastian
|
|
|
|
| |
For cleaning commands, we need version.mk to be optional.
|
|
|
|
| |
Both core and memdisk wants to use the gen-id stuff, so let it.
|
|
|
|
| |
Centralize more (most) of the version number machinery to version.pl.
|
|
|
|
|
| |
Drop macros for "date" and "version_str", which are nothing but
redefined names of macros we already define (DATE_STR and VERSION).
|
|
|
|
| |
Try again to enable the idle call.
|
|
|
|
|
|
| |
Fix the text for pci_bus_list->count == 1 ("1 bus found").
- Sebastian
|
|
|
|
|
| |
DF is undefined on entry, so make sure we clear it at all entry points
where it could possibly matter.
|
| |
|
|
|
|
|
| |
- save and restore all the DOS vectors around COMBOOT invocations.
- handle INT 28h and INT 29h, and IRET on INT 2Dh, 2Fh, 33h.
|
|
|
|
|
|
| |
If we're doing an unofficial build from git, put the git id and a
dirty flag in the build string, instead of a timestamp. This is a lot
more useful.
|
|
|
|
|
| |
Allow the initrd to be specified on a separate line from command-line
options (append). This apparently can help certain tools.
|
| |
|
|
|
|
| |
Document the fields to recover the original INT 1Eh vector.
|
|
|
|
|
|
|
|
|
| |
Per the Interrupt list, treat INT 13 08 returning with CL=0 as a
failure, meaning single drive only.
If we find ourselves the only floppy drive, install a DPT into INT
1Eh. This appears to be needed for PC-DOS 7.0 to boot. This can be
overridden with the "nodpt" option, and forced with the "dpt" option.
|
|
|
|
| |
2008, not 2007
|
|
|
|
| |
Ignore, for example, version.h, but not memdisk/version.h
|
|
|
|
|
|
| |
When we didn't find the filesystem in /proc/mounts, we would go
through /etc/mtab, but then completely botch the parsing thereof.
Move the parsing to a common function to avoid this problem.
|
|
|
|
| |
Really, really try to avoid stepping on disabled entries...
|
| |
|
|
|
|
| |
There was no 3.64 release; remove the heading.
|
|
|
|
|
| |
At least one laptop exists which calls INT 2Fh from inside the BIOS!
So just point INT 2Fh to IRET, and hope that's good enough.
|
|
|
|
| |
Files that should have been added before...
|
|
|
|
|
| |
Allow "boot" as the drive specification; this can be used both with
partition numbers and with loaders.
|
|
|
|
|
|
| |
gpxe/src/Config versus gpxe/src/config is a problem on case-deficient
filesystems; update to top of tree gPXE so we don't have that problem
anymore.
|
|
|
|
|
|
| |
It seems to make more sense to put the console codepage first, since
it is the more significant of the two codepages. It also makes more
sense in the from..to sense.
|
|
|
|
| |
Make sure we create the /etc directory before putting something there.
|
|
|
|
|
| |
After all, "make dist" is about producing the wrapped binaries for
release.
|
|
|
|
|
|
|
| |
Clean up the BSUBDIR/ISUBDIR separation further. Build _bin.c files,
which are an intermediate stage toward building the installers, in the
libinstaller directory, since that directory is used by all the
installers anyway. That also lets us get bin2c.pl out of the root.
|
|
|
|
|
|
|
|
|
|
| |
- "make clean" should not clean up things that "make installer" cannot
regenerate.
- "make installer" should not descend into subdirectories which are
target only, e.g. com32 and sample.
The Linux platform stuff in com32 is old and bitrotted, and was only
for debugging in the first place. Just ignore it.
|
|
|
|
|
| |
There are some build fixes which may be relevant, so pull in the
latest gPXE git.
|
|
|
|
|
| |
To avoid confusion during subdirectory make, make the undionly.kpxe ->
gpxelinux.0 conversion an explicit rule.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Send a null command, specifically "pulse outputs" with no outputs
selected, to the KBC after changing A20. This was apparently done by
DOS, presumably as a synchronization hack, and the authors of the UHCI
spec thought it was inherent. Therefore, there are systems out there
(e.g. HP DL360 G5) which will stop responsing to "legacy USB" unless
they see the null command, 0xFF, written to port 0x64 at the end of
the A20 toggling sequence.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
| |
The comapi functions get very unhappy if bp is ever clobbered, since
it uses bp as a frame pointer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FAT has a somewhat obnoxious rule: byte E5 in the first position is
encoded as 05. If it was *always* that case we could simply fold it
into the codepage tables, but that rule applies only to the first
character.
Note that in the common codepages (incl. 437), E5 is lower-case sigma
(σ), which we currently upper case to upper case sigma (Σ, E4)
preventing a match -- which DOS *doesn't* do (it thinks of the Greek
characters as symbols, not subject to case distinctions.) Putting
that special case in the codepage-generation scripts seems too ugly,
though.
|
| |
|
|
|
|
|
|
|
| |
Add additional codepage data from the Unicode Consortium.
Additionally, add support for generating codepage files for the case
where the filesystem codepage and the display codepage do not match.
The standard Makefile doesn't actually do that, however.
|
|
|
|
| |
"Bytes left" should be "bytes read"
|
|
|
|
| |
We don't need the ANSI engine in mboot.c32.
|
| |
|