Bart Oldeman
4e0c27f016
Adjust registers used when starting programs. Some demos expect
...
undocumented values.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@660 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:47:25 +00:00
Bart Oldeman
517fca72ae
Forgotten HMA_TEXT for MS compilers.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@659 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:37:29 +00:00
Bart Oldeman
fa11f8e0c5
Add lock/unlock drive to SYS (from Lucho).
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@658 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:36:16 +00:00
Bart Oldeman
b0d2219a4c
Changelog correction.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@657 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:33:33 +00:00
Bart Oldeman
9b42b52056
Use "local" (instead of "global") disable/enable A20.
...
This solves the problems with NIOS.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@656 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:32:01 +00:00
Bart Oldeman
c444161296
Use near bpb on the stack in bpb_to_dpb.
...
Make sure the number of FAT sectors is actually enough to hold that
many clusters. Otherwise back the number of clusters down (LG & AB)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@655 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:30:09 +00:00
Bart Oldeman
68805961dc
Don't disable a20 for "exit" int21/ah=4c
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@654 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-28 20:25:09 +00:00
Bart Oldeman
8a7b83ab63
Remove (unused) strncpy.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@653 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-09 09:35:18 +00:00
Bart Oldeman
9a3da2b737
Version 2.7 luchezar, tomehlert, ericauer 2003/8/5
...
boot.asm modified to support non-512 byte sectors (e.g. 1.2 MB NEC diskettes)
512 byte sector size check removed (although Eric's boot32ea.asm does require
512-byte sectors, all LBA FAT32 volumes have 512-byte sectors anyway).
boot.asm cleaned up and modified to support Metakern (by Tom, Eric and Lucho)
bsDriveNumber updated by SYS even #ifndef STORE_BOOT_INFO (nothing in common)
Version 2.7beta, Luchezar Georgiev, 1 August 2003
o Now supports and includes the following new boot sectors:
1) the combined CHS+LBA FAT12/FAT16 boot sector by Tom Ehlert (29 July)
2) the CHS-only FAT32 boot sector -- as patched by Jon Gentle (08 July)
3) the LBA-only FAT32 boot sector by Eric Auer and Jon Gentle (19 July)
o The old combined (CHS+LBA), no-CALCPARAMS, no-resizable, non-Ghostable,
non-standard FAT32 boot sector and STORE_BOOT_INFO is no longer used.
o dump_sector() showed ASCII debug printout for the old sector only - fixed.
o Put a boot sector only if sector size = 512 (may it not be so in Japan?!).
If non-512 byte sectors encountered, report to the fd-kernel mailing list.
o Now puts boot sector before copying kernel/shell so it works in WinNT now.
o check_space() now implemented at last (required significant modifications)
o New file system (FAT type) detection method according to a MS White Paper.
o Now BOOTONLY works even without a preceding boot sector image file name.
o Some minor code cleanups.
Bart: some cleanups to the above; replaced 386 code for CHS FAT32 by 8088 code.
use boot32lb.asm instead of boot32ea.asm
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@652 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-08 15:01:15 +00:00
Bart Oldeman
3229fe3fc4
From Luchezar: IOCTL 4406 provided reverse AL output on regular
...
files - FF if EOF, 0 if not. It should output 0 if EOF, FF if not.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@651 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-06 19:47:24 +00:00
Bart Oldeman
2b0c219e5e
Solve compilation problem with Borland C++ 3.1
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@649 6ac86273-5f31-0410-b378-82cca8765d1b
2003-08-03 10:44:29 +00:00
Bart Oldeman
96c1c46d60
Fix ctrl-break bug.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@644 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-20 17:33:45 +00:00
Bart Oldeman
7e4774bcfa
"-p" is no longer necessary in config.bat
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@643 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-19 18:12:26 +00:00
Bart Oldeman
d6e8d403ea
Update Changelog, version number.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@642 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-19 18:09:07 +00:00
Bart Oldeman
c672e81012
Correct problem with multiple UMBs
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@641 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-19 15:06:55 +00:00
Bart Oldeman
8a9dcfe8bb
(from Tom) Fix a problem with the
...
'BootFromHarddiskIfNoKeyHit' option.
with some Compaq and Fujitsu/Siemens
Highend Equipment
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@640 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-15 12:32:35 +00:00
Bart Oldeman
4a067595fc
config.txt updates from Bernd Blaauw
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@639 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-15 12:30:34 +00:00
Bart Oldeman
dde7ba7791
There aren't lastdrive open file handles but a maximum of 20.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@638 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-14 19:17:01 +00:00
Bart Oldeman
7f21061003
Make a message #ifdef DEBUG only.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@637 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-12 20:57:23 +00:00
Bart Oldeman
756c578ca7
(joint with Luchezar Georgiev): add extra low disk buffer to avoid HMA
...
problems with certain device driver. Add an extra space for the device
driver command line and point to a correct environment for
INSTALL= (fixes problems with xmsdsk).
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@636 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-12 20:56:11 +00:00
Bart Oldeman
d7f6e1181f
From Luchezar Georgiev: parameters were in the wrong order...
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@635 6ac86273-5f31-0410-b378-82cca8765d1b
2003-07-10 10:46:31 +00:00
Bart Oldeman
8c2eb41fc6
Correct typo.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@634 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:52:43 +00:00
Bart Oldeman
0971f348b2
Small size optimization and INSTALLHIGH correction.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@633 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:50:38 +00:00
Bart Oldeman
f91f2bac8d
Small size optimizations.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@632 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:46:37 +00:00
Bart Oldeman
c086225a9b
Correct comment.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@631 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:45:37 +00:00
Bart Oldeman
138afdab72
Declare more symbols as "ASM" to enable pascal calling conventions by
...
default for turbo compilers.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@630 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:44:43 +00:00
Bart Oldeman
27ee8b1c74
Removed unnecessary jcxz's.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@629 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:43:28 +00:00
Bart Oldeman
d60b01e511
intr() cleanup and small optimizations.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@628 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:42:51 +00:00
Bart Oldeman
18fa8e0091
Slash conversion to enable cross compilation.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@627 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:39:44 +00:00
Bart Oldeman
a69548773a
Use PASCAL calling convention by default for turbo C
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@626 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:36:30 +00:00
Bart Oldeman
4780a1fc94
NLS changes from Steffen
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@625 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-27 22:02:57 +00:00
Bart Oldeman
2fdf99331d
Added structure to nls.h; small main.c cleanup.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@624 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-20 20:06:24 +00:00
Bart Oldeman
c5c7128a02
Move externs to header files; sft init cleanup (+3 files need to be low)
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@623 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-20 19:54:18 +00:00
Bart Oldeman
5bffd69d1d
Fix bug in block device driver init of DPBs
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@622 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-20 00:05:44 +00:00
Bart Oldeman
50181938f3
correct extension
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@620 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-18 19:40:32 +00:00
Bart Oldeman
204382d001
Adjustment to compile with Turbo C
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@619 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-18 19:27:40 +00:00
Bart Oldeman
9647aa92e5
.lsm and history.txt updates
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@618 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-18 19:18:16 +00:00
Bart Oldeman
51e499be53
update lsm
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@617 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 15:48:20 +00:00
Bart Oldeman
a447756302
Add country support for bulgaria
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@616 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 15:19:29 +00:00
Bart Oldeman
9d651b53e4
Small asm optimization
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@615 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 15:17:51 +00:00
Bart Oldeman
9f15e02db9
Correct get_root, make kbdType public, sys config patches from Tom.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@614 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 11:55:44 +00:00
Bart Oldeman
f98fc8640b
Removed most of Eric's config.sys stuff -- some are questionable, others
...
unfinished. EECHO works though.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@613 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 11:53:37 +00:00
Bart Oldeman
2cb828283f
Remove my old truename fix.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@612 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 08:45:56 +00:00
Bart Oldeman
a4abd642bf
Fix buffer deletion problem with multi-sector writes.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@611 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 08:38:20 +00:00
Bart Oldeman
aebf17f959
Add lol.h
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@610 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 16:39:20 +00:00
Bart Oldeman
01a6ec02dc
update history
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@609 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 16:38:14 +00:00
Bart Oldeman
7c8b87380f
Simple extended keyboard detection using 40:96
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@608 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 16:36:58 +00:00
Bart Oldeman
2a83b111c4
Check if source and destination are identical before copying.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@607 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 13:33:40 +00:00
Bart Oldeman
1b2a421f44
Some duplicate code merging and scancode-0xe0 related fixes.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@606 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 11:10:17 +00:00
Bart Oldeman
7bc5f8b31e
Repair arrow keys for console.asm + fixes for Turbo C
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@605 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 22:58:29 +00:00