E. C. Masloch
5cbe1ffcf0
boot: fix and update memory layout map
2024-02-18 14:20:56 -05:00
E. C. Masloch
ef10fa11e3
boot32, boot32lb: fix and update memory layout maps
2024-02-18 14:20:56 -05:00
E. C. Masloch
2aa51a1992
boot: move cluster list to 1FE0h:2200h (128 KiB file, up to /L 0x200)
...
1FE0h:2200h happens to be linear 22000h. Like the memory map
update to the FAT32 loaders for #127 this allows to load a
file of up to 128 KiB (rounded to cluster size) with an /L
parameter for SYS of up to 0x200.
2024-02-18 14:20:56 -05:00
E. C. Masloch
4682e23b57
boot: rename FATBUF to CLUSTLIST to better reflect use (oemboot pick)
2024-02-18 14:20:56 -05:00
E. C. Masloch
9ac407ae63
boot32, boot32lb: avoid big file overlap with FAT sector [ fixes #127 ]
2024-02-18 14:20:56 -05:00
Kenneth J Davis
edd0732433
move FAR item to own line
2024-02-11 08:59:32 -05:00
Kenneth J Davis
a593799eb0
add some comments regarding relocation of kernel during configuration
2024-02-10 17:38:19 -05:00
Kenneth J Davis
114236da17
allow selection of COM port for debug prints easily overridden during compile, e.g. build.bat /D DEBUG_PRINT_COMPORT /V 2
2024-02-10 17:36:33 -05:00
Kenneth J Davis
716f732e3a
rework to make handling flags simpler, from ecm
2024-02-10 17:34:00 -05:00
Kenneth J Davis
7a73120228
copy over debug print to COM ports from UNSTABLE branch
2024-02-10 17:27:23 -05:00
Kenneth J Davis
795c1df742
prevent possible hang on loading device driver, from ecm
2024-02-08 19:24:55 -05:00
Andrew Bird
db949bf0b2
Merge pull request #136 from andrewbird/ci-update
...
CI: Update github actions and runner versions
2024-02-07 12:46:05 +00:00
Andrew Bird
c0467ef7e3
CI: Update github actions and runner versions
2024-02-07 12:35:27 +00:00
Kenneth J Davis
6a94489230
handle wmake and gmake differences
...
wmake requires changing into directory as ignores -C option, gmake ignores cd into directory so requires -C subdir option
2024-02-06 18:26:26 -05:00
Kenneth J Davis
19c35ee574
use tab not spaces for Makefile
2024-02-06 16:36:15 -05:00
Bocke
9b6a8579d1
Make build work on DOS
...
Double ampersands are not supported by DOS command line interpreters. The previous would work only on (modern-ish) Windows.
2024-02-05 10:47:59 -05:00
Bernd Boeckmann
093dea9a7b
initdisk.c: format specifier fixes 2
2024-02-04 20:44:19 -05:00
Kenneth J Davis
4ffc5c10a5
fix bug#121 don't look for 123? unless still looking for verb at start of line
...
allows correctly parsing lines like SHELL=4DOS.COM which otherwise strips 4 leading to looking for shell of "DOS.COM"
2024-02-04 20:37:43 -05:00
Kenneth J Davis
f7bf549544
correct xor to test not clear value, invert test so 808x is 0 and NEC is 1 matching returned value
2024-02-04 19:43:09 -05:00
Kenneth J Davis
07155e6184
fix bug#123, detect NEC V20/V30 as 186 instead of only 8086/8088, based on ecm-pushbx ldebug
...
see https://hg.pushbx.org/ecm/ldebug/file/7f3440d5824d/source/init.asm#l3071
(cherry picked from commit 5fdcc1d214b821fde33a5bd92ea7d7c0134a2056)
2024-02-04 19:43:09 -05:00
Kenneth J Davis
431be02b0a
rework update_dcb() to avoid potential access uninitialized memory
2024-02-03 22:00:17 -05:00
C. Masloch
1c2f541689
intr: avoid random trace in (init_)call_intr
2024-02-03 21:04:11 -05:00
C. Masloch
3ef6d61609
main: fix, only init env once in PSPInit, do not set cmdline tail
2024-02-03 21:01:17 -05:00
C. Masloch
ab3cac6d0c
allow gcc build to succeed with -DWIN31SUPPORT
2024-02-03 20:59:11 -05:00
E. C. Masloch
42d3ae6aac
boot32, boot32lb: fix EDR-DOS incompatibility [ fixes #119 ]
2024-02-03 20:55:57 -05:00
E. C. Masloch
53d3fd556b
boot32: display an error indicator instead of silently waiting
2024-02-03 20:55:57 -05:00
E. C. Masloch
a189ceb650
boot32: comment out unused print function
2024-02-03 20:55:57 -05:00
E. C. Masloch
630735e14a
boot32: save another byte, use loop instruction
2024-02-03 20:55:57 -05:00
E. C. Masloch
3415ad93c9
boot32: fix very old bug, init high byte of fat_secshift
...
It turned out that this loader was severely broken for many years,
at least since 2012 (the git repo's creation). This variable was
read as a word to set cx for a loop, but only the low byte had
been written. The high byte happened to be 0EEh so cn_loop would
always zero out the FAT sector to read.
This _happened_ to work if the first root directory cluster and
all the kernel file clusters were all referenced in the first
sector of the FAT. Otherwise it would blow up.
2024-02-03 20:55:57 -05:00
E. C. Masloch
52136b27d6
boot32: optimise read sector increment to prepare for DL patch
2024-02-03 20:55:57 -05:00
Bernd Boeckmann
9a7d22701d
initdisk.c: fix wrong printf format specifiers, fixes #122
2024-02-03 20:52:42 -05:00
Kenneth J Davis
db71b1a783
don't normally show InitDisk while booting
2023-12-20 17:17:08 -05:00
Kenneth J Davis
de96d00402
additional comments about LBA detection
2023-12-20 00:35:01 -05:00
Bernd Boeckmann
cab32344bb
only use AH for EDD version detection, as AL is reserved...
...
...according to the spec
2023-12-19 23:50:02 -05:00
Bernd Boeckmann
a5431d9245
remove BIOS assisted LBA translation, not sure its worth including it
2023-12-19 23:50:02 -05:00
Bernd Boeckmann
b33afdbfad
change handling of head count < 2, was a no-op since last commit...
...
... because heads was always at least 1.
2023-12-19 23:50:02 -05:00
Bernd Boeckmann
c20a97e844
initdisk: actually restrict disk size to 2TB, fix ExtLBAForce usage
2023-12-19 23:50:02 -05:00
Kenneth J Davis
569337a7ef
fix bug# 98 (correct bad CONFIG value 19 with bad value 14, should be 6) and add support for additional CONFIG options Verbose and PartitionMode to sys CONFIG processing
2023-12-19 19:50:22 -05:00
Kenneth J Davis
d027c797a0
update docs/history.txt from git log in preparation for build 2044 / v2.44 release
2023-12-18 22:00:30 -05:00
Kenneth J Davis
2da3aafa80
add example build command line for Windows
2023-12-18 20:32:53 -05:00
Kenneth J Davis
9f9323612a
update comment
2023-12-18 20:25:35 -05:00
Kenneth J Davis
2e849b36c1
update copyright string to 2023
2023-12-18 20:23:04 -05:00
Kenneth J Davis
7b0633b26b
only print messages once, not each time processing partitions; use LBA if forceLBA enabled in additional cases where LBA support not detected
2023-12-18 18:37:19 -05:00
Kenneth J Davis
4b0162c2a6
default to normal not quiet for initial messages
2023-12-18 18:31:20 -05:00
Kenneth J Davis
600192784b
add back building boot files with extra defines but use explicitly specified values instead of generic NASMFLAGS so flags used for other assembly files does not effect building
2023-12-18 17:25:15 -05:00
Kenneth J Davis
f666ac9804
revert changes to boot/makefile; introduces additional command line flags that may break build on different platforms
2023-12-17 22:20:21 -05:00
Kenneth J Davis
b79f0003ac
only create list file if requested, avoids error due to duplicated command line option for generating list file
2023-12-17 22:10:32 -05:00
Kenneth J Davis
cfdd09963f
fix from boeckmann (Bernd Böckmann) for Format GitHub issue #1 - format divide by 0 due to kernel function 440D, subfunction 60 returning a zero for logical_sectors_per_fat as initdisk overflows and calculates incorrect value
2023-12-17 21:01:37 -05:00
Kenneth J Davis
f1249dcd6f
From bzt, initialize drive parameter head & sector values to avoid potential divisions by 0
2023-12-08 21:20:46 -05:00
Kenneth J Davis
5880d36ba9
add ability to adjust verboseness of messages during booting
2023-12-08 18:08:11 -05:00