Skip to content

Instantly share code, notes, and snippets.

{
"name": "Apple ][",
"js_filename": "mameapple2p.js.gz",
"bios_filenames": [
"apple2.zip",
"diskii13.zip",
"d2fdc.zip"
],
"peripherals": [
"flop1"
{
"name": "Apple ][",
"js_filename": "mameapple2p.js.gz",
"bios_filenames": [
"apple2.zip",
"a2diskii.zip"
],
"peripherals": [
"flop1"
],
uncaught exception: abort(0) at jsStackTrace@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js:1923:12
stackTrace@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js:1938:11
abort@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js:16411:43
nullFunc_viiii@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js:14045:2
b17165@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js line 2289 > WebAssembly.instantiate:wasm-function[26455]:0x5bf167
handler_entry_write_units<1, 3, 0>::write(unsigned int, unsigned short, unsigned short) [__ZN25handler_entry_write_unitsILi1ELi3ELi0EE5writeEjtt]@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js line 2289 > WebAssembly.instantiate:wasm-function[2690]:0x158e7c
handler_entry_write_dispatch<24, 0, 1, 0>::write(unsigned int, unsigned char, unsigned char) [__ZN28handler_entry_write_dispatchILi24ELi0ELi1ELi0EE5writeEjhh]@http://fos.textfiles.com/dfjustin/segaorun/outrun/mamesegaorun.js line 2289

Keybase proof

I hereby claim:

  • I am dopefishjustin on github.
  • I am dopefishjustin (https://keybase.io/dopefishjustin) on keybase.
  • I have a public key ASC6UDuqSGhUiHI6KnDKstJ0haTBVR7Z3wT5aSEPVcKikgo

To claim this, I am signing this object:

<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="genesis">
<input>
<port tag=":PAD1_3B" type="P1_BUTTON2" mask="16" defvalue="16">
<newseq type="standard">
KEYCODE_X OR JOYCODE_1_BUTTON2
</newseq>
</port>
import sys
import musicbrainzngs
if len(sys.argv) < 2:
print 'python mb_coverart.py [artist] [album]'
sys.exit()
artist = sys.argv[1]
album = sys.argv[2]
musicbrainzngs.set_useragent("cover art test script", 1.0)
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp
index 7c59ef6..7d0b1d2 100644
--- a/src/emu/machine.cpp
+++ b/src/emu/machine.cpp
@@ -1347,10 +1347,36 @@ void js_main_loop()
{
device_scheduler * scheduler;
scheduler = &(jsmess_machine->scheduler());
- attotime stoptime(scheduler->time() + attotime(0,HZ_TO_ATTOSECONDS(60)));
+
/0/home/dfjustin/emscripten/emcc -O3 -s USE_SDL=2 -s USE_SDL_TTF=2 --memory-init-file 0 -s ALLOW_MEMORY_GROWTH=0 -s TOTAL_MEMORY=268435456 -s DISABLE_EXCEPTION_CATCHING=2 -s EXCEPTION_CATCHING_WHITELIST='["__ZN15running_mach ine17start_all_devicesEv","__ZN12cli_frontend7executeEiPPc"]' -s EXPORTED_FUNCTIONS="['_main', '_malloc', '__Z14js_get_machinev', '__Z9js_get_uiv', '__Z12js_get_soundv', '__ZN15mame_ui_manager12set_show_fpsEb', '__ZNK15mame_u i_manager8show_fpsEv', '__ZN13sound_manager4muteEbh', '_SDL_PauseAudio', '_SDL_SendKeyboardKey']" -s BINARYEN=1 --pre-js /0/home/dfjustin/mame-genie/src/osd/modules/sound/js_sound.js --post-js /0/home/dfjustin/mame-genie/scri pts/resources/emscripten/emscripten_post.js --embed-file /0/home/dfjustin/mame-genie/bgfx/chains@bgfx/chains --embed-file /0/home/dfjustin/mame-genie/bgfx/effects@bgfx/effects --embed-file /0/home/dfjustin/mame-
@DopefishJustin
DopefishJustin / gist:391f7a9f3a464ce958b4
Last active February 17, 2016 17:47
Firefox nightly web console messages for MAME with -video bgfx
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. pacman
Successfully compiled asm.js code (total compilation time 1610ms; stored in cache; 2 functions compiled slowly: szb:15 (262ms), hBb:16 (472ms)) messpacman.js
Driver 8bpm (file pacman.cpp): 1 errors, 0 warnings messpacman.js:1:6292
Errors: messpacman.js:1:6292
Driver is a clone of nonexistant driver 8ballact messpacman.js:1:6292
messpacman.js:1:6292
Driver beastf (file pacman.cpp): 1 errors, 0 warnings messpacman.js:1:6292
Errors: messpacman.js:1:6292
Driver is a clone of nonexistant driver suprglob messpacman.js:1:6292
messpacman.js:1:6292
@DopefishJustin
DopefishJustin / gist:5f071762e33b3e3545ee
Created February 17, 2016 16:09
Chrome web console messages for MAME with -video bgfx
'webkitAudioContext' is deprecated. Please use 'AudioContext' instead.
Driver 8bpm (file pacman.cpp): 1 errors, 0 warnings
Errors:
Driver is a clone of nonexistant driver 8ballact
Driver beastf (file pacman.cpp): 1 errors, 0 warnings
Errors:
Driver is a clone of nonexistant driver suprglob
Driver pengojpm (file pacman.cpp): 1 errors, 0 warnings