Active Threads | Active Posts | Unanswered Today | Since Yesterday | This Week
MAME Jump to new posts
Re: TMS-09xx/1xxx thread (was New Dumps) hap 12/10/19 01:22 PM
Hi Rik

On cheap handhelds like this, you're likely to be greeted by a blob of epoxy. The MCU underneath will probably be unknown without a decap.
3,455 2,149,086 Read More
MAME Jump to new posts
Re: New dumps ssj 12/10/19 01:16 PM
The ultra rare standalone cart of Cross High for the Supervision has finally been dumped! This makes all known released games for the system preserved. Also some more good news on the Game Master front, Shadow Warrior and Finite Zone have also been dumped which leaves only 3 known games undumped (Invaders, S-Race and Tank Battle) I'll keep on my quest to find them, but at this rate it will probably take a few more years to find them all...

Speaking of Game Master would be nice if someone could give the system some love and improve its driver as emulation is still far from being good smile
767 605,840 Read More
MAME Jump to new posts
Re: JS and WebAssembly question robcfg 12/10/19 09:46 AM
Now that I got it working, I'm trying to autoboot a disk image by issuing the command RUN"LOADER".

I've found that I can pass that as a parameter and it's typed when the emulation boots, but when I try to enter the newline character, it doesn't even show the command.

If I add the parameters like this:
Code
JSMESSLoader.extraArgs(['-autoboot_command','RUN\"LOADER\"'])


The emulator will type that and wait for me to press Enter.

But if I add the newline character:
Code
JSMESSLoader.extraArgs(['-autoboot_command','RUN\"LOADER\"\n'])


It does not type anything.

This works as expected on the desktop version of Mame:
Code
./mame64 dragon64 -window -resolution 320x240 -autoboot_command 'RUN\"LOADER\"\n' -autoboot_delay 5


Is this a bug or am I doing something wrong?

Cheers,
Rob
13 552 Read More
MAME Jump to new posts
Re: TMS-09xx/1xxx thread (was New Dumps) Rik 12/10/19 08:22 AM
Anyone want either of these for dumping, etc...?

https://www.ebay.com/itm/283697360244

https://www.ebay.com/itm/283697362016

Never opened them, so no idea of the chips inside... But I can check if necessary. smile
3,455 2,149,086 Read More
MAME Jump to new posts
Re: Atari 5200 Shoegazer 12/09/19 02:35 PM
Hey MG, that's okay. I was just happy you found a way to get what you did from byuu's project into MAME, we're definitely better off for it.

As the accuracy-focused "new kid on the block", I was hoping mesen-s would be v2 out of the gate but alas it's not. Not sure if sour would consider relicensing any of his code for MAME (or mesen for that matter) but would be nice if he did, assuming his C++/C# base would be a good fit.
8 423 Read More
MAME Jump to new posts
Re: Atari 5200 Just Desserts 12/07/19 10:05 PM
Also, my porting of bsnes was specifically because byuu was willing to relicense those portions of the codebase as GPLv2+. The rest of the project is still GPLv3 and can't be ported into MAME.
8 423 Read More
MAME Jump to new posts
Re: Atari 5200 robcfg 12/06/19 11:29 PM
I tried Altirra some months ago, and my code was showing some glitches that I don't see on Atari800MacX, Mame or the real machine.
8 423 Read More
MAME Jump to new posts
Re: Atari 5200 Shoegazer 12/06/19 07:06 PM
Hmm yeah, but there's no support for linux sadly.
8 423 Read More
MAME Jump to new posts
Re: Atari 5200 R. Belmont 12/06/19 06:33 PM
Altirra is the current champ - it's approaching bsnes levels of accuracy.
8 423 Read More
MAME Jump to new posts
Re: Atari 5200 Shoegazer 12/06/19 05:47 PM
Fair enough. While I haven't tested Atar800 as extensively, I know it's also a pretty solid emulator of the series, and is GPL2 as mentioned here. Not sure if that makes any difference but for what it's worth.
8 423 Read More
MAME Jump to new posts
Amiga Analog Joystick and endianess Golden Child 12/06/19 05:22 PM
Hi guys,

I was reading up on amiga analog joysticks and wanted to see if I could get one working with the amiga driver but something very strange is going on.

For some reason, the x and y axes are inverted. When the POT0DAT or POT1DAT registers are read, it's supposed to return a 16 bit word that has Y in the upper 8 bits and X in the lower 8 bits.
Code
Bit 	15 	14 	13 	12 	11 	10 	09 	08 	07 	06 	05 	04 	03 	02 	01 	00
        Y7 	Y6 	Y5 	Y4 	Y3 	Y2 	Y1 	Y0 	X7 	X6 	X5 	X4 	X3 	X2 	X1 	X0



I thought I'd just have a couple of analog input ports named m_analog0 and m_analog1 and then do a direct read to keep things simple.

Code
                case REG_POT1DAT:
                        if (m_pot1dat_port.found())
                        {
                                return m_pot1dat_port->read();
                        }
                        else
                        {
                                m_pot1dat  = m_analog0->read() | (m_analog1->read() << 8);
                                return m_pot1dat;
                        }


So it reads properly, but I can't figure out why the high and low bytes get swapped.

I set a watchpoint on POT1DAT = DFF014 and it looks like its getting the right data.


There's a few games that have analog joystick support, one is Nova9 which has a totally incorrect manual with regard to analog joystick support, you have to hit the period key to get it to enable (at least with the pal version).

Jet Pilot by Vulcan Software has a good calibration program (only the cracked version would load and run in mame)


./myamiga64 a500 -mouse -window -debug -fdc:0 35dd -fdc:1 35dd -fdc:2 35dd -fdc:3 35dd -flop1 "../../wbenc133_us/317746-04_workbench.adf" -flop2 "../../Jet Pilot (1996)(Vulcan Software)[cr HF](Disk 1 of 4)[WB].zip/Jet Pilot (1996)(Vulcan Software)[cr HF](Disk 1 of 4)[WB].adf" -flop3 "../../Jet Pilot (1996)(Vulcan Software)[cr HF](Disk 2 of 4)[WB].zip/Jet Pilot (1996)(Vulcan Software)[cr HF](Disk 2 of 4)[WB].adf" -flop4 "../../Jet Pilot (1996)(Vulcan Software)[cr HF](Disk 4 of 4)[WB].zip/Jet Pilot (1996)(Vulcan Software)[cr HF](Disk 4 of 4)[WB].adf"

[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]

so in the debugger I put in a watchpoint to see what's going on: I'm modifying the x axis and its the low bits that are changing but on the screen the Y axis values are changing.
[Linked Image from i.imgur.com]


It reads 78F0 from $dff014 and then writes 78F0 to $44332
[Linked Image from i.imgur.com]


Everything seems to work properly if I reverse the byte order with:

Code

                                m_pot1dat  = m_analog1->read() | (m_analog0->read() << 8);
                                return m_pot1dat;


[Linked Image from i.imgur.com]

Seems to work ok in reversing the order, x/y drives the intended axis. Player 2 right and left are the analog buttons 1 and 2 but since it thinks its a digital joystick it disallows simultaneous pressing.





I was also able to get Flight of the Intruder to run to where I could calibrate the joystick.

./myamiga64 a4000n -mouse -window -debug -fdc:0 35dd -fdc:1 35dd -fdc:2 35dd -fdc:3 35dd -flop1 "../../Flight of the Intruder (1991)(Spectrum HoloByte)[cr QTX](Disk 1 of 2).adf" -flop2 "../../Flight of the Intruder (1991)(Spectrum HoloByte)[cr QTX](Disk 2 of 2).adf"

[Linked Image from i.imgur.com]

Pressing ESC ingame brings up the menu:

[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]


Is this endian thing because I'm running on an intel little endian machine?
0 111 Read More
MAME Jump to new posts
Re: Atari 5200 Haze 12/06/19 04:26 PM
Also MAME is NOT GPL3 compatible, putting GPL3 code in MAME would jeopardize the project.
8 423 Read More
MAME Jump to new posts
Re: Atari 5200 R. Belmont 12/06/19 04:13 PM
5200 is, as most people know, an Atari 400/800 with less ports. Our Atari 400/800 emulation is well behind state-of-the-art, and no platform champion has appeared, unlike with many other older systems.
8 423 Read More
MAME Jump to new posts
Atari 5200 Shoegazer 12/06/19 03:56 PM
Somoene informed me recently of the issues with the mame a5200 driver, particularly games like galaxian with notable graphics problems. That surprised me given that the a2600 and a7800 drivers seem to be solid, at least when I last tested. They cited emulators such as kat5200 which don't seem to have such issues. Kat5200 is open-source and cross-platform, though given that it's under GPL3 I'm not sure if it's possible to port some elements of its codebase. Perhaps it could at least serve as a decent reference at some future point whenever driver work continues. I'm willing to bet any actual porting would not be simple, though the great work mooglyguy recently did with bsnes gives at least some hope.
8 423 Read More
MAME Jump to new posts
Re: JS and WebAssembly question hal3000 12/06/19 11:20 AM
Great to hear that you got it working smile
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question robcfg 12/06/19 10:42 AM
Ok, I finally got it working with Mame 0.214 and emsdk 1.38.43, thanks for your kind help!
13 552 Read More
MAME Jump to new posts
Re: Requirements? rfka01 12/06/19 09:40 AM
Vas and crazyc have been discussing the state of the Rainbow driver in the shoutbox and commented that the driver's not booting the operating system because of differences in the interrupt handling between the A and B models.

On the "B" model, a few ROM patches allow the machine to skip hitherto unemulated parts of the Rainbow. Bavarese has furnished me with the equivalents for the "A" model, and I've issued a pull request for them. This allows the emulated Rainbow 100A to boot from disk cpm860mb.td0, it will also allow mdos201.td0 at least boot as far as the system message, but it will hang after loading track 8.
It appears that at least this CP/M-86/80 image is not yet available, I've uploaded an archive with my Rainbow disk collection to the FTP.
470 386,151 Read More
MAME Jump to new posts
Re: JS and WebAssembly question hal3000 12/05/19 10:59 PM
Just realised you were testing another dragon smile Anyway, that one seems to work as well:

[Linked Image from i.imgur.com]
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question hal3000 12/05/19 06:46 PM
I think you're using different emscripten version than what I use. With emscripten 1.38.43 the compiler VERSION is defined as "4.2.1 Compatible Clang 6.0.1". Perhaps you can try to rebuild with debug enabled and see what goes wrong? Adding DEBUG=1, SYMBOLS=1 and ASSERTIONS=2 usually gives better errors.

I just tried to build ddragon and it starts up and runs using latest emularity from git. I can also see "Optional memory region ':screen' not found" in the log file but it works anyway.

The emularity js code looks like this:
Code
var emulator = new Emulator(document.querySelector("#canvas"),
                            null,
                            new MAMELoader(MAMELoader.driver("ddragon"),
                                           MAMELoader.nativeResolution(768, 720),
                                           MAMELoader.keepAspect(true),
                                           MAMELoader.scale(1),
                                           MAMELoader.emulatorJS("/emularity/emulators/mame/mamearcade.js"),
                                           MAMELoader.emulatorWASM("/emularity/emulators/mame/mamearcade.wasm"),
                                           MAMELoader.mountFile("ddragon.zip",
                                                                MAMELoader.fetchFile("Game File",
                                                                                     "/ddragon.zip")),
                                            MAMELoader.extraArgs(['-mouse',
                                                                  '-video',
                                                                  'bgfx',
                                                                  '-bgfx_screen_chains',
                                                                  'hlsl'])))


This is what it looks like with BGFX (hlsl chain) which isn't fully working as of now for asmjs:
[Linked Image from i.imgur.com]

Launching with "-video gles" instead works fine:
[Linked Image from i.imgur.com]

Log:
Code
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of horizont.ini
loader.js:1000 Attempting load of arcade.ini
loader.js:1000 Attempting load of raster.ini
loader.js:1000 Attempting load of source/ddragon.ini
loader.js:1000 Attempting load of ddragon.ini
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of mame.ini
loader.js:1000 Attempting load of horizont.ini
loader.js:1000 Attempting load of arcade.ini
loader.js:1000 Attempting load of raster.ini
loader.js:1000 Attempting load of source/ddragon.ini
loader.js:1000 Attempting load of ddragon.ini
loader.js:1000 Available videodrivers: emscripten 
loader.js:1000 Current Videodriver: emscripten
loader.js:1000 	Display #0
loader.js:1000 		Renderdrivers:
loader.js:1000 			 opengles2 (0x0)
loader.js:1000 			  software (0x0)
loader.js:1000 Available audio drivers: 
loader.js:1000 	emscripten          
loader.js:1000 	disk                
loader.js:1000 	dummy               
loader.js:1000 Build version:      0.215 (mame0202-8079-g0c70101b74)
loader.js:1000 Build architecure:  
loader.js:1000 Build defines 1:    SDLMAME_UNIX=1 
loader.js:1000 Build defines 1:    LSB_FIRST=1 MAME_NOASM=1 
loader.js:1000 SDL/OpenGL defines: SDL_COMPILEDVERSION=2009 USE_OPENGL=1 
loader.js:1000 Compiler defines A: __GNUC__=4 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=1 __VERSION__="4.2.1 Compatible Clang 6.0.1 (https://github.com/emscripten-core/emscripten-fastcomp-clang 98df4be387dde3e3918fa5bbb5fc43e1a0e1daac) (https://github.com/emscripten-core/emscripten-fastcomp 1b4148f39a69c7fc62edadd85e4122b68694dfb7)" 
loader.js:1000 Compiler defines B: __unix__=1 
loader.js:1000 Compiler defines C: 
loader.js:1000 Enter init_monitors
loader.js:1000 Adding monitor screen0 (3440 x 1440)
loader.js:1000 Leave init_monitors
loader.js:1000 Enter sdlwindow_init
loader.js:1000 
loader.js:1000 Hints:
loader.js:1000 	SDL_FRAMEBUFFER_ACCELERATION             (NULL)
loader.js:1000 	SDL_RENDER_DRIVER                        (NULL)
loader.js:1000 	SDL_RENDER_OPENGL_SHADERS                (NULL)
loader.js:1000 	SDL_RENDER_SCALE_QUALITY                 (NULL)
loader.js:1000 	SDL_RENDER_VSYNC                         (NULL)
loader.js:1000 	SDL_VIDEO_X11_XVIDMODE                   (NULL)
loader.js:1000 	SDL_VIDEO_X11_XINERAMA                   (NULL)
loader.js:1000 	SDL_VIDEO_X11_XRANDR                     (NULL)
loader.js:1000 	SDL_GRAB_KEYBOARD                        (NULL)
loader.js:1000 	SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS         0
loader.js:1000 	SDL_IOS_IDLE_TIMER_DISABLED              (NULL)
loader.js:1000 	SDL_IOS_ORIENTATIONS                     (NULL)
loader.js:1000 	SDL_XINPUT_ENABLED                       (NULL)
loader.js:1000 	SDL_GAMECONTROLLERCONFIG                 (NULL)
loader.js:1000 	SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS     (NULL)
loader.js:1000 	SDL_ALLOW_TOPMOST                        (NULL)
loader.js:1000 	SDL_TIMER_RESOLUTION                     (NULL)
loader.js:1000 	SDL_RENDER_DIRECT3D_THREADSAFE           (NULL)
loader.js:1000 	SDL_VIDEO_ALLOW_SCREENSAVER              (NULL)
loader.js:1000 	SDL_ACCELEROMETER_AS_JOYSTICK            (NULL)
loader.js:1000 	SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK   (NULL)
loader.js:1000 	SDL_VIDEO_WIN_D3DCOMPILER                (NULL)
loader.js:1000 	SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT      (NULL)
loader.js:1000 	SDL_VIDEO_MAC_FULLSCREEN_SPACES          (NULL)
loader.js:1000 	SDL_MOUSE_RELATIVE_MODE_WARP             (NULL)
loader.js:1000 	SDL_RENDER_DIRECT3D11_DEBUG              (NULL)
loader.js:1000 	SDL_VIDEO_HIGHDPI_DISABLED               (NULL)
loader.js:1000 	SDL_WINRT_PRIVACY_POLICY_URL             (NULL)
loader.js:1000 	SDL_WINRT_PRIVACY_POLICY_LABEL           (NULL)
loader.js:1000 	SDL_WINRT_HANDLE_BACK_BUTTON             (NULL)
loader.js:1000 Leave sdlwindow_init
loader.js:1000 Enter sdl_info::create
WebGL: INVALID_VALUE: texImage2D: invalid internalformat
...
WebGL: INVALID_VALUE: texImage2D: invalid internalformat
WebGL: INVALID_ENUM: compressedTexImage2D: invalid format
...
WebGL: INVALID_ENUM: compressedTexImage2D: invalid format
mamearcade.js:1 WebGL: INVALID_ENUM: texImage2D: invalid type
_glTexImage2D @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-2981:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
...
WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
mamearcade.js:1 WebGL: INVALID_ENUM: texImage2D: invalid type
_glTexImage2D @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-2981:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
mamearcade.js:1 WebGL: INVALID_ENUM: texImage2D: invalid type
_glTexImage2D @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-2981:1
(anonymous) @ wasm-05aa6a4a-9347:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
Show 2 more frames
mamearcade.js:1 WebGL: too many errors, no more errors will be reported to the console for this context.
_glRenderbufferStorage @ mamearcade.js:1
(anonymous) @ wasm-05aa6a4a-9347:1
(anonymous) @ wasm-05aa6a4a-18588:1
(anonymous) @ wasm-05aa6a4a-18590:1
(anonymous) @ wasm-05aa6a4a-4995:1
(anonymous) @ wasm-05aa6a4a-9375:1
(anonymous) @ wasm-05aa6a4a-18694:1
(anonymous) @ wasm-05aa6a4a-9378:1
(anonymous) @ wasm-05aa6a4a-18701:1
(anonymous) @ wasm-05aa6a4a-18680:1
(anonymous) @ wasm-05aa6a4a-40021:1
(anonymous) @ wasm-05aa6a4a-7318:1
(anonymous) @ wasm-05aa6a4a-42538:1
(anonymous) @ wasm-05aa6a4a-43079:1
(anonymous) @ wasm-05aa6a4a-11208:1
(anonymous) @ wasm-05aa6a4a-43346:1
(anonymous) @ wasm-05aa6a4a-22275:1
(anonymous) @ wasm-05aa6a4a-22265:1
(anonymous) @ wasm-05aa6a4a-33653:1
(anonymous) @ wasm-05aa6a4a-26951:1
(anonymous) @ wasm-05aa6a4a-26584:1
(anonymous) @ wasm-05aa6a4a-33617:1
(anonymous) @ wasm-05aa6a4a-43098:1
Module._main @ mamearcade.js:1
callMain @ mamearcade.js:1
doRun @ mamearcade.js:1
run @ mamearcade.js:1
runCaller @ mamearcade.js:1
removeRunDependency @ mamearcade.js:1
receiveInstance @ mamearcade.js:1
receiveInstantiatedSource @ mamearcade.js:1
Promise.then (async)
instantiateArrayBuffer @ mamearcade.js:1
instantiateAsync @ mamearcade.js:1
createWasm @ mamearcade.js:1
Module.asm @ mamearcade.js:1
(anonymous) @ mamearcade.js:1
loader.js:1000 Keyboard: Start initialization
loader.js:1000 Input: Adding keyboard #0: System keyboard (device id: System keyboard)
loader.js:1000 Keyboard: Registered System keyboard
loader.js:1000 Keyboard: End initialization
loader.js:1000 Mouse: Start initialization
loader.js:1000 Input: Adding mouse #0: System mouse (device id: System mouse)
loader.js:1000 Mouse: Registered System mouse
loader.js:1000 Mouse: End initialization
loader.js:1000 Could not initialize SDL Haptic subsystem: SDL not built with haptic (force feedback) support.
loader.js:1000 Joystick: Start initialization
loader.js:1000 Joystick: End initialization
loader.js:1000 Searching font Liberation Sans in -. path/s
loader.js:1000 font Liberation Sans|Regular is not TrueType or BDF, using MAME default
loader.js:1000 Region ':maincpu' created
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: found emulator/ddragon.zip ECD
loader.js:1000 unzip: emulator/ddragon.zip has no ZIP64 ECD locator
loader.js:1000 unzip: read emulator/ddragon.zip central directory
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':sub' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':soundcpu' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':gfx1' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':gfx2' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':gfx3' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':adpcm1' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':adpcm2' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Region ':proms' created
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 unzip: found emulator/ddragon.zip in cache
loader.js:1000 unzip: opened archive file emulator/ddragon.zip
loader.js:1000 unzip: closing archive file emulator/ddragon.zip and sending to cache
loader.js:1000 Optional memory region ':screen' not found
loader.js:1000 Starting Double Dragon (Japan) ':'
loader.js:1000   (missing dependencies; rescheduling)
loader.js:1000 Starting Hitachi HD6309E ':maincpu'
loader.js:1000 Starting Timer ':scantimer'
loader.js:1000 Starting Hitachi HD63701 ':sub'
loader.js:1000 Starting Motorola MC6809 ':soundcpu'
loader.js:1000 Starting gfxdecode ':gfxdecode'
loader.js:1000 Starting palette ':palette'
loader.js:1000 Starting Video Screen ':screen'
loader.js:1000 Starting Speaker ':mono'
loader.js:1000   (missing dependencies; rescheduling)
loader.js:1000 Starting Generic 8-bit latch ':soundlatch'
loader.js:1000 Starting Yamaha YM2151 OPM ':fmsnd'
loader.js:1000 Starting MSM5205 ':adpcm1'
loader.js:1000 Starting MSM5205 ':adpcm2'
loader.js:1000 Starting Double Dragon (Japan) ':'
loader.js:1000   (missing dependencies; rescheduling)
loader.js:1000 Starting Speaker ':mono'
loader.js:1000 Starting Double Dragon (Japan) ':'
loader.js:1000 Attempting to parse: default.cfg
loader.js:1000 Attempting to parse: ddragon.cfg
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question robcfg 12/05/19 10:23 AM
I tried compiling the Dragon driver (because why not...) and got exactly the same result.

One thing caught my attention, though I don't know if it really important. It's "Optional memory region ':screen' not found". Is that really optional?

Here's what I get from Safari's JS Console:
Quote
[Log] Attempting load of mame.ini (loader.js, line 1000, x2)
[Log] Attempting load of horizont.ini (loader.js, line 1000)
[Log] Attempting load of computer.ini (loader.js, line 1000)
[Log] Attempting load of raster.ini (loader.js, line 1000)
[Log] Attempting load of source/dragon.ini (loader.js, line 1000)
[Log] Attempting load of dragon32.ini (loader.js, line 1000)
[Log] Attempting load of dragon64.ini (loader.js, line 1000)
[Log] Error opening translation file English (loader.js, line 1001)
[Log] Attempting load of mame.ini (loader.js, line 1000, x2)
[Log] Attempting load of horizont.ini (loader.js, line 1000)
[Log] Attempting load of computer.ini (loader.js, line 1000)
[Log] Attempting load of raster.ini (loader.js, line 1000)
[Log] Attempting load of source/dragon.ini (loader.js, line 1000)
[Log] Attempting load of dragon32.ini (loader.js, line 1000)
[Log] Attempting load of dragon64.ini (loader.js, line 1000)
[Log] Available videodrivers: emscripten (loader.js, line 1000)
[Log] Current Videodriver: emscripten (loader.js, line 1000)
[Log] Display #0 (loader.js, line 1000)
[Log] Renderdrivers: (loader.js, line 1000)
[Log] opengles2 (0x0) (loader.js, line 1000)
[Log] software (0x0) (loader.js, line 1000)
[Log] Available audio drivers: (loader.js, line 1000)
[Log] emscripten (loader.js, line 1000)
[Log] disk (loader.js, line 1000)
[Log] dummy (loader.js, line 1000)
[Log] Build version: 0.216 (unknown) (loader.js, line 1000)
[Log] Build architecure: (loader.js, line 1000)
[Log] Build defines 1: SDLMAME_UNIX=1 (loader.js, line 1000)
[Log] Build defines 1: LSB_FIRST=1 MAME_NOASM=1 (loader.js, line 1000)
[Log] SDL/OpenGL defines: SDL_COMPILEDVERSION=2009 USE_OPENGL=1 (loader.js, line 1000)
[Log] Compiler defines A: __GNUC__=4 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=1 __VERSION__="Clang 10.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project cb47b8783017a76c5f2e4b974cfd6b22c9f1d5ff)" (loader.js, line 1000)
[Log] Compiler defines B: __unix__=1 (loader.js, line 1000)
[Log] Compiler defines C: (loader.js, line 1000)
[Log] Enter init_monitors (loader.js, line 1000)
[Log] Adding monitor screen0 (3008 x 1692) (loader.js, line 1000)
[Log] Leave init_monitors (loader.js, line 1000)
[Log] Enter sdlwindow_init (loader.js, line 1000)
[Log] Using SDL multi-window soft driver (SDL 2.0+) (loader.js, line 1000)
[Log] (loader.js, line 1000)
[Log] Hints: (loader.js, line 1000)
[Log] SDL_FRAMEBUFFER_ACCELERATION (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_DRIVER (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_OPENGL_SHADERS (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_SCALE_QUALITY (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_VSYNC (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_X11_XVIDMODE (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_X11_XINERAMA (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_X11_XRANDR (NULL) (loader.js, line 1000)
[Log] SDL_GRAB_KEYBOARD (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS 0 (loader.js, line 1000)
[Log] SDL_IOS_IDLE_TIMER_DISABLED (NULL) (loader.js, line 1000)
[Log] SDL_IOS_ORIENTATIONS (NULL) (loader.js, line 1000)
[Log] SDL_XINPUT_ENABLED (NULL) (loader.js, line 1000)
[Log] SDL_GAMECONTROLLERCONFIG (NULL) (loader.js, line 1000)
[Log] SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS (NULL) (loader.js, line 1000)
[Log] SDL_ALLOW_TOPMOST (NULL) (loader.js, line 1000)
[Log] SDL_TIMER_RESOLUTION (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_DIRECT3D_THREADSAFE (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_ALLOW_SCREENSAVER (NULL) (loader.js, line 1000)
[Log] SDL_ACCELEROMETER_AS_JOYSTICK (NULL) (loader.js, line 1000)
[Log] SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_WIN_D3DCOMPILER (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_MAC_FULLSCREEN_SPACES (NULL) (loader.js, line 1000)
[Log] SDL_MOUSE_RELATIVE_MODE_WARP (NULL) (loader.js, line 1000)
[Log] SDL_RENDER_DIRECT3D11_DEBUG (NULL) (loader.js, line 1000)
[Log] SDL_VIDEO_HIGHDPI_DISABLED (NULL) (loader.js, line 1000)
[Log] SDL_WINRT_PRIVACY_POLICY_URL (NULL) (loader.js, line 1000)
[Log] SDL_WINRT_PRIVACY_POLICY_LABEL (NULL) (loader.js, line 1000)
[Log] SDL_WINRT_HANDLE_BACK_BUTTON (NULL) (loader.js, line 1000)
[Log] Leave sdlwindow_init (loader.js, line 1000)
[Log] Enter sdl_info::create (loader.js, line 1000)
[Log] window: using renderer opengles2 (loader.js, line 1000)
[Log] renderer: flag SDL_RENDERER_ACCELERATED (loader.js, line 1000)
[Log] Leave renderer_sdl2::create (loader.js, line 1000)
[Log] Keyboard: Start initialization (loader.js, line 1000)
[Log] Input: Adding keyboard #0: System keyboard (device id: System keyboard) (loader.js, line 1000)
[Log] Keyboard: Registered System keyboard (loader.js, line 1000)
[Log] Keyboard: End initialization (loader.js, line 1000)
[Log] Mouse: Start initialization (loader.js, line 1000)
[Log] Input: Adding mouse #0: System mouse (device id: System mouse) (loader.js, line 1000)
[Log] Mouse: Registered System mouse (loader.js, line 1000)
[Log] Mouse: End initialization (loader.js, line 1000)
[Log] Could not initialize SDL Haptic subsystem: SDL not built with haptic (force feedback) support. (loader.js, line 1000)
[Log] Joystick: Start initialization (loader.js, line 1000)
[Log] Joystick: End initialization (loader.js, line 1000)
[Log] Searching font Liberation Sans in -. path/s (loader.js, line 1000)
[Log] font Liberation Sans|Regular is not TrueType or BDF, using MAME default (loader.js, line 1000)
[Log] Region ':maincpu' created (loader.js, line 1000)
[Log] unzip: opened archive file emulator/dragon64.zip (loader.js, line 1000)
[Log] unzip: found emulator/dragon64.zip ECD (loader.js, line 1000)
[Log] unzip: emulator/dragon64.zip has no ZIP64 ECD locator (loader.js, line 1000)
[Log] unzip: read emulator/dragon64.zip central directory (loader.js, line 1000)
[Log] unzip: closing archive file emulator/dragon64.zip and sending to cache (loader.js, line 1000)
[Log] unzip: found emulator/dragon64.zip in cache (loader.js, line 1000)
[Log] unzip: opened archive file emulator/dragon64.zip (loader.js, line 1000)
[Log] unzip: closing archive file emulator/dragon64.zip and sending to cache (loader.js, line 1000)
[Log] Region ':ext:dragon_fdc:eprom' created (loader.js, line 1000)
[Log] unzip: found emulator/dragon64.zip in cache (loader.js, line 1000)
[Log] unzip: opened archive file emulator/dragon64.zip (loader.js, line 1000)
[Log] unzip: closing archive file emulator/dragon64.zip and sending to cache (loader.js, line 1000)
[Log] Optional I/O port ':beckerport' not found (loader.js, line 1000)
[Log] Optional device ':dwsock' not found (loader.js, line 1000)
[Log] Optional device ':vhd1' not found (loader.js, line 1000)
[Log] Optional device ':vhd0' not found (loader.js, line 1000)
[Log] Optional device ':rs232' not found (loader.js, line 1000)
[Log] Optional memory region ':screen' not found (loader.js, line 1000)
[Log] Starting Dragon 64 ':' (loader.js, line 1000)
[Log] exception thrown: 8745840 (loader.js, line 1001)
[Error] Unhandled Promise Rejection: 8745840
quit_ (mamedragon.js:1:3119514)
callMain (mamedragon.js:1:3432126)
doRun (mamedragon.js:1:3432473)
run (mamedragon.js:1:3432642)
runCaller (mamedragon.js:1:3431535)
removeRunDependency (mamedragon.js:1:3133622)
receiveInstance (mamedragon.js:1:3135037)
receiveInstantiatedSource (mamedragon.js:1:3135153)
promiseReactionJob
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question hal3000 12/05/19 10:22 AM
Ok, I mainly use emscripten via docker (https://github.com/trzecieu/emscripten-docker) so I haven't had to deal with emscripten installation issues.

The latest emscripten (1.39.x) has introduced some changes that I think needs to be addressed in emularity or the html/js files that defines how to launch MAME. I've done a quick test and got it to start MAME but with stretched graphics.

I would advise you to try another driver get more information and be able to pinpoint to problem better since there are so many things that influence the end result here smile
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question robcfg 12/05/19 09:57 AM
I got the --mvp-features error when intalling 1.38.43 and compiling.

If I install and activate 'latest' it compiles with no errors (using your parameters), but it doesn't work when launched from Emularity (latest git).

Honestly, I'm not sure what to do. I'll try to compile another driver and see if that works.
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question hal3000 12/05/19 09:48 AM
That's strange. Is the "Unknown option '--mvp-features' error happening when you compile MAME or is it a runtime error? If it happens when you try to launch MAME via emscripten it could be something with the way it is launched. Have you got other MAME drivers to work?

Both MAME and Emscripten are updated at fast pace so it can be tricky to find a working combination.
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question robcfg 12/05/19 09:25 AM
I tried your command and the result is the same.

Also tried older versions of Mame, with results ranging from compilation errors to the same problem I’m having.

I don’t know if there’s anything I may have done wrong, but the documentation is quite scarce.
13 552 Read More
MAME Jump to new posts
Re: JS and WebAssembly question hal3000 12/04/19 03:38 PM
Hm, I don't recall having seen that error. Is that a reported during build time or when you try to launch the build?

This is how I build with emscripten:
Code
emmake make -j $NUM_CPUS SUBTARGET=$subtarget_name SOURCES=$sources WEBASSEMBLY=1 OPTIMIZE=3  ARCHOPTS="-s TOTAL_MEMORY=512MB" ARCHOPTS_CXX="-Wno-c++11-narrowing  -Werror"
13 552 Read More
Page 1 of 7 1 2 3 4 5 6 7
Who's Online Now
3 registered members (AJR, R. Belmont, 1 invisible), 184 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,721
Posts114,628
Members4,873
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3