diff options
author | Kenneth J. Davis <jeremyd@fdos.org> | 2012-10-22 19:20:18 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-10-23 10:53:17 +0100 |
commit | 7307d60063ee4303da4de45f9d984fdc8df92146 (patch) | |
tree | 958481a333d072c69a3031a56411d2cdc9954943 /com32/lib/strncpy.c | |
parent | 8d6e004fbd63213a7d2b4cd97641585f5481c8a8 (diff) | |
download | syslinux-7307d60063ee4303da4de45f9d984fdc8df92146.tar.gz |
memdisk: Fix order of sectors/track and bytes/sectorsyslinux-4.06
Swap order of sectors/track with bytes/sector to match diskette
parameter table order (as pointed to by INT 1Eh).
References: (additional ones available if necessary)
'System BIOS for IBM PC/XT/AT computers and compatibles' by Phoenix
Technologies Ltd. copyright 1987,88,89 3rd printing 1990 ISBN:
0-201-51806-6 pages 61-62
'PC Interrupts' 2nd edition by Ralf Brown & Jim Kyle copyright 1994
1st printing 1993 ISBN: 0-201-62485-0 page 211
Note: this fixes an issue with older FreeDOS kernels that expect this
structure to contain valid values.
Signed-off-by: Kenneth J. Davis <jeremyd@fdos.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/lib/strncpy.c')
0 files changed, 0 insertions, 0 deletions