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-1 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 3 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 3 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 3 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 4 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 2 minutes — see the log

Branches

Name Last Modified Last Commit
kk/dynrec-scas-1 2023-11-08 18:46:28 UTC
Implement SCAS and CMPS opcodes for dynrec

Author: Kirk Klobe
Author Date: 2023-11-08 18:46:24 UTC

Implement SCAS and CMPS opcodes for dynrec

kc/ide-sector-write-1 2023-10-22 09:27:27 UTC
Avoid a check_cast assert using endian-safe mem write

Author: kcgen
Author Date: 2023-10-22 09:27:23 UTC

Avoid a check_cast assert using endian-safe mem write

Replaces the previous code with the simpler host-dword write
operation.

The previous code didn't limit each shift to 8-bits, which
triggers an assertion error when running: device.com atapicd.sys

kk/github-m1runner-1 2023-10-16 21:36:08 UTC
test new M1 runner

Author: Kirk Klobe
Author Date: 2023-10-16 21:36:08 UTC

test new M1 runner

gm/shader-pain-1 2023-10-13 03:17:19 UTC
Rework shader loading

Author: GranMinigun
Author Date: 2023-09-19 22:52:00 UTC

Rework shader loading

wd/ffmpeg-experimental 2023-10-10 13:42:15 UTC
Remove unused variable

Author: Daniel Bomar
Author Date: 2023-10-06 13:19:31 UTC

Remove unused variable

kc/static-destruct-sequence-1 2023-10-05 19:06:56 UTC
latest stashed changed [WIP]

Author: kcgen
Author Date: 2023-10-05 19:06:56 UTC

latest stashed changed [WIP]

svn/r4000-nrs-vgm-patch-1 2023-10-05 17:08:37 UTC
Fix a pointer-comparison in nullmodem

Author: kcgen
Author Date: 2023-10-05 17:08:37 UTC

Fix a pointer-comparison in nullmodem

svn/r4000-nrs-tandy-dac-and-low-tone-patch-1 2023-10-05 16:44:39 UTC
Fix Tandy low notes in Zak McKracken and Maniac

Author: NewRisingSun
Author Date: 2014-01-15 21:45:00 UTC

Fix Tandy low notes in Zak McKracken and Maniac
Mansion Enhanced

Comments from NewRisingSun:

The low notes in Zak McKracken's intro still sound wrong in
all emulators when compared to a recording of its output on
a real Tandy machine.

The reason is that the game writes a
period of zero, which does not mean zero, but 1024, similar
to the 8254 PIT's period of zero meaning 65536. Current
tandy_sound.cpp tries to account for that but does it
incorrectly. Attached patch does it correctly, fixing Zak
McKracken's intro, as well as one flubbled note in Maniac
Mansion Enhanced.

Creative Commons Attribution No Derivatives 1.0 Generic license

Vogons thread: https://www.vogons.org/viewtopic.php?f=41&t=37917

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

Signed-off-by: kcgen <kcgen@users.noreply.github.com>

kk/paging-firstenc-1 2023-09-28 12:50:48 UTC
Disable x86 FPU instructions

Author: Kirk Klobe
Author Date: 2023-09-28 12:50:44 UTC

Disable x86 FPU instructions

forks/daum-scm-restoration 2023-09-26 23:40:45 UTC
Apply code fixes to fix the build up

Author: Eben Bruyns
Author Date: 2023-09-22 22:05:35 UTC

Apply code fixes to fix the build up

Removing some code that breaks the build and fixing some bad code that
doens't work on modern compilers

svn/trunk 2023-09-12 00:16:51 UTC
Fix compilation in Visual Studio 2008. Thanks Greg Kennedy.

Author: ripsaw8080
Author Date: 2023-09-12 00:16:51 UTC

Fix compilation in Visual Studio 2008. Thanks Greg Kennedy.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4483

wd/ffmpeg 2023-09-11 10:33:20 UTC
Fix PVS implicit enum cast warning

Author: Daniel Bomar
Author Date: 2023-09-11 10:33:20 UTC

Fix PVS implicit enum cast warning

gm/sdlpainkiller-1 2023-09-07 04:58:35 UTC
Refactor window and renderers management

Author: GranMinigun
Author Date: 2022-12-23 12:41:43 UTC

Refactor window and renderers management

sp/msvc-slirp-1 2023-08-13 19:24:05 UTC
Enable SLIRP in MSVC builds

Author: shermp
Author Date: 2022-12-31 22:15:30 UTC

Enable SLIRP in MSVC builds

Note, that libslirp replaces ssize_t for slirp_ssize_t
after msvc support was added.

sp/msys2-ci-fixes 2023-07-20 06:27:00 UTC
Add fluidsynth as system lib to "build_msys2_release" job

Author: shermp
Author Date: 2023-07-20 06:27:00 UTC

Add fluidsynth as system lib to "build_msys2_release" job

This is an attempt to workaround fluidsynth/glib CI errors

kk/debugger-modernize-1 2023-05-21 21:15:09 UTC
Fix initial debugger window height

Author: Kirk Klobe
Author Date: 2022-11-15 00:14:31 UTC

Fix initial debugger window height

kk/voodoo-threading-tweaks-1 2023-05-05 23:53:09 UTC
Tweak threading strategy

Author: Kirk Klobe
Author Date: 2023-05-05 23:53:01 UTC

Tweak threading strategy

The thread "done" synchronization is
simplified to a single atomic counter.

teb/Brazilian-Portuguese 2023-05-01 16:28:27 UTC
Small readability update in br.lng based on feedback

Author: Thomas Eric
Author Date: 2023-05-01 16:28:27 UTC

Small readability update in br.lng based on feedback

Co-authored-by: Thomas Eric <thombelcar@gmail.com>
Co-authored-by: André Braga <andre.braga@live.com>

vogons/voodoo-software-only-r4481 2023-04-14 09:05:57 UTC
Implement 3dfx Voodoo emulation using software

Author: Bernhard Schelling
Author Date: 2022-09-06 15:48:00 UTC

Implement 3dfx Voodoo emulation using software

Here's a patch that adds multi-threaded software 3dfx voodoo
emulation to current SVN.

This code is based on the original 3dfx emulation work by kekko.
See: fcc18fface838467f19135d99e5850287f550bb1, and
https://www.vogons.org/viewtopic.php?p=865994#p865994

Co-authored-by: kekko <kekko@vogons.org>

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

teb/translation-utility 2023-04-09 01:00:17 UTC
Comment out parts of the code for testing

Author: Thomas Eric
Author Date: 2023-04-09 01:00:17 UTC

Comment out parts of the code for testing

fc/msav-1 2023-04-08 21:32:25 UTC
[skip actions] Implement MSAV.EXE command (WIP)

Author: FeralChild64 <>
Author Date: 2023-03-27 17:26:46 UTC

[skip actions] Implement MSAV.EXE command (WIP)

kc/time-sync-3 2023-04-08 02:29:26 UTC
wip

Author: kcgen
Author Date: 2022-11-12 05:07:48 UTC

wip

kc/fps-pacing-1 2023-04-08 02:01:41 UTC
Squash a couple warnings

Author: kcgen
Author Date: 2021-10-04 04:02:26 UTC

Squash a couple warnings

kc/fpu-3 2023-03-05 03:05:17 UTC
Fix ARM dynrec dynamic core FPU by only passing stack pointer

Author: Jonathan Campbell
Author Date: 2023-03-05 03:02:35 UTC

Fix ARM dynrec dynamic core FPU by only passing stack pointer

Update dynrec core for ARMv8 systems to generate shift
instruction. This fixes dynamic core (dynrec) on ARMv8 systems
including ARM-based M1 Macbooks.

Fix a serious bug in dynrec dynamic core where calls to handle
x86 FPU instructions erronously passed the entire FPU status
word instead of passing only the FPU stack pointer. The result
of this error was that floating point was erratic, buggy, and
often caused memory corruption in DOSBox-X eventually leading
to a crash. It should now be possible to properly run DOS games
on dynrec based systems, including ARM-based M1 Macbooks, that
use the FPU. (joncampbell123)

Includes tentative ARM fixes by adding (yet untested) generator
code for the ARMv4 risc backend.

fc/s3-1 2023-02-27 18:52:27 UTC
[skip actions] WIP

Author: FeralChild64 <>
Author Date: 2023-02-25 12:32:56 UTC

[skip actions] WIP

Co-authored-by: joncampbell123 <noreply@github.com>
Co-authored-by: ykhwong <ykhwong@daum.net>

ww/fat32-test-2 2023-02-27 15:56:18 UTC
Standardize formatting by apply clang-format

Author: kcgen
Author Date: 2023-02-10 20:15:08 UTC

Standardize formatting by apply clang-format

This is a white-space only change to help when rebasing.

sp/ww/fat32-large-1 2023-02-24 10:03:51 UTC
Restore cast to long long for printf

Author: shermp
Author Date: 2023-02-24 10:03:51 UTC

Restore cast to long long for printf

off_t may be long on some platforms (eg: 64-bit linux)

ww/fat32-test-1 2023-01-20 02:14:08 UTC
Integrate FAT32 and large HDD patches

Author: Wengier
Author Date: 2022-09-30 07:35:09 UTC

Integrate FAT32 and large HDD patches

gh-pages 2023-01-08 01:20:05 UTC
Deployed d4c908f with MkDocs version: 1.4.2

Author:
Author Date: 2023-01-08 01:20:05 UTC

Deployed d4c908f with MkDocs version: 1.4.2

sp/debian-docker-1 2023-01-03 04:14:08 UTC
Add armhf builds to linux workflow

Author: shermp
Author Date: 2023-01-03 04:14:08 UTC

Add armhf builds to linux workflow

sp/autotype-combo-1 2022-12-18 08:30:51 UTC
Refactor combo code to nested class

Author: shermp
Author Date: 2022-12-18 08:30:51 UTC

Refactor combo code to nested class

This makes cleanup easy without the dirty lambda hack

ww/voodoo-3dfx-1 2022-10-12 06:08:27 UTC
Cleans up the code types and warnings

Author: Wengier
Author Date: 2022-10-11 03:42:39 UTC

Cleans up the code types and warnings

ww/fat32-test 2022-10-02 05:28:26 UTC
Integrate FAT32 and large HDD patches

Author: Wengier
Author Date: 2022-09-30 07:35:09 UTC

Integrate FAT32 and large HDD patches

release/0.79.x 2022-09-30 15:59:10 UTC
Add 0.79.1 release to metadata

Author: kcgen
Author Date: 2022-09-30 15:59:10 UTC

Add 0.79.1 release to metadata

kk/debugger-no-highdpi-1 2022-08-20 19:58:15 UTC
Disable HighDPI for debugger window

Author: Kirk
Author Date: 2022-08-20 19:58:15 UTC

Disable HighDPI for debugger window

sp/debian-cross-1 2022-08-03 03:01:45 UTC
Update docker img version tag

Author: shermp
Author Date: 2022-08-03 03:01:45 UTC

Update docker img version tag

sp/windows-ci-1 2022-06-19 05:35:28 UTC
Run tests on all MSYS2 build configs

Author: shermp
Author Date: 2022-06-19 04:27:10 UTC

Run tests on all MSYS2 build configs

Running tests in Meson are cheap.

sp/help-refactor-2 2022-05-26 05:23:59 UTC
Implement help utils for programs

Author: shermp
Author Date: 2022-05-26 04:58:33 UTC

Implement help utils for programs

sp/fix-progstart-typo 2022-05-10 21:26:01 UTC
Fix autotype starting when running BOOT or BIOSTEST

Author: shermp
Author Date: 2022-05-10 21:26:01 UTC

Fix autotype starting when running BOOT or BIOSTEST

Stupid copy/paste typo

sp/docker-runner-2 2022-05-02 23:51:16 UTC
Add pip, remove clang and meson to base packages

Author: shermp
Author Date: 2022-05-02 23:51:16 UTC

Add pip, remove clang and meson to base packages

kk/new-debugger-ui 2022-04-26 18:37:16 UTC
Clean up minor code issues

Author: Kirk Klobe
Author Date: 2022-04-26 18:21:43 UTC

Clean up minor code issues

ww/ttf-output-1 2022-04-26 04:12:16 UTC
Support for TTF output

Author: Wengier
Author Date: 2022-04-26 03:36:59 UTC

Support for TTF output

ww/ttf-output 2022-04-15 04:28:06 UTC
Add FreeType header files

Author: Wengier
Author Date: 2022-04-15 04:28:06 UTC

Add FreeType header files

ww/share-port 2022-04-07 05:07:51 UTC
Try to silence warnings

Author: Wengier
Author Date: 2022-04-07 03:08:47 UTC

Try to silence warnings

ww-extended-edition 2022-04-02 22:49:12 UTC
Add note

Author: Wengier
Author Date: 2022-04-02 22:45:19 UTC

Add note

ww/voodoo-3dfx 2022-03-30 04:07:07 UTC
Add support for resizable Voodoo OpenGL mode

Author: kekko
Author Date: 2022-03-30 04:07:07 UTC

Add support for resizable Voodoo OpenGL mode

sp/win-msvc-arm64 2022-03-25 07:30:56 UTC
Disable running ARM64 tests

Author: shermp
Author Date: 2022-03-25 07:30:56 UTC

Disable running ARM64 tests

bm/ipx-enet-2 2022-02-22 16:49:00 UTC
This commit is designed to test the feasibility of adding the enet library in...

Author: Brandon Munger
Author Date: 2021-06-09 04:13:34 UTC

This commit is designed to test the feasibility of adding the enet library in place of SDL2_net.
This library is intended to address the issues of UDP reliability and offers IPv6 support as well.
Currently it does not fix the issues some games have with high latency. Additional testing and fixes are required before merging.

po/fix-gmock-detection 2022-02-15 03:54:04 UTC
fixup! Assure gtest and gmock in the same version

Author: dreamer_
Author Date: 2022-02-15 03:54:04 UTC

fixup! Assure gtest and gmock in the same version

sp/docker-runner-1 2022-02-08 09:07:55 UTC
Add initial Dockerfile for creating ephemeral GH runners

Author: shermp
Author Date: 2022-02-08 09:07:55 UTC

Add initial Dockerfile for creating ephemeral GH runners

sp/win-installer-1 2022-02-05 20:26:13 UTC
Add shortcuts and registry keys

Author: shermp
Author Date: 2022-02-05 20:26:13 UTC

Add shortcuts and registry keys

ww/attribfs 2022-01-22 21:06:38 UTC
Rewrite non-Windows attrib code using std::fs

Author: Wengier Wu
Author Date: 2022-01-22 21:02:38 UTC

Rewrite non-Windows attrib code using std::fs

release/0.78.x 2022-01-07 14:42:08 UTC
Refactor code-page parsing of UPX id and version

Author: kcgen
Author Date: 2022-01-06 17:05:50 UTC

Refactor code-page parsing of UPX id and version

 - Unravels five levels of nesting and two loops into a
   single level with no loops.

 - The nested fread() calls previously didn't have error
   handling. Now the single fread() call is checked.

 - Replaces all magic numbers.

 - Moves error handling to the first testable point
   instead of deferring those checks across a longer
   swath of code.

bxr/unit-tests-2 2021-11-27 04:17:54 UTC
Code improvements per review in PR #1381

Author: Brandon Roberts
Author Date: 2021-11-27 04:17:54 UTC

Code improvements per review in PR #1381

vogons/save-states-r4467 2021-10-22 14:05:52 UTC
Implement save-states support

Author: kcgen
Author Date: 2021-10-22 13:37:22 UTC

Implement save-states support

---

Notes from Ringding - (ported to 4467)

2021-10-21, 13:56 Fairly mechanical update of the mentioned patch to current
SVN. Only build-tested (on Linux). Specifically I did not check if additional
machine state items w ere added that would also require saving and restoring.

EDIT: Also pushed here because all this shuffling of huge subversion diffs is
really annoying:
https://github.com/Ringdingcoder/dosbox-staging/commits/savestates

---

Notes from bruenor41 - (ported to 4176)

2018-12-06, 04:27
I created patch file for sn 4176, hope correctly

In hardware.cpp I faced issue with variable std::string capturedir; Newly it
was defined as static which makes compilation errors in save_state.cpp :

save_state.o: In function `SaveState::save(unsigned int)':
save_state.cpp:(.text+0x7b4): undefined reference to `capturedir[abi:cxx11]'
save_state.cpp:(.text+0x7de): undefined reference to `capturedir[abi:cxx11]'
save_state.o: In function `SaveState::load(unsigned int) const':
save_state.cpp:(.text+0x165a): undefined reference to `capturedir[abi:cxx11]'
save_state.cpp:(.text+0x1684): undefined reference to `capturedir[abi:cxx11]'
collect2: error: ld returned 1 exit status

changing it back to non static solved the error, how it should be fixed
correctly ?

---

Notes from SedrynTyros - (ported to 4074)

2018-10-19, 07:46
Oh yeah, definitely still interested in having a save states patch compatible
with current DOSBox builds! I have a feeling the DOSBox devs are done with
making major changes to the code pending the upcoming 0.75 release, so if you
or bruenor can figure out how to modify the save state code to be compatible
with the Gameblaster and Tandy changes and produce a patch we're probably be
good to go for the foreseeable future. And thanks again for all the work you
guys have done on this!

I was able to clean up the r4019 patch to work with r4074. I'll do some more
testing to see if it actually works with games, but initial results look good.
If I can find the time to confirm it works I'll upload the patch here.

I've attached the modified patch that applies cleanly to DOSBox r4074 named
"bruenor41_savestate_r4074_win32_mingw_v2_st-update.patch". The patch is based
on "bruenor41_savestate_r4019_win32_mingw.patch" but also includes the fix for
raiden that bruenor41 posted here:

I've tested a few games and Save States seem to work correctly. I don't really
have time for extensive testing right now, but I've attached
"DOSBox-SVN-r4074-with-Save-States.rar" which is the basic DOSBox build I
compiled for testing if somebody else wants to play around with it.

---

Notes from bruenor41 - (fixes to 4019 patch)

2017-09-07, 00:49
Hi, I updated save states, some things were not saved, so I took missing stuff
from daum build and I fixed some errors by myself, I don't understand why these
errors didn't appear in daum... I use more enhanced version, so I merged
changes to r4019, hope without errors. Sorry, I don't know how to create diff.
With these changes increases significantly range of games which supports
save/load states, but still not perfect. Dynrec needs more mork, it wont load
everything correctly. Seems, it needs reset, like has _x86 version.

Fixes:
  C&C1 and Red Alert - fixed segmentation faults
  Fallout 1 - fixed crash when loading states through different areas
  Earth 2140 - fixed crash
  Wolfenstein 3d + SWOLF - fixes graphical glitches
  Lands of Lore 1 - loads now correctly when loading through different areas,
  dynrec does not work here

Games what I tested for a longer time and seems to be OK:
  Warcraft 1,2
  Albion - from beginning to the end I used states and works at 100%
  Fallout 1
  C&C1
  Doom
  Might and Magic 1
  KKND
  Ignition
  Wacky wheels
  Dangerous Dave
  Bio Menace

Shortly tested:
  Settlers 2
  Realms of Arkania 1,2 (3rd part was not tested)
  Monkey Island 1
  Ultima 7 - states wont load during intro and menu, but in game it works
  Duke 3D
  Syndicate
  Willy Beamish

Games which I cant get work:
  Daggerfall

2017-09-17, 23:26
Hi people, here is newest version of save/load states. Because my knowledge of
cpu is not so good, I asked M-HT for a help. He implemented missing dynrec
cache reset. I send him big thanks. I merged that fix to version posted above.
As far as I tried, all games tested by me were loaded correctly now. Please, if
you find game what does not work correctly with save/load states, post here
it's name and your dosbox configuration. I'll try look at this.

EDIT : Save states checks which exe file is currently loaded. Might happen that
you try load save stated during intro, but intro might be another exe file
loaded by main game file. In this case, states are loaded when intro finishes
and is loaded correct exe file.

2017-10-03, 04:21
I fixed most critical issue when loading states in Alien Carnage. Another rare
situation must wait, but seems it is far enough for this game, it works well.

Edit : uploaded sources with latest fix
Please report game which wont work with states

---

Notes from gandhig - (ported patch to r3782 through r4019)

Thanks to ZenJu, tikalat, ykhwong and of course, all the dosbox authors, here
is an alpha version of Dosbox SVN r4019 with savestates(patches taken from this
thread), built statically(with few shared dependencies) for debian 32 bit linux
systems(tested on lubuntu only) as well as for windows.

Purists & old-timers(including myself) may please forgive.

Summary:

  1) diff uploaded by tikalat against Dosbox SVN 3782(patch-005) was used as a
     base.

  2) Added/removed certain data/data structs/POD's by comparing them between
     r3782 and r4007. Adapted to r4019 later without further changes.

  3) Under Dos Files, "LPT1" was needed in addition to "CON", "PRN" & "AUX"
     checks. Probably it was fixed by tikalat in his later patches to daum
     build.

  4) Save/Load to/from Disk code copied from latest Daum build.

  5) Aim is to reach the savestates compatibility level of tikalat's 'savestate
     patch 005' to SVN r3782 build

Tested games (i.e. no regular crash đŸ¤£):
  a) Lure of the Temptress
  b) XCOM UFO Defense
  c) Turrican II
  d) GP2 99 by Microprose
  e) Wacky wheels (Thanks to bruenor41)
  f) Dangerous dave 2 in the haunted mansion (Thanks to bruenor41)
  g) Fallout 1 (Thanks to bruenor41)
  h) Bio Menace (Thanks to bruenor41)
  i) Might & Magic 1 (Thanks to bruenor41)

Issues/Fix needed/To Do:

  a) GP2 throws segmentation fault just after loading the saves. Issue was not
     observed in the buid of SVN 3782(with tikalat's savestate-005 patch
     applied). Got fixed automatically in SVN r4019.

  b) May not work with Dune as 'opl3gold' mode not added yet. Not sure if it is
     required or that it will crash, as Dune is not available with me.

  c) There maybe code regression due to certain new or replaced data/POD's in
     r4019 w.r.t r3782.

  d) Compile win32 build - Completed.

  e) Add MUNT support - Dropped

  f) etc.

Note:
  1) Intentionally no code was added đŸ¤£ to the main SVN source.
  2) Dosbox SVN source/diff added in posts below
  3) Those who download the build are requested to run it first in a virtual
     environment, if possible, to avoid hard crashes.

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=1011662#p1011662

Authors listed from old/original to new:
  ZenJu & tikalat - primary authors
  ykhwong - ported into Daum
  gandhig - ported to r3782 to r4019
  bruenor41 - fixes to r4019 ported to
  Stefan Ring (Ringdingcoder) - ported to 4467

Co-authored-by: ZenJu <ZenJu@vogons.org>
Co-authored-by: tikalat <tikalat@vogons.org>
Co-authored-by: ykhwong <ykhwong@daum.net>
Co-authored-by: gandhig <gandhig@vogons.org>
Co-authored-by: bruenor41 <bruenor41@vogons.org>
Co-authored-by: SedrynTyros <SedrynTyros@vogons.org>
Co-authored-by: Stefan Ring <stefanrin@gmail.com>

release/0.77.x 2021-08-28 20:02:13 UTC
Don't unshallow repo during versioning

Author: kcgen
Author Date: 2021-08-28 20:02:13 UTC

Don't unshallow repo during versioning

kk/decompose-tlb-1 2021-08-18 14:28:29 UTC
Fix gcc arm64 compile error for paging.tlb

Author: Kirk
Author Date: 2021-08-18 14:28:23 UTC

Fix gcc arm64 compile error for paging.tlb

ww/help 2021-07-09 06:11:50 UTC
Allow HELP command to show command help

Author: Wengier
Author Date: 2021-07-09 05:37:29 UTC

Allow HELP command to show command help

dependencies/residfp 2021-06-20 15:27:29 UTC
Sync PVS Studio fixes in residfp from upstream

Author: drfiemost
Author Date: 2021-06-20 15:27:29 UTC

Sync PVS Studio fixes in residfp from upstream

Fixes issues:
 - libsidplayfp/libsidplayfp#22
 - libsidplayfp/libsidplayfp#24
 - libsidplayfp/libsidplayfp#25
 - libsidplayfp/libsidplayfp#27
 - libsidplayfp/libsidplayfp#28

bm/ipx-enet-1 2021-06-10 02:55:55 UTC
This commit is designed to test the feasibility of adding the enet library in...

Author: Brandon Munger
Author Date: 2021-06-09 04:13:34 UTC

This commit is designed to test the feasibility of adding the enet library in place of SDL2_net.
This library is intended to address the issues of UDP reliability and offers IPv6 support as well.
Currently it does not fix the issues some games have with high latency. Additional testing and fixes are required before merging.

ww/ide 2021-04-24 03:55:04 UTC
update VS project

Author: Wengier
Author Date: 2021-04-24 03:55:04 UTC

update VS project

po/try-static-fluidsynth 2021-04-04 17:38:24 UTC
Add fluidsynth to try_static_libs list

Author: dreamer_
Author Date: 2021-04-04 17:38:03 UTC

Add fluidsynth to try_static_libs list

Fixes: #968

po/april-warnings-1 2021-04-04 14:05:44 UTC
Remove unused parameters from XGA implementation

Author: dreamer_
Author Date: 2021-04-04 13:45:54 UTC

Remove unused parameters from XGA implementation

po/packaging 2021-03-27 09:13:04 UTC
WIP

Author: dreamer_
Author Date: 2021-03-27 09:13:04 UTC

WIP

po/mode-cmd-3 2021-03-24 23:31:18 UTC
WIP add more modes

Author: dreamer_
Author Date: 2021-03-24 23:31:18 UTC

WIP add more modes

po/opengl-investigation-2 2021-03-22 15:59:30 UTC
WIP harden the extension listing a bit more

Author: dreamer_
Author Date: 2021-03-22 15:59:30 UTC

WIP harden the extension listing a bit more

po/macos-openg-investigation-1 2021-03-21 21:40:06 UTC
WIP empty commit to trigger new build

Author: dreamer_
Author Date: 2021-03-21 21:40:06 UTC

WIP empty commit to trigger new build

po/pc-speaker-patch-1 2021-03-20 19:15:08 UTC
PC speaker patch

Author: Adam
Author Date: 2021-03-15 13:40:19 UTC

PC speaker patch

Patch to improve accuracy of PC speaker emulation

po/alsa-split-2 2021-03-15 18:56:31 UTC
WIP fluid

Author: dreamer_
Author Date: 2021-03-15 17:54:35 UTC

WIP fluid

forks/daum-20150125-r3894 2021-03-15 12:58:51 UTC
Dosbox_daum_20150125_source

Author: ykhwong
Author Date: 2015-01-25 07:52:39 UTC

Dosbox_daum_20150125_source

Imported-from: https://web.archive.org/web/20180102020908/http://coraksoft1.narod.ru/emu/dos/Dosbox_daum_20150125_source.7z

po/test-ci-speed-cache-brew-1 2021-03-09 16:53:59 UTC
Final test

Author: dreamer_
Author Date: 2021-03-09 16:53:59 UTC

Final test

po/test-ci-speed-master-1 2021-03-09 15:56:48 UTC
Test (old 2)

Author: dreamer_
Author Date: 2021-03-09 15:32:36 UTC

Test (old 2)

forks/daum-20140126-r3857 2021-03-07 17:07:27 UTC
Dosbox_daum_20140126_source

Author: ykhwong
Author Date: 2014-01-26 17:57:06 UTC

Dosbox_daum_20140126_source

Imported-from: https://web.archive.org/web/20180102020908/http://coraksoft1.narod.ru/emu/dos/Dosbox_daum_20140126_source.7z

po/rfc-slirp-1 2021-03-06 00:38:53 UTC
CI: fix slirp config initializer

Author: Jookia
Author Date: 2021-03-06 00:38:53 UTC

CI: fix slirp config initializer

po/test-ne2000-merge-1 2021-03-03 23:42:51 UTC
Merge branch 'po/import-ne2000-1'

Author: dreamer_
Author Date: 2021-03-03 23:42:51 UTC

Merge branch 'po/import-ne2000-1'

po/test-ut-disabler 2021-02-27 15:06:30 UTC
Bring back previous solution for detecting gtest

Author: dreamer_
Author Date: 2021-02-27 15:06:30 UTC

Bring back previous solution for detecting gtest

Except now respect the user-selected 'unit_tests' feature.

This way unit tests will be automatically disabled for debug builds when
gtest is not installed and user passes wrap-mode nofallback or
nodownload.

po/import-ne2000-1 2021-02-24 14:05:24 UTC
Add pcap dependency to make ne2000 buildable

Author: dreamer_
Author Date: 2021-02-24 14:00:10 UTC

Add pcap dependency to make ne2000 buildable

The feature and the dependency are disabled by default.

forks/ldosbox-original 2021-02-22 12:50:15 UTC
lDosBox source code dump (original)

Author: Luigi B
Author Date: 2019-04-26 12:23:32 UTC

lDosBox source code dump (original)

This commit represents source code of lDosBox, exactly as it is
distributed by author (with licenses, documentation, and buildsripts
removed).

Imported-from: https://play.google.com/store/apps/details?id=lb.myapp.ldosbox

forks/ldosbox 2021-02-22 12:48:27 UTC
lDosBox source code dump

Author: Luigi B
Author Date: 2019-04-26 12:23:32 UTC

lDosBox source code dump

This commit represents source code of lDosBox, changes overlayed on top
of original SVN commit, without upstream files removed.

It's easier to read than the "original" source code dump.

Imported-from: https://play.google.com/store/apps/details?id=lb.myapp.ldosbox

release/0.76.x 2021-02-18 19:51:01 UTC
Fix CD-DA pregap start calculation instead of clamping-to-sanity

Author: kcgen
Author Date: 2021-02-15 15:50:10 UTC

Fix CD-DA pregap start calculation instead of clamping-to-sanity

For playback that falls in the track's pre-gap, we now make sure
to start playback at the track's actual start instead of
underflowing.

For illegal requests fall outside the legal track bounds, we no
longer "clamp our way back to sanity", and instead allow the seek to
fail (and produce the corresponding LOG_MSG) followed by passing the
failed seek result upstream, which is what would happen with a real
failed MSCDEX seek request.

This fixes a previous illegal but non-fatal seek during the intro
sequence of Betrayal At Krondor, which previously produce this log:

  CDROM: Seek requested to byte 4294875568
  which is beyond track 16's end at byte 8144976

po/meson-21-fluid-1 2021-02-18 12:24:38 UTC
WIP Force wrapper fallback for macOS release build

Author: dreamer_
Author Date: 2021-02-18 12:24:38 UTC

WIP Force wrapper fallback for macOS release build

po/older-opengl-1 2021-02-15 01:03:58 UTC
Use Git tag description for emulator version

Author: dreamer_
Author Date: 2021-02-13 19:27:48 UTC

Use Git tag description for emulator version

This change BREAKS Autoconf-based buildsystem. Only Meson and Visual
Studio buildsystems are operational from this point forward.

Thanks to this change, it will be easier for developers and testers to
communicate/detect the exact version of emulator.

Builds created from tarball releases OR builds from Git repo
checked out to point to an annotated tag will behave this way:

    $ dosbox --version
    dosbox (dosbox-staging), version 0.77.0
    ...

Development builds from Git repo will behave this way:

    $ dosbox --version
    dosbox (dosbox-staging), version 0.77.0-alpha-457-g6d8d10a9
    ...

Meson handles this "automagically", correctly for us via vcs_tag
function. We use it to generate version.cpp file - this way new commits
in repo will rebuild only a single file and trigger linker, but will
never result in full rebuild.

When Meson cannot obtain info version from Git, it automatically falls
back to version specified in our project function on top of meson.build
file.

Leave VERSION macro in place (it originated from Autoconf) in several
places - it's being extensively used when communicating e.g. "emulated
modem firmware version" and other fake-hardware identification.

Any builds created with Visual Studio (Release and Debug builds) will
use hardcoded version string for VERSION macro and hardcoded version
string DOSBOX_DETAILED_VERSION for all the places where we want more
info. This macro defaults to string "git" and is being overriden with
output of "git describe" on CI.

Also, adjust --version copyright message for readability and to better
fit into 80 colums.

Fixes: #543

po/localtime-4 2020-12-28 18:02:13 UTC
WIP test if MSYS2 builds are ok

Author: dreamer_
Author Date: 2020-12-28 18:02:13 UTC

WIP test if MSYS2 builds are ok

vogons/ari-settime-r4396 2020-12-23 15:47:45 UTC
Update DOS_SetFileDate with non-deprecated calls

Author: ari
Author Date: 2020-12-23 15:47:45 UTC

Update DOS_SetFileDate with non-deprecated calls

Context:
 - Originally implemented in ykhwong's fork of DOSBox.
 - gulikoza and FeedingDragon updated the patch for DOSBox SVN, and
   added support for internal COPY command.

Message from author:

I took the freedom to adopt this to trunk.

The original patch(es) have some problems, so I needed to rework it
a bit. Main problem was that they work on file names stored in
DosLocalFile Class. These however are mangled DOS style 8.3 names,
not the orignal filesystem names.

(for example DOSBOX~3 instead of DOBOX-SVN-SRC). Trying to open
these to set the time of course fails.

Also the modifications to implement this were both invasive and not
conformant to the coding style used elsewhere in the files. The file
system directory path of the file needs to be stored in the class
and the original implementation does that without copying it,
leaving a reference to the original string.

What however works well and is both less invasive and memory intense
is to set the file time using the still open OS file handle.
Unfortunately Linux does not provide futime(), but luckily there is
an alternative available on all modern operating systems: futimes().
This should work with linux >= 2.6.22, NetBSD, FreeBSD , and MacOS.
For Windows I use the SetFileTime() on the handle as in the original
windows patches.

Care is taken to flush out any high level buffered file data, before
the time is set. Otherwise the FileTime would be set to the current
time when the file is close.

So this patch should work on any modern operating system - The only
thing open is OS/2 - which I doubt is used for other then academic
research any more .

I not sure and I cannot test, but even OS72 should have _futime().
Someone still working on this can try to implement it, it should be
simple.

I tested the attached pach on both linux (x64) and Windows (X64,
cross-compiled using a very recent mingw on SuSE) - both work
correctly.

This now allows DOS games patching without complaining.

Imported from: https://www.vogons.org/viewtopic.php?p=920468#p920468

po/better-import-script 2020-12-15 21:50:52 UTC
Disable false-positive shellcheck warning

Author: dreamer_
Author Date: 2020-12-15 21:50:52 UTC

Disable false-positive shellcheck warning

po/gettext-migration-1 2020-12-13 20:23:34 UTC
WIP Initial integration of gettext

Author: dreamer_
Author Date: 2020-12-13 16:00:19 UTC

WIP Initial integration of gettext

- Convert few messages to new API
- Create template file (dosbox.pot)
- Create tiny translation file for polish (pl/dosbox.po)
- To test: compile dosbox.mo (using e.g. poedit), and place it in
  ./pl/LC_MESSAGES/dosbox.mo
  then run:

      LANGUAGE=pl ./src/dosbox

- TODO: gettext converts to US-ASCII (removes diacritics) (good!),
        but dos can't show them - synchronize gettext conversion
        with used codepage (e.g. 'keyb pl` loads codapage 852, so
        so when recompiled with CP852 instead of US-ASCII, the polish
        letters are perfect) - make it switch in runtime

po/fix-auto-mod-1 2020-12-12 01:17:55 UTC
Prevent hiding a global variable

Author: dreamer_
Author Date: 2020-12-12 01:17:55 UTC

Prevent hiding a global variable

There are multiple local variables called 'test' in this file and static
analyzers complain about it.

vogons/overscan-r2569 2020-11-30 23:17:21 UTC
Overscan borders

Author: Vasyl Tsvirkunov
Author Date: 2006-03-31 23:17:21 UTC

Overscan borders

The old version is not working that well with new render
implementation. Here's completely new approach. It's not
blended border anymore. It is not as universal as the old
version -- currently works only with output=surface, it also
requires forcing fullscreen size to be bigger than video
mode used by game (no such limitation for window mode).
While it is less universal than the old one it does look better.
The controlling option in dosbox.conf is different. Use
overscan=<width> in [sdl] section.
This implementation is much cheaper and simpler than the old
one, near zero performance cost even with frequent border
color changes. For this reason it is compiled
unconditionally - C_OVERSCAN is not used anymore.

Imported-from: https://sourceforge.net/p/dosbox/patches/120/

po/core-full-static-fix-1 2020-10-31 14:09:58 UTC
WIP Try to silence some static analysis issues

Author: dreamer_
Author Date: 2020-10-31 14:02:11 UTC

WIP Try to silence some static analysis issues

Static analysis complains about default switch case, when in reality it
seems like it cannot happen (to be investigated).

it seems like rm_mod is a single byte, rm_eai is 3 bits; which would be
too much. case covers *subset* of 5-bit values.

release/0.75.x 2020-10-26 20:46:07 UTC
Update all version strings to 0.75.2

Author: dreamer_
Author Date: 2020-10-26 20:44:47 UTC

Update all version strings to 0.75.2

forks/gog-homm2-1 2020-10-24 12:43:57 UTC
Include other files included in tarball

Author: dreamer_
Author Date: 2020-10-24 12:43:00 UTC

Include other files included in tarball

po/mode-cmd-2 2020-10-07 10:22:56 UTC
Hurray, 'mode' cmd will work; or 'mode con' at least

Author: dreamer_
Author Date: 2020-09-29 22:46:56 UTC

Hurray, 'mode' cmd will work; or 'mode con' at least

Except: save restore text mode when running the exec

There's a DOS function for that

po/mem-ut-2 2020-10-01 01:41:15 UTC
WIP

Author: dreamer_
Author Date: 2020-09-25 09:00:35 UTC

WIP

po/string-utils-2 2020-09-30 16:31:57 UTC
WIP Harden safe_strncpy macro

Author: dreamer_
Author Date: 2020-09-27 20:28:58 UTC

WIP Harden safe_strncpy macro

po/fix-wx-next-2 2020-09-08 20:18:55 UTC
Move dynamic block initialization for core_dyn_x86

Author: dreamer_
Author Date: 2020-09-08 20:18:55 UTC

Move dynamic block initialization for core_dyn_x86

po/fix-wx-next-1 2020-09-08 18:02:27 UTC
WIP Move dynamic block initialization to core_dynrec

Author: dreamer_
Author Date: 2020-09-08 18:02:27 UTC

WIP Move dynamic block initialization to core_dynrec

po/gtest-vs-1 2020-09-08 14:00:32 UTC
Remove test auto-generated by VS

Author: dreamer_
Author Date: 2020-09-08 13:57:39 UTC

Remove test auto-generated by VS

po/string-utils-1 2020-07-01 14:29:24 UTC
WIP strcat_s

Author: dreamer_
Author Date: 2020-07-01 14:29:24 UTC

WIP strcat_s

po/cpu-experimental-1 2020-06-25 16:24:37 UTC
WIP Use single cache.h implementation for both dynreg

Author: dreamer_
Author Date: 2020-06-25 16:16:09 UTC

WIP Use single cache.h implementation for both dynreg

At this point basically all differences were removed.

vogons/voodoo-r4353 2020-06-17 11:51:12 UTC
Implement 3dfx Voodoo emulation

Author: kekko
Author Date: 2020-06-16 17:03:00 UTC

Implement 3dfx Voodoo emulation

This is an updated patch against current svn.

- fixes minor compiling issues
- fixes a major video memory leak in Quake2 and Descent2

Quake2 uses sort of dynamic textures for realtime lighting, changing
existing textures thus invalidating textures cache and forcing to
reload them.

Descent 2 writes to existing textures for animations and fonts.
The fix adds a glDeleteTextures in function voodoo_ogl_texture_clear,
which is called when a texture is invalidated due to a write.

There is still a performance issue because of texture caching during
explosions or gun firing.

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

101200 of 226 results
This repository contains Public information 
Everyone can see this information.