openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
D
DOSBox-x
Settings
|
Report Duplicate
2
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Activity Not Available
Commits
: Listings
Analyzed
about 1 year
ago. based on code collected
about 1 year
ago.
Jan 16, 2023 — Jan 16, 2024
Showing page 612 of 619
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Win32 build, with some corrections
Jonathan Campbell
More...
almost 11 years ago
IDE ATAPI CD-ROM media change complete. If I do a CTRL+F4 to change CDs, MSCDEX.EXE is able to pick up that the media changed and show fresh contents. Windows 95 is able to see the change (not automatically, but if you hit F5 (refresh) after the change the contents reflect CD media change).
Jonathan Campbell
More...
almost 11 years ago
IDE ATAPI CD-ROM drive emulation now emulated spin up/down times, delays commands for spinup, and returns appropriate TEST UNIT READY and sense data for media change and first spinup. Win95 is happy, at least.
Jonathan Campbell
More...
almost 11 years ago
OK. great. my timer tick functions work. modified code to print debug message ONLY if the event is fired late.
Jonathan Campbell
More...
almost 11 years ago
add TODO and comments so far on how much RAM is needed to boot various versions of PC/MS-DOS.
Jonathan Campbell
More...
almost 11 years ago
update code to lower minimum to 4KB.
Jonathan Campbell
More...
almost 11 years ago
added sanity check for "mainline compatible mapping" to make sure that 8KB of RAM is present first. Without that check, mainline DOSBox's fixed segment assignments would reach beyond available memory (if less than 8KB) and crash. added option to specify that DOSBox should allocate all kernel structures in the UMB private area, leaving as much lower system RAM available as possible. Doing this makes it possible to set memsize=4 (4KB) and run very small DOS programs.
Jonathan Campbell
More...
almost 11 years ago
whoops. forgot dynamic allocation sanity check for when dynamic allocation is on, and private pool is NOT stored in UMB
Jonathan Campbell
More...
almost 11 years ago
BOOT: some modifications to stack value on setup. change hard-coded 0x7C00 offset to variable that is set to 0x7C00. Add code to refuse booting a guest OS if less than 32KB of RAM is being emulated (the IBM PC boot process requires 32KB of RAM). added TODO where the user should be able to override that lockout if they feel adventerous.
Jonathan Campbell
More...
almost 11 years ago
bugfix: calculation needs to subtract one paragraph NOT one page.
Jonathan Campbell
More...
almost 11 years ago
BOOT: pick a more appropriate segment value than simply assuming 0x7000 to ensure that it points to RAM. Prior to this fix, SS could point to unassigned RAM if less than about 500KB was allocated for emulation.
Jonathan Campbell
More...
almost 11 years ago
allow 8KB minimum after all.
Jonathan Campbell
More...
almost 11 years ago
add debug code to show private area vs assignment. modified initial dynamic private allocation to subtract 1 paragraph from memory total, because some parts of the emulation use that for UMB linkage. added code to error out in non-dynamic case if there is insufficient room for the private area. this fixes cases where random crashes could result from memsizekb=16 and private area size=16384, for example.
Jonathan Campbell
More...
almost 11 years ago
fix up DOS execute function to dynamically choose COM stack pointer value rather than assume 0xFFFE. The choice is based on the size of the memory block allocated for the image, which means that if there's plenty of RAM, then SP=0xFFFE anyway, BUT, if the memory block is smaller, the stack pointer is assigned the largest value (minus 2) that fits within the memory block. Doing this resolves the random crashes that occured with most DOS programs, including DOSBox's builtin commands, when less than 72KB of RAM was assigned. Because of this fix, it is now possible to assign as little as 16KB of RAM and run without crashing. Programs that still fit work fine. Programs that are too large silently fail. Programs that can load, but cannot allocate the memory they need, error out fine without crashing.
Jonathan Campbell
More...
almost 11 years ago
add define to debug alloc/free memory allocation. also added code to disable "minimum memory requirement" error if you do so.
Jonathan Campbell
More...
almost 11 years ago
note DOSBox emulator instability below 72KB
Jonathan Campbell
More...
almost 11 years ago
yikes! DOS kernel disable flag was set to TRUE by default! This prevented the shell from operating.
Jonathan Campbell
More...
almost 11 years ago
reduce minimum memory size to 72KB, the lowest we can go before the emulator is unable to boot anything at all. IBM PC-DOS 1.0 apparently runs in that little memory with no trouble.
Jonathan Campbell
More...
almost 11 years ago
add "dos_kernel_disabled" flag. added code to "BOOT" command to set this flag so that other parts of the program have a way to know the DOS kernel is no longer in charge. Added code to Program::SetEnv() and other environment block code to fail and print a BUG message if emulator code attempts to modify the environment block if the DOS kernel is disabled, since, once the guest OS boots, that environment block is probably long gone by then and overwritten. This fixes a bug I found where if you set the memory size to 246KB or less, boot PC-DOS 1.0, and then hit CTRL+F9 to terminate the emulator, the emulator will instead run through thousands of "illegal memory read" messages as code within the emulator does a string scan from what is obviously now unmapped or overwritten memory.
Jonathan Campbell
More...
almost 11 years ago
more cleanup
Jonathan Campbell
More...
almost 11 years ago
whoops, sense data length not set by function. this fixes MSCDEX.EXE hanging on audio-only CDs.
Jonathan Campbell
More...
almost 11 years ago
undo cleanup
Jonathan Campbell
More...
almost 11 years ago
more magic values... to no avail... in MODE SENSE. some cleanup.
Jonathan Campbell
More...
almost 11 years ago
add comments
Jonathan Campbell
More...
almost 11 years ago
cleanup play/pause status byte, DOSBox's code will not return pause=1 when play=0. Fix PLAY AUDIO MSF command code mistake that converted M:S:F to LBA without considering the 150-sector offset. This fixes the bug where pausing and resuming would skip forward 2 seconds.
Jonathan Campbell
More...
almost 11 years ago
cleanup SCSI sense emulation by using sense[] buffer and providing function to set contents
Jonathan Campbell
More...
almost 11 years ago
bugfix: loop until events are carried out. this fixes the clocks stopping at an arbitrary time.
Jonathan Campbell
More...
almost 11 years ago
add PCI bus clock. consolidate integer/float/ratio parser into it's own function.
Jonathan Campbell
More...
almost 11 years ago
clock domain event system complete. updated DOSBox normal core with call to run_hw() which takes care of event dispatch.
Jonathan Campbell
More...
almost 11 years ago
clean up comment in clockdom.h
Jonathan Campbell
More...
almost 11 years ago
←
1
2
…
608
609
610
611
612
613
614
615
616
617
618
619
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree