VOGONS

Common searches


Search results

Display options

Re: DOSBox-X branch

And yet, nobody describes how the hell you get your own VM map handle whatever-the-hell-it-is for yourself so you can use it. It's designed to map memory from one task (process) into another (possibly different) task. The vm_map_t arguments refer to the source and target tasks. We want the source …

Re: DOSBox-X branch

ChromeOS solves it another way. https://chromium.googlesource.com/chromiumos/third_party/kernel/+/179b15db55fc3642a8e9f0e97e15cfe8a74a406e Unless I'm overlooking something they are skipping over a much simpler solution: linux has memfd_create to associate an fd with memory, avoiding the shmem/ …

Re: DOSBox-X branch

You can also not mix i686 and x86_64 inside one process. You can on windows. All 32-bit apps get loaded with a 64-bit code segment accessible to them, for communicating with the kernel (it's how WoW64 works). Since the segment value is hardcoded and x86 has unprivileged instructions to get a …

Re: DOSBox-X branch

This typecast is optimized out by VS2019's compiler in Release builds, causing only the low 32 bits to be written in any case and a crash when executing the dynamically generated code. DOSBox-X fixes the issue by explicitly masking the pointer by 0xFFFFFFFF for that test instead of relying on …

Re: DOSBox-X branch

This typecast is optimized out by VS2019's compiler in Release builds, causing only the low 32 bits to be written in any case and a crash when executing the dynamically generated code. DOSBox-X fixes the issue by explicitly masking the pointer by 0xFFFFFFFF for that test instead of relying on …

Re: DOSBox-X branch

How do you set up DOSBox-X to show integer scaled window in fullscreen? I can do that easily in original DOSBox but I can't get it to work here. To be perfectly clear what I want to accomplish: I want to scale 320x200 game to 1280x800 so it's pixel perfect with even pixels and I want to display …

Re: DOSBox-X branch

Which compiler do you use for building? If it works on a Pentium 4, it’s likely built for SSE2 (-mfpmath=sse in gcc, might be set by default in recent mingw releases). If you compile with build-mingw-lowend, does it help? That script was originally designed to enable compiling on lower end systems …

Re: DOSBox-X branch

Quick 'thank you' for this, Jon and the other contributors. Neither VirtualBox or VMPlayer would let me install Win98SE in a virtual machine on my Ryzen PC - both were rather faster but both had illegal operation / invalid page fault failures in Regsvr32 (and something else in VirtualBox) so didn't …

Re: DOSBox-X branch

In other news, I sat down with one of the new ARM64-based M1 Apple Macbooks and got DOSBox-X to run on those too. There are some considerations to make for those though, which I thought I'd share so SVN can compile for them too. One is how to compile with SDL2. You're going to need to modify …

Re: DOSBox-X branch

Just a heads up, dynamic x86 core in DOSBox-X has apparently hit a problem with Visual Studio 2019 where x86_64 builds can crash when dynamic core is enabled. There is a double typecast in risc_x64.h that attempts to detect whether the prologue needs to load RBP (a full 64-bit pointer) or EBP (only …

Re: DOSBox-X branch

I am having trouble with the mouse tracking speed in the macOS SDL1 build of DOSBox-X. When I run in my native 'retina' resolution of 5120x2880 in fullscreen mode, the mouse tracking speed is about 50% of what it should be, compared to the same default settings in DOSBox SVN (i.e. I use "100%" …

Re: DOSBox-X branch

Just came in to tell that I compiled the latest DOSBOX-X on my macOS with SDL2 and I had an yellow tint screen when running Windows 3.11. I'm compiling with SDL1 now as we speak to see if the same problem happens there too. With SDL2 version I am also unable to go full screen; instead it just …

Re: DOSBox-X branch

@TheGreatCodeholio: I noticed that litchie from iDOS/DOSPad app for iOS might be open to having a look on DOSBox-X or SVN latest version for updating his iDOS emulator app. Not sure if you'd be interested in working with him to bring the best possible DOS/Win9x emulation to iOS/iPadOS, since now …

Re: DOSBox-X branch

Wow, PC-98 emulation, that's very interesting ! :D It seems that there were a lot of updates to the PC-98 line over the years, how is it managed inside DOSBox-X emulation-wise ? It's handled as a machine type, like anything else in the codebase, and the video mode as it's own enumeration. It is …

Re: DOSBox-X branch

I can't see any evidence of rollback except on a few select instructions (pusha, popa, etc.). Any opcodes that read from memory, perform an operation that modifies flags and then attempt to write a result back to memory have the potential to corrupt the flag state if the memory is mapped as read- …

Re: DOSBox-X branch

It's currently not updating flags at all, and if the write operation faults (e.g. due to read-only memory) the second operand gets updated anyway. xchg also has this problem. Then even if you fix that, there is still the problem that flags aren't rolled back if a fault occurs which affects ALL read …

Re: DOSBox-X branch

Not recently. Is there something that relies on it? Luckily not because it's broken in two different ways, and after fixing those I suspect it will still be broken due to a fundamental flaw in how flags are handled. Hm... https://www.felixcloutier.com/x86/xadd Well, I could go over it to at least …

Re: DOSBox-X branch

jmarsh wrote on 2020-07-26, 02:58: Have you ever tested the xadd instruction? Not recently. Is there something that relies on it? I did fix up Pentium CMPXCHG8B emulation though because Windows ME will randomly BSOD without it.

Re: DOSBox-X branch

Yes, confronted with this many assuredly have arrived at that conclusion, without bothering to mention issues like I have, I'm cantankerous but I'm nice that way. Another intent of DOSBox-X is retro development, which is also why many of the built-in and fixed settings in DOSBox SVN are broken out …

Page 1 of 41