profile/ivi/syslinux.git
19 years agoFix handling of -o offset
hpa [Wed, 22 Dec 2004 07:17:53 +0000 (07:17 +0000)]
Fix handling of -o offset

19 years agoFix miscompare of FAT32
hpa [Wed, 22 Dec 2004 07:17:31 +0000 (07:17 +0000)]
Fix miscompare of FAT32

19 years agoAllow creation of FAT32 filesystems
hpa [Wed, 22 Dec 2004 07:14:46 +0000 (07:14 +0000)]
Allow creation of FAT32 filesystems

19 years agoHandle partition offset
hpa [Wed, 22 Dec 2004 07:14:15 +0000 (07:14 +0000)]
Handle partition offset

19 years agoBe more picky about syntax.
hpa [Wed, 22 Dec 2004 02:21:15 +0000 (02:21 +0000)]
Be more picky about syntax.

19 years agoUpdate the Win32 installer.
hpa [Wed, 22 Dec 2004 01:21:40 +0000 (01:21 +0000)]
Update the Win32 installer.

19 years agoSupport timeout in the menu
hpa [Tue, 21 Dec 2004 23:31:45 +0000 (23:31 +0000)]
Support timeout in the menu

19 years agoAdd NOESCAPE command to disable Shift key; update NEWS.
hpa [Tue, 21 Dec 2004 23:01:43 +0000 (23:01 +0000)]
Add NOESCAPE command to disable Shift key; update NEWS.

19 years agoDocument the need/lack thereof to run the installer.
hpa [Tue, 21 Dec 2004 22:36:29 +0000 (22:36 +0000)]
Document the need/lack thereof to run the installer.

19 years agoextlinux: Document need for MBR, and usage on a RAID system.
hpa [Tue, 21 Dec 2004 22:32:12 +0000 (22:32 +0000)]
extlinux: Document need for MBR, and usage on a RAID system.
Add cat.c32 as one of the sample programs.

19 years agoI think the menu system actually works now...
hpa [Tue, 21 Dec 2004 06:30:54 +0000 (06:30 +0000)]
I think the menu system actually works now...

19 years agoAdd strlcpy(), strlcat()
hpa [Tue, 21 Dec 2004 04:57:40 +0000 (04:57 +0000)]
Add strlcpy(), strlcat()

19 years agoAdd [v]asprintf
hpa [Tue, 21 Dec 2004 04:56:37 +0000 (04:56 +0000)]
Add [v]asprintf

19 years agoConfig file is extlinux.conf
hpa [Tue, 21 Dec 2004 03:07:28 +0000 (03:07 +0000)]
Config file is extlinux.conf

19 years agoWe have strcpy, use it
hpa [Tue, 21 Dec 2004 03:07:18 +0000 (03:07 +0000)]
We have strcpy, use it

19 years agoFix argv parsing
hpa [Tue, 21 Dec 2004 02:47:08 +0000 (02:47 +0000)]
Fix argv parsing

19 years agoFix typo
hpa [Tue, 21 Dec 2004 02:16:34 +0000 (02:16 +0000)]
Fix typo

19 years agoAdd an API function to get the IPAPPEND strings.
hpa [Tue, 21 Dec 2004 02:15:31 +0000 (02:15 +0000)]
Add an API function to get the IPAPPEND strings.
Add a dummy MENU command to specify menu-specific options.

19 years agoMore work on menu module. Looks like the file libc isn't quite there
hpa [Tue, 21 Dec 2004 01:37:43 +0000 (01:37 +0000)]
More work on menu module.  Looks like the file libc isn't quite there
yet; however, debugging needed.

19 years agoAdd code to edit the command line in the simple menu
hpa [Tue, 21 Dec 2004 00:27:17 +0000 (00:27 +0000)]
Add code to edit the command line in the simple menu

19 years agoInitial work on simple menu system; add <minmax.h> to libutil
hpa [Mon, 20 Dec 2004 23:19:36 +0000 (23:19 +0000)]
Initial work on simple menu system; add <minmax.h> to libutil

19 years agoActually get things working with nonblocking raw console read;
hpa [Mon, 20 Dec 2004 22:55:48 +0000 (22:55 +0000)]
Actually get things working with nonblocking raw console read;
this allows us to detect the Esc key.

19 years agoAdd support to deal with EAGAIN
hpa [Mon, 20 Dec 2004 22:31:04 +0000 (22:31 +0000)]
Add support to deal with EAGAIN

19 years agoMake the raw input console non-blocking with a timeout, allows handling
hpa [Mon, 20 Dec 2004 22:28:30 +0000 (22:28 +0000)]
Make the raw input console non-blocking with a timeout, allows handling
the [Esc] key.

19 years agoFix EQUs
hpa [Mon, 20 Dec 2004 21:32:34 +0000 (21:32 +0000)]
Fix EQUs

19 years agoClean up some old crap
hpa [Mon, 20 Dec 2004 21:29:04 +0000 (21:29 +0000)]
Clean up some old crap

19 years agoActually fix the block calculation. I think it works now.
hpa [Mon, 20 Dec 2004 20:20:09 +0000 (20:20 +0000)]
Actually fix the block calculation.  I think it works now.

19 years agoFurther fixes to linear address computation, now works for indirect
hpa [Mon, 20 Dec 2004 19:44:09 +0000 (19:44 +0000)]
Further fixes to linear address computation, now works for indirect
blocks but not double indirect...

19 years agoMore docs.
hpa [Mon, 20 Dec 2004 16:14:13 +0000 (16:14 +0000)]
More docs.

19 years agoUpdate some documentation
hpa [Mon, 20 Dec 2004 16:12:28 +0000 (16:12 +0000)]
Update some documentation

19 years agoFix regparm in libcom32; make extlinux actually work; add 3840K support
hpa [Mon, 20 Dec 2004 16:01:54 +0000 (16:01 +0000)]
Fix regparm in libcom32; make extlinux actually work; add 3840K support
to MEMDISK.

19 years agoUse %define instead of equ to work around NASM 0.98.38 bug;
hpa [Mon, 20 Dec 2004 14:34:11 +0000 (14:34 +0000)]
Use %define instead of equ to work around NASM 0.98.38 bug;
Change cx -> bp in call to getlinsec

19 years agoMore fixes to the extlinux installer; change back to writable types
hpa [Mon, 20 Dec 2004 04:57:44 +0000 (04:57 +0000)]
More fixes to the extlinux installer; change back to writable types
for ulint.h because of stupid constipational warnings.

19 years agoFurther clean up the ext*fs installer
hpa [Mon, 20 Dec 2004 02:30:38 +0000 (02:30 +0000)]
Further clean up the ext*fs installer

19 years agoextlinux installer.
hpa [Mon, 20 Dec 2004 00:15:37 +0000 (00:15 +0000)]
extlinux installer.

19 years agoMake extlinux actually compile. No words on actually working, yet;
hpa [Sun, 19 Dec 2004 10:52:23 +0000 (10:52 +0000)]
Make extlinux actually compile.  No words on actually working, yet;
and even so, it needs an installer.

19 years agoA lot more work on extlinux. Should have most of the pieces now;
hpa [Sun, 19 Dec 2004 10:25:07 +0000 (10:25 +0000)]
A lot more work on extlinux.  Should have most of the pieces now;
just missing some initialization code, and, of course, debugging.

19 years agoDocument compressed vkernels.
hpa [Sun, 19 Dec 2004 07:31:58 +0000 (07:31 +0000)]
Document compressed vkernels.

19 years agoMake compressed vkernels actually work.
hpa [Sun, 19 Dec 2004 07:30:31 +0000 (07:30 +0000)]
Make compressed vkernels actually work.

19 years agoFix some additional common code issues; fix dangling ES in pxelinux
hpa [Sun, 19 Dec 2004 07:23:45 +0000 (07:23 +0000)]
Fix some additional common code issues; fix dangling ES in pxelinux

19 years agoMore common code cleanup; actually use the code to compress vkernels
hpa [Sun, 19 Dec 2004 07:08:48 +0000 (07:08 +0000)]
More common code cleanup; actually use the code to compress vkernels

19 years agoUpdate with fixed version from the dos directory
hpa [Sun, 19 Dec 2004 00:30:46 +0000 (00:30 +0000)]
Update with fixed version from the dos directory

19 years agoMake DOS installer use our homegrown 64-bit divide
hpa [Sun, 19 Dec 2004 00:28:01 +0000 (00:28 +0000)]
Make DOS installer use our homegrown 64-bit divide

19 years agoBeef up the sanity checking of the boot sector. For really better checking
hpa [Sun, 19 Dec 2004 00:25:14 +0000 (00:25 +0000)]
Beef up the sanity checking of the boot sector.  For really better checking
we should be checking the FAT for the media signature, too.

19 years agoMake the DOS-based installer actually work; mark debugging statements
hpa [Sat, 18 Dec 2004 23:28:30 +0000 (23:28 +0000)]
Make the DOS-based installer actually work; mark debugging statements
as "dprintf"

19 years agoFix handling of alignment issues
hpa [Sat, 18 Dec 2004 22:56:01 +0000 (22:56 +0000)]
Fix handling of alignment issues

19 years agoFix dec/hex bug in crt0.S; do -msoft-float just in case
hpa [Sat, 18 Dec 2004 22:31:47 +0000 (22:31 +0000)]
Fix dec/hex bug in crt0.S; do -msoft-float just in case

19 years agoResurrect printf(), and create a library. This way we can use printf()
hpa [Sat, 18 Dec 2004 21:18:07 +0000 (21:18 +0000)]
Resurrect printf(), and create a library.  This way we can use printf()
during debugging without having it linked in during production build.

19 years agoFlesh out getfssec
hpa [Fri, 17 Dec 2004 23:15:09 +0000 (23:15 +0000)]
Flesh out getfssec

19 years agoAdditional fixes for the proper argc/argv parsing
hpa [Fri, 17 Dec 2004 19:44:36 +0000 (19:44 +0000)]
Additional fixes for the proper argc/argv parsing

19 years agoMore regparmization
hpa [Fri, 17 Dec 2004 19:40:41 +0000 (19:40 +0000)]
More regparmization

19 years agoAdd code to parse argc, argv; REGPARM-ize assembly code
hpa [Fri, 17 Dec 2004 19:39:19 +0000 (19:39 +0000)]
Add code to parse argc, argv; REGPARM-ize assembly code

19 years agoActually parse argc/argv properly.
hpa [Fri, 17 Dec 2004 18:54:08 +0000 (18:54 +0000)]
Actually parse argc/argv properly.

19 years agoOutput \n as \r\n
hpa [Fri, 17 Dec 2004 17:47:16 +0000 (17:47 +0000)]
Output \n as \r\n

19 years agoCharacter to print goes in DL, not in BL
hpa [Fri, 17 Dec 2004 17:45:46 +0000 (17:45 +0000)]
Character to print goes in DL, not in BL

19 years agoHumble beginnings of an extlinux program.
hpa [Fri, 17 Dec 2004 10:05:03 +0000 (10:05 +0000)]
Humble beginnings of an extlinux program.

19 years agoFactor out the cache code into a separate file.
hpa [Fri, 17 Dec 2004 10:04:49 +0000 (10:04 +0000)]
Factor out the cache code into a separate file.

19 years agoFix memcpy/memset to match the use of regparm and .code16gcc
hpa [Fri, 17 Dec 2004 10:03:47 +0000 (10:03 +0000)]
Fix memcpy/memset to match the use of regparm and .code16gcc

19 years agoFix the use of MAC handling in pxelinux; fix copy_over_self
hpa [Fri, 17 Dec 2004 07:57:32 +0000 (07:57 +0000)]
Fix the use of MAC handling in pxelinux; fix copy_over_self

19 years agoFix the RLL-packing code; include it by default (not called yet, though)
hpa [Fri, 17 Dec 2004 07:52:54 +0000 (07:52 +0000)]
Fix the RLL-packing code; include it by default (not called yet, though)

19 years agoMake sure unused parts of the VKernelBuf are zero-filled; this will
hpa [Fri, 17 Dec 2004 06:58:24 +0000 (06:58 +0000)]
Make sure unused parts of the VKernelBuf are zero-filled; this will
be important for RLL compression.

19 years agoActually use sections, and move common variables into the .inc files.
hpa [Fri, 17 Dec 2004 06:42:00 +0000 (06:42 +0000)]
Actually use sections, and move common variables into the .inc files.
The .bss section at the beginning of each .asm file is now downright
tiny.

19 years agoMove the .bss to a separate section so we can at least begin to move
hpa [Fri, 17 Dec 2004 05:37:52 +0000 (05:37 +0000)]
Move the .bss to a separate section so we can at least begin to move
bss variables near the code where they're defined

19 years agoVery simple RLL packer/unpacker; should be good for compressing lots of
hpa [Fri, 17 Dec 2004 03:47:04 +0000 (03:47 +0000)]
Very simple RLL packer/unpacker; should be good for compressing lots of
empty space in the VKernel structure.

19 years agoUpdate the TODO list.
hpa [Fri, 17 Dec 2004 02:58:47 +0000 (02:58 +0000)]
Update the TODO list.

19 years agoAdd -DREGPARM=3 to go along with -mregparm=3
hpa [Thu, 16 Dec 2004 22:32:52 +0000 (22:32 +0000)]
Add -DREGPARM=3 to go along with -mregparm=3

19 years agoCompile with regparm turned on.
hpa [Thu, 16 Dec 2004 22:12:22 +0000 (22:12 +0000)]
Compile with regparm turned on.

19 years agoConvert to using -mregparm=3; makes the code slightly smaller AND
hpa [Thu, 16 Dec 2004 21:53:20 +0000 (21:53 +0000)]
Convert to using -mregparm=3; makes the code slightly smaller AND
avoids some stupid problems with .code16 on some binutils versions.

19 years agoCorrect the handling for full 64K regions safe; correct the parsing of
hpa [Thu, 16 Dec 2004 09:25:47 +0000 (09:25 +0000)]
Correct the handling for full 64K regions safe; correct the parsing of
FAT12 FAT entries.

19 years agoGenerate the length correctly
hpa [Thu, 16 Dec 2004 08:27:54 +0000 (08:27 +0000)]
Generate the length correctly

19 years agoCluster -> Sector conversion has to add the DataArea offset
hpa [Thu, 16 Dec 2004 08:23:55 +0000 (08:23 +0000)]
Cluster -> Sector conversion has to add the DataArea offset

19 years agoFix possible infinite loop on invalid input
hpa [Thu, 16 Dec 2004 08:18:16 +0000 (08:18 +0000)]
Fix possible infinite loop on invalid input

19 years agoCorrect finding the first sector
hpa [Thu, 16 Dec 2004 08:13:13 +0000 (08:13 +0000)]
Correct finding the first sector

19 years agorepe cmpsb trashes di, not just si
hpa [Thu, 16 Dec 2004 08:08:24 +0000 (08:08 +0000)]
repe cmpsb trashes di, not just si

19 years agoFix the sense of a couple of tests. We now get to the command line.
hpa [Thu, 16 Dec 2004 07:56:54 +0000 (07:56 +0000)]
Fix the sense of a couple of tests.  We now get to the command line.

19 years agoFix some cut-and-paste bugs...
hpa [Thu, 16 Dec 2004 07:54:09 +0000 (07:54 +0000)]
Fix some cut-and-paste bugs...

19 years agoCorrections to self-loading sequence; we now get that far at least
hpa [Thu, 16 Dec 2004 07:47:11 +0000 (07:47 +0000)]
Corrections to self-loading sequence; we now get that far at least

19 years agoFix some cases of bad pointer arithmetric
hpa [Thu, 16 Dec 2004 07:29:43 +0000 (07:29 +0000)]
Fix some cases of bad pointer arithmetric

19 years agoFirst cut at new searchdir for FAT boot loader; uses metadata cache
hpa [Thu, 16 Dec 2004 06:52:35 +0000 (06:52 +0000)]
First cut at new searchdir for FAT boot loader; uses metadata cache

19 years agoRemove unneccesary blank line
hpa [Thu, 16 Dec 2004 06:23:08 +0000 (06:23 +0000)]
Remove unneccesary blank line

19 years agoscas uses the destination operand, so don't use it.
hpa [Thu, 16 Dec 2004 06:22:37 +0000 (06:22 +0000)]
scas uses the destination operand, so don't use it.

19 years agoMore cleanups; try to get rid of the now-obsolete definition of
hpa [Thu, 16 Dec 2004 06:17:23 +0000 (06:17 +0000)]
More cleanups; try to get rid of the now-obsolete definition of
"cluster" as the minimum block

19 years agoBuild sector-oriented getfssec routine
hpa [Thu, 16 Dec 2004 05:19:54 +0000 (05:19 +0000)]
Build sector-oriented getfssec routine

19 years agoFix make of win32
hpa [Thu, 16 Dec 2004 02:53:06 +0000 (02:53 +0000)]
Fix make of win32

19 years agomalloc.h is internal; put in lib/
hpa [Thu, 16 Dec 2004 02:51:29 +0000 (02:51 +0000)]
malloc.h is internal; put in lib/
Fix "make clean" for unix installer

19 years agoReorganize memory map to make use of 0x3000..0x5000; reduce trackbufsize
hpa [Thu, 16 Dec 2004 01:53:17 +0000 (01:53 +0000)]
Reorganize memory map to make use of 0x3000..0x5000; reduce trackbufsize
in syslinux to 8K like the others, expecting to handle subclusters;
more work on cleaning up ldlinux.asm.

19 years agoMSDN says the 0x08 forms of the lock calls are OK for all filesystems,
hpa [Thu, 16 Dec 2004 00:11:52 +0000 (00:11 +0000)]
MSDN says the 0x08 forms of the lock calls are OK for all filesystems,
and that if one uses 0x48 one has to fall back to 0x08 anyway

19 years agoUse the DOS version to determine whether to use the FAT32-capable locking
hpa [Wed, 15 Dec 2004 23:54:56 +0000 (23:54 +0000)]
Use the DOS version to determine whether to use the FAT32-capable locking
functions.

19 years agoPut in MS-DOS 7 locking support
hpa [Wed, 15 Dec 2004 22:57:31 +0000 (22:57 +0000)]
Put in MS-DOS 7 locking support

19 years ago@:\LDLINUX.SYS not @:LDLINUX.SYS
hpa [Wed, 15 Dec 2004 22:01:24 +0000 (22:01 +0000)]
@:\LDLINUX.SYS not @:LDLINUX.SYS

19 years agoAdjust the interface to syslxmod.c so the DOS installer doesn't need
hpa [Wed, 15 Dec 2004 21:56:04 +0000 (21:56 +0000)]
Adjust the interface to syslxmod.c so the DOS installer doesn't need
printf().

19 years agoMake the CC_IS_OK hack work again.
hpa [Wed, 15 Dec 2004 20:29:17 +0000 (20:29 +0000)]
Make the CC_IS_OK hack work again.
Change the private pointer in libfat to an intptr_t; we actually
use an integer most of the time so an intptr_t is more convenient.

19 years agoSimple memset/memcpy implementation
hpa [Wed, 15 Dec 2004 19:01:38 +0000 (19:01 +0000)]
Simple memset/memcpy implementation

19 years agoTweak optimizations.
hpa [Wed, 15 Dec 2004 12:39:24 +0000 (12:39 +0000)]
Tweak optimizations.

19 years agoConvert the DOS installer to C like everything else.
hpa [Wed, 15 Dec 2004 12:34:42 +0000 (12:34 +0000)]
Convert the DOS installer to C like everything else.

19 years agoTell the world what we've changed...
hpa [Wed, 15 Dec 2004 10:58:16 +0000 (10:58 +0000)]
Tell the world what we've changed...

19 years agoMore adjustment to the Brave New World<TM>
hpa [Wed, 15 Dec 2004 10:51:18 +0000 (10:51 +0000)]
More adjustment to the Brave New World<TM>

19 years agoChange the win32 build procedure to match the new world; installer
hpa [Wed, 15 Dec 2004 10:28:29 +0000 (10:28 +0000)]
Change the win32 build procedure to match the new world; installer
not yet ported

19 years agoInitial hack at making this somewhat sane in the brave new world
hpa [Wed, 15 Dec 2004 10:17:03 +0000 (10:17 +0000)]
Initial hack at making this somewhat sane in the brave new world

19 years agoPrepping for new 2.20 version: rewrite main syslinux program to support
hpa [Wed, 15 Dec 2004 10:14:39 +0000 (10:14 +0000)]
Prepping for new 2.20 version: rewrite main syslinux program to support
FAT32 and EDD, and a new cleaner installer infrastructure.