lp:dosbox-staging

Get this repository:
git clone https://git.launchpad.net/dosbox-staging

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/dosbox-staging/dosbox-staging.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 2 minutes — see the log

Branches

Name Last Modified Last Commit
forks/steam-carmageddon-1 2020-04-27 15:51:44 UTC
Import from Carmageddon DOSBox (Steam; 0.74.0.1)

Author: dreamer_
Author Date: 2020-04-27 02:51:54 UTC

Import from Carmageddon DOSBox (Steam; 0.74.0.1)

vogons/save-states-r4176 2020-04-25 03:14:53 UTC
Implement save-states support

Author: bruenor41
Author Date: 2018-12-06 11:27:00 UTC

Implement save-states support

Based on tikalat's savestate patch.

Shortcut Keys:

Left ALT + F5 -> Save to current slot
Left ALT + F9 -> Load state from current slot
Left ALT + F6 -> Switch to previous slot
Left ALT + F7 -> Switch to next slot

Total saveslots : 10 (Slots in circular arrangement)

Imported-from: https://www.vogons.org/viewtopic.php?p=718127#p718127

po/safe-strcpy-win-1 2020-04-02 03:29:11 UTC
WIP test safe str*cpy replacements

Author: dreamer_
Author Date: 2020-04-02 03:29:11 UTC

WIP test safe str*cpy replacements

po/more-shaders 2020-03-27 10:38:53 UTC
Use C++11 raw string literals for shader's code

Author: dreamer_
Author Date: 2020-03-27 10:03:13 UTC

Use C++11 raw string literals for shader's code

Makes it easier to read and understand. It's also easier to embed new
shaders using this syntax and to copy/paste shaders into validators.

po/jc/dosbox-x-cursor-backport 2020-03-21 17:57:48 UTC
remove comment

Author: Jonathan Campbell
Author Date: 2020-03-21 17:57:48 UTC

remove comment

po/glshaders 2020-03-20 20:25:32 UTC
WIP shaders

Author: dreamer_
Author Date: 2020-03-20 20:25:29 UTC

WIP shaders

Imported-from: https://www.vogons.org/viewtopic.php?p=835314#p835314

vogons/ppc-dynrec-r4330 2020-02-24 13:47:47 UTC
Add PowerPC dynamic recompiler

Author: jmarsh
Author Date: 2019-10-06 17:41:00 UTC

Add PowerPC dynamic recompiler

This patch adds a dynamic recompiler for 32-bit PowerPC, based on
the existing dynrec framework. I've only tested it on a wii but there
should be no reason for it not to work on PowerPC based Macs. As far as
performance goes with core=normal I get 0.7fps from PCPBENCH, with
core=dynamic I get 3.1fps. There are some other big-endian improvements
that can be made that get it up to 4.0 but I haven't included them here
as they aren't related to dynrec.

I haven't touched any of the autoconfigure scripts, config.h needs the
following settings:
The compiler needs to support gcc inline assembly (checked via
defined(__GNUC__)) for dcache flushing/icache invalidation. There
doesn't seem to be a portable way to achieve this, but they're not
supervisor level instructions so should be fine for any userspace
program to use.

Some comments on the changes:

- I had to name the FPU_Rec struct so it could be forward-declared in
  risc_ppc.h (having a dedicated register pointed to it helps FPU
  heavy code).
- Removed some unneeded WORDS_BIGENDIAN guards in the self-modifying
  code detection, they weren't needed as the additions aren't meant to
  overflow between bytes.
- Made dyn_run_code() get called before dyn_return(BR_Link1/BR_Link2)
  and shuffled their locations a bit. The reason for this is that the
  PPC dynrec generates its epilog once in gen_run_code() and then puts
  a jump to it whenever gen_return_function() is called, rather than
  emitting a full epilog every time. If dyn_return() was called before
  dyn_run_code() the address of the epilog is unknown.
- Added missing cache_block_before_close()/cache_block_closing() calls
  for those blocks, since they were missing.
- The dynrec decoder wasn't differentiating between little-endian (host)
  memory access and regular memory access. I added new functions where
  necessary (hopefully caught them all) and aliased them to the regular
  functions when WORDS_BIGENDIAN is not defined.
- dyn_ret_near() was bugged, it tried to write a dword to &reg_ip which
  overran on big-endian.

Imported-from: https://www.vogons.org/viewtopic.php?p=731185#p731185

vogons/lfn-r4329-2 2020-02-19 09:32:07 UTC
Add long filename support

Author: Wengier W
Author Date: 2020-02-18 17:48:00 UTC

Add long filename support

"Long filenames" are Windows-style filenames that can contain up to
256 characters, including spaces. Traditional DOS programs only
recognize filenames in "8.3" format (for example, MYRESUME.DOC) and
cannot recognize long filenames at all, even when these programs are
run in the NTVDM "DOS window" in 32-bit Windows versions.

In order to make files with long names accessible to DOS applications,
Microsoft devised a scheme in which files with long names are seen by
DOS applications (including COMMAND.COM) under "short filenames"
generated by Windows itself. So, for example, a file that is listed
in Windows Explorer as WindowsUpdate.log will have a generated short
filename that might look like WINDOW~1.LOG (the number after the tilde
may vary in different systems and different directories). A traditional
DOS application may be able to open the file, but will recognize it
only under its generated short filename, not its actual name.
(Note that Windows includes an advanced option that disables generation
of short filenames; if this option has been switched on by a system
administrator, DOS programs will only see files whose actual filenames
are in the traditional "8.3" format.)

This patch also includes additional features: clipboad support, LPT
support, and some other changes.

Detailed description of LFN feature:
https://individual.utoronto.ca/wengier/doslfns.htm

Some additional resources:
http://www.columbia.edu/~em36/wpdos/dosbox-vdos-lfn.html

Imported-from: https://www.vogons.org/viewtopic.php?p=827117#p827117

vogons/dynrec-wx-1 2020-01-16 09:35:30 UTC
Map memory using different permissions

Author: jmarsh
Author Date: 2019-10-31 18:06:00 UTC

Map memory using different permissions

As more operating systems adopt stricter security policies, there is
a trend to stamp out programs using memory mapped as writable+executable.
This is a problem for DOSBox's dynamic recompiler, as it currently just
allocates a large chunk of cache and marks it read+write+executable.
For now it works but probably not for much longer - SELinux is starting
to see widespread use, macOS is pushing their hardened runtime, and
other platforms just flat-out don't support it (no mprotect or similar
mechanism) requiring other methods.

This fix approach uses the same strategy for both windows and other
platforms (separate mappings for writing vs. execution). It merges
cache.h from both dynamic cores since they were already 95% identical.
I had to touch a fair bit of code for platforms that I can't actually
test (mips and arm), hopefully didn't break them but can't guarantee
anything.

Ported to dosbox-staging by Patryk Obara <dreamer.tan@gmail.com>

Changes compared to the original diff:

- Discard changes to VS-specific config.h, as dosbox-staging uses C++11
  fixed-size types, so it's unnecessary.
- Resolve conflict in configure.ac
- Move src/cpu/core_dynrec/cache.h to src/cpu/cache.h before applying
  diff to preserve blame information
- Convert original diff to Unix line endings to preserve blame
  information

Imported-from: https://www.vogons.org/viewtopic.php?p=798227#p798227

vogons/ece-r4305-1 2020-01-08 14:26:21 UTC
Add support for FLAC, Opus, and MP3 audio tracks

Author: krcroft
Author Date: 2019-12-11 17:06:36 UTC

Add support for FLAC, Opus, and MP3 audio tracks

Also, enable support for MSF values in cue files.

Imported-from: https://www.vogons.org/viewtopic.php?p=695839#p695839

po/drag-drop-floppy-1 2019-12-31 10:40:10 UTC
unfriending made Clang find more unused stuff

Author: dreamer_
Author Date: 2019-12-31 10:40:10 UTC

unfriending made Clang find more unused stuff

forks/hal9k-megabuild6-r3661 2019-12-22 23:55:32 UTC
DOSBox Megabuild 6

Author: dreamer_
Author Date: 2019-12-22 21:35:01 UTC

DOSBox Megabuild 6

This is a compilation of patches, that were distributed as "DOSBox
Megabuilds" by h-a-l-9000. Summary of patches:

- Don't exit on unsupported fullscreen mode
- Console beep support
- Paging improvements (experimental)
- Timer and interrupt latency patch, fixes certain games
- Reduced CPU usage when idling in command line
- Add the 'IMGMAKE' command (creates disk images, type imgmake -? in
  DOSBox for info on this)
- Make vgaonly features availible to other graphics cards, allow
  scalers to work in scanline emulation modes when possible
- Free choice of wether 9-pixel wide characters should be used
- Add back config option for video memory size - up to
  8MB = 1600x1200@32bpp
- Add DATE and TIME commands, midnight overflow, and host time
  synchronization (type date /s to activate)
- Add /B parameter support for the DIR command
- NE2000 Ethernet passthrough
- Real hardware OPL chip passthrough
- Parallel Port passthrough, file rediredtion and Virtual Printer
  patch, logging enabled
- Restart capability - ctrl+alt+POS1 or config -r [params]
  or FJMP F000:FFF0
- APM poweroff (Win95)
- Serial FIFO support and logging capability enabled
- Increase maximum resolution to 1600x1200, add lot's of highres
  VESA modes
- Fixes to S3 resolution handling, aspect ratio, enable LDGFXROM
  (loads video BIOSes, only useful for debugging)
- Weird video DAC support for the Transgression 2 Demo (tgr2 -hc), in
  vgaonly mode
- CGA video memory slowdown
- DOSBox can load while the splash screen displays
- FILES= adjustable by Kippesoep

Long and detailed description (with screenshots) is included with the
commit and can be found in: docs/html-doc/index.html

Recovered from Wayback Machine:
https://web.archive.org/web/20161130233554/http://home.arcor.de/h-a-l-9000/

po/msvc-code-analysis-1 2019-12-11 21:25:38 UTC
Test if code analysis works

Author: dreamer_
Author Date: 2019-12-11 21:25:38 UTC

Test if code analysis works

vogons/dos-setfiledate-r3858 2019-12-10 13:35:09 UTC
Implement DOS_SetFileDate

Author: gulikoza
Author Date: 2014-02-23 10:02:00 UTC

Implement DOS_SetFileDate

Originally implemented in ykhwong's fork of DOSBox.

gulikoza and FeedingDragon updated the patch for DOSBox SVN, and added
support for internal COPY command.

Imported from: https://www.vogons.org/viewtopic.php?p=345525#p345525

vogons/dyn-x86-carrypatch-r4298 2019-12-10 12:46:49 UTC
Adjust gen_needcarry implementation

Author: jmarsh
Author Date: 2019-12-10 12:43:24 UTC

Adjust gen_needcarry implementation

Imported from: https://www.vogons.org/viewtopic.php?p=805825#p805825

vogons/dyn-x86-carrypatch-1 2019-12-10 12:43:24 UTC
Adjust gen_needcarry implementation

Author: jmarsh
Author Date: 2019-12-10 12:43:24 UTC

Adjust gen_needcarry implementation

Imported from: https://www.vogons.org/viewtopic.php?p=805825#p805825

vogons/opl3-nuked-r3990 2019-11-06 13:32:27 UTC
Add Nuked OPL3 emulator v1.7.4

Author: nukeykt
Author Date: 2013-12-26 03:39:00 UTC

Add Nuked OPL3 emulator v1.7.4

Set oplemu to nuked in config file. Also set oplrate and mixer rate
to 49716 for best sound quality.

Nuked OPL3 thread: https://www.vogons.org/viewtopic.php?f=9&t=37782

Imported-from: https://www.vogons.org/viewtopic.php?f=41&t=49327

vogons/openglide-r4258 2019-09-19 03:51:42 UTC
Add Glide support

Author: gulikoza
Author Date: 2013-11-03 15:23:00 UTC

Add Glide support

Original thread: https://www.vogons.org/viewtopic.php?t=16462

Imported from patch stored in openglide project (commit 841e1071597),
which was an original patch rebased to DOSBox release 0.74-3
(SVN revision: ^/dosbox/branches/0_74_3@4249).

Signed-off-by: Bernard Cafarelli <bernard.cafarelli@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>

Original patch message:

Changes:
 - configurable splash screen
 - support multiple buffer locks (eg: back + depth) (Extreme Assault)
 - increase available LFB memory
 - fix Tie Break Tennis init
 - fix Unreal GPF

Previous versions:
 - 2012/06/08: Fix grTexClampMode (thanks robertmo!)
 - 2011/08/03: Fix polygon rendering
 - 2010/10/27: Add Pył support, fix grLFBRead/WriteRegion
 - 2009/11/24: Fix some minor issues, add MacOSX support (!)
 - 2009/10/09: Various fixes and code cleanups, fix originlocation + splash screen
 - 2009/08/30: Fix LFB operations when paging is active
 - 2009/06/04: Updated for 0.73, add MSVC6 projects for glide2x win9x build
 - 2008/09/14: Updated for current CVS, allow disabling LFB reads/writes
 - 2008/02/17: Updated for current CVS
 - 2007/11/06: Improve TR shadow support (gidierre)
 - 2007/10/18: Add TombRaider shadow hack (thanks gidierre!)
 - 2007/09/03: Fix a crash when closing dosbox while glide is active
 - 2007/08/28: x86_64 support
 - 2007/08/23: Fix buffer overflow
 - 2007/08/22: Fix compilation problems

TODO:
 - threading (?)

vogons/openglide-0.74.3-r4249 2019-09-19 03:51:05 UTC
Add Glide support

Author: gulikoza
Author Date: 2013-11-03 15:23:00 UTC

Add Glide support

Original thread: https://www.vogons.org/viewtopic.php?t=16462

Imported from patch stored in openglide project (commit 841e1071597),
which was an original patch rebased to DOSBox release 0.74-3
(SVN revision: ^/dosbox/branches/0_74_3@4249).

Signed-off-by: Bernard Cafarelli <bernard.cafarelli@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>

Original patch message:

Changes:
 - configurable splash screen
 - support multiple buffer locks (eg: back + depth) (Extreme Assault)
 - increase available LFB memory
 - fix Tie Break Tennis init
 - fix Unreal GPF

Previous versions:
 - 2012/06/08: Fix grTexClampMode (thanks robertmo!)
 - 2011/08/03: Fix polygon rendering
 - 2010/10/27: Add Pył support, fix grLFBRead/WriteRegion
 - 2009/11/24: Fix some minor issues, add MacOSX support (!)
 - 2009/10/09: Various fixes and code cleanups, fix originlocation + splash screen
 - 2009/08/30: Fix LFB operations when paging is active
 - 2009/06/04: Updated for 0.73, add MSVC6 projects for glide2x win9x build
 - 2008/09/14: Updated for current CVS, allow disabling LFB reads/writes
 - 2008/02/17: Updated for current CVS
 - 2007/11/06: Improve TR shadow support (gidierre)
 - 2007/10/18: Add TombRaider shadow hack (thanks gidierre!)
 - 2007/09/03: Fix a crash when closing dosbox while glide is active
 - 2007/08/28: x86_64 support
 - 2007/08/23: Fix buffer overflow
 - 2007/08/22: Fix compilation problems

TODO:
 - threading (?)

vogons/sdl2-android-r4178 2019-09-15 19:13:21 UTC
Implement an adaptation to SDL 2.0

Author: NY00123
Author Date: 2018-12-22 18:14:00 UTC

Implement an adaptation to SDL 2.0

Alpha-level Android build attached

Imported from: https://www.vogons.org/viewtopic.php?f=41&t=34770&start=140

svn/0_74_3 2019-06-26 15:25:48 UTC
0_74_3: seconds set of administrative changes

Author: Peter Veenstra
Author Date: 2019-06-26 15:25:48 UTC

0_74_3: seconds set of administrative changes

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/0_74_3@4249

201221 of 221 results
This repository contains Public information 
Everyone can see this information.