dosbox-x-vanilla-sdl icon indicating copy to clipboard operation
dosbox-x-vanilla-sdl copied to clipboard

compile error

Open netpipe opened this issue 5 years ago • 3 comments

opensuse 15 , fairly new emscripten i get a ./core_dynrec/../../fpu/fpu_instructions_x86.h:972:2: error: invalid output constraint '=&am' in asm FPUD_LOAD(fld,DWORD,s)

i read online somewhere emscripten cannot handle inline assembly ?

also had to add #include <endian.h> to the mem.h file

netpipe avatar Dec 08 '19 14:12 netpipe

Dynamic core works by translating emulated instructions to native host's instructions on the fly. By now, DOSBox and its variants only have such translator for x86, x86_64 and arm, not for Emscripten/WebAssembly. Try use --disable-dynrec, or just use my makefiles under make_em subdirectory instead of using Autoconf. If you use Autoconf, you should read build_em.txt or you won't get anything useful.

yksoft1 avatar Dec 08 '19 17:12 yksoft1

https://github.com/dreamlayers/em-dosbox/issues/64

netpipe avatar Dec 09 '19 07:12 netpipe

You need --preload-file media/@/ or something to map your preloaded file path to Emscripten's virtual file system.

yksoft1 avatar Dec 10 '19 08:12 yksoft1