VOGONS

Common searches


Search results

Display options

Re: Text color errors under OS X

There were other things than 9-dot characters you wanted, like 512 characters. I forget the reason(s) for using the 16-bpp drawing instead of 8-bpp, but that would appear to be a crucial point in the color issue. However, what I don't understand is why it's only an issue *now*, all these years …

Re: Text color errors under OS X

OK, I think I see where the problem is, though I haven't the faintest idea of how to solve it. In vga_draw.cpp, in order to get char9 to work, I comment out one part of the code and uncomment another part, like this: /* // emendelson comment out static Bit8u * VGA_TEXT_Draw_Line(Bitu vidstart, Bitu …

Re: ANSI color errors under OS X

Your memory is amazingly exact. I followed the link and found a fix by applying the first of the two patches in this posting: https://sourceforge.net/p/dosbox/bugs/347/#ca16 I didn't need the second patch in the message. But what really puzzles me is this: Stock SVN, built in macOS Sierra with my …

Text color errors under OS X

]Here is a mystery I hope someone can help me solve. I've been building DOSBox for years under both OSX/macOS and Windows (using both Visual Studio and MinGW), using a modified version of the source that owes a lot to helpful people on this forum. Recently I've tried using the same source code for …

Re: DOSBox-X branch

I think the problem is that I added the optional DirectX components to mingw, following the method in the wiki. So I renamed four DirectX-related headers in the mingw include directory, and then got this far: In file included from menu.cpp:23:0: ../../include/menu.h:46:36: error: '_MAX_DRIVE' was …

Re: DOSBox-X branch

For what it's worth, here's the error that I got when building gui: sdlmain.cpp: In function 'int SDL_main(int, char**)': sdlmain.cpp:4482:27: error: 'ImmDisableIME' was not declared in this scope ImmDisableIME((DWORD)(-1)); EDIT: So I commented out that line in sdlmain.cpp, and got this far: g++ - …

Re: DOSBox-X branch

OK, so this solved the fpu_instructions.h error (see the line below "added for mingw"): #if defined(WIN32) && defined(_MSC_VER) /* std::isinf is C99 standard how could you NOT have this VS2008??? */ # include /* the purpose of this macro is to test for -/+inf. NaN is not inf. If finite or NaN it's …

Re: DOSBox-X branch

It looks like for mingw you'll need to #include for isinf to work. isinf is fairly messy across multiple targets, apparently. So I tried adding this line to fpu_instructions.h (I'm only guessing that that's where it should go), below #include #include But on building, I seem to get the same error …

Re: DOSBox-X branch

Wait, I found this, renamed it endian.h, and put it in include, and got past that error: https://gist.github.com/panzi/6856583#file-portable_endian-h But then I got this error much later: mv -f .deps/core_prefetch.Tpo .deps/core_prefetch.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/ …

Re: DOSBox-X branch

You just need to stop using those project files but use mingw(64?) for this ;) Now why didn't I think of that? ;) I can build DOSBox SVN in mingw (32-bit Windows 7), so I tried this, but I came up against the lack of the endian.h file that The Great Codeholio mentioned. Here's the error: make[4]: …

Re: DOSBox-X branch

But I wasn't being sarcastic! I really don't know how to do this, and I wasn't asking you to do it! (It's always annoying when someone asks someone else to write something...) There are a lot of Win32 types around here who could write that file in three minutes if they wanted to build for Windows, …

Re: DOSBox-X branch

Visual Studio lacks endian.h. Those are macros to byte-swap a value to/from host to little endian. Since Windows is little endian, you could make a header file with defines for each one that just passes the value through unmodified. http://man7.org/linux/man-pages/man3/endian.3.html I didn't …

Page 12 of 43