Daniel Brooks
c6721bf5d2
first stab at a readme
2015-02-27 16:02:22 -08:00
Daniel Brooks
1b8a17a31a
fix peripheral handling for mess/mame
2015-02-26 12:27:21 -08:00
Daniel Brooks
2e0578cdef
fix url for bios files
2015-02-26 12:12:55 -08:00
Daniel Brooks
78fbc4a7f6
fix arguments for build_mess_arguments
2015-02-26 12:04:09 -08:00
Daniel Brooks
46b3e6a020
remove es6-promise code from loader.js, now that IE loads it from the proper file
2015-02-26 11:42:54 -08:00
Daniel Brooks
a3a5ce3d0c
merge the jsmess and emdosbox loaders
...
The same code now handles both, and the config api is specialized for
them as well.
2015-02-26 11:38:23 -08:00
Daniel Brooks
991d5465e8
fix the positioning of the progress indicators
...
This covers the case where we measured the wrong height for the splash
image originally, when there's a slight delay in loading it.
2015-02-09 21:23:08 -08:00
Daniel Brooks
9f7c543924
new config functions
...
This simplifies the work that the user needs to do, especially for
downloading game files and unpacking them.
2015-02-09 15:42:57 -08:00
Daniel Brooks
960c6adef5
use less of a hack when dealing with the 'game' argument
2015-02-06 01:17:11 -08:00
Daniel Brooks
66d87856bc
call the method using the right name
2015-02-06 01:15:24 -08:00
Daniel Brooks
d616d4c055
add a mute method
2015-02-05 22:43:33 -08:00
Daniel Brooks
767d04119f
rename to Emulator, so that we can recombine it with the jsmess loader
2015-02-04 03:30:31 -08:00
Daniel Brooks
a64a797dae
set up resolution/scale/aspect ratio api
2015-02-04 03:28:08 -08:00
Daniel Brooks
b76a0be35f
Move all IA code into a different constructor
2015-02-04 00:36:21 -08:00
Daniel Brooks
6732de204a
move a bunch of random stuff into the loader
...
It's not all in it's final form yet, but most of this will be methods
called by the user of the loader.
2015-02-03 22:19:30 -08:00
Daniel Brooks
e84c39cc0c
Allow changing the colors used in the splash screen
2015-01-28 19:05:48 -08:00
Daniel Brooks
db0d970dd6
Merge branch 'master' into promises
...
Conflicts:
emdosbox-loader.js
2015-01-28 11:31:31 -08:00
Daniel Brooks
ddb52d890c
let the config file tell emscripten where ancillary files are
2015-01-27 17:09:01 -08:00
Daniel Brooks
eefef077c0
show 'n of m' to differentiate game files instead of their url
2015-01-27 09:52:46 -08:00
Daniel Brooks
d6a77de91c
don't hide download status on failure
2015-01-25 06:46:32 -08:00
Daniel Brooks
e3eb04894a
fix property name
2015-01-25 06:41:19 -08:00
Daniel Brooks
1655701034
add local emacs settings
2015-01-25 06:40:00 -08:00
Daniel Brooks
09db127d95
add some error messages for download failures
2015-01-25 06:39:24 -08:00
Daniel Brooks
0ef8e8332c
show basic download status information
2015-01-25 06:32:15 -08:00
Daniel Brooks
9df9b0bab1
Remove unused line
2015-01-24 13:13:50 -08:00
Daniel Brooks
4c3a89752c
correctly handle executables inside subdirectories
2015-01-24 11:54:33 -08:00
Daniel Brooks
8e64147290
wait for key press after all downloads are complete
...
but still before launching the emulator. Technically we "launch" the
emulator by adding a script tag to the document, so it may still have to
download that. It'd be nice if we could include that earlier and call a
method to start things up.
2015-01-24 11:09:21 -08:00
Daniel Brooks
996671b854
show loading animation right away
...
Also clean up the animation code a bit, and use requestAnimationFrame if
it's available.
2015-01-24 10:59:40 -08:00
Daniel Brooks
94bb759d92
Allow loading multiple zips, as separate drives
...
This is keyed off of the item metadata; use
dosbox_drive_d=item/path/to/file.zip to mount a zip file from an item as
drive D.
2015-01-24 08:18:49 -08:00
Daniel Brooks
d308ad8d61
move that url to a getter like the rest
...
also whitespace, because reasons
2015-01-17 02:15:35 -08:00
Daniel Brooks
88226ba09f
gather the skeins
...
By combining start and try_start into a single promise chain, and
straightening out the logic a bit, we simultaneously make the sequence
of events much clearer, and eliminate several possibilities for
bugs (nothing can be called out of order).
2015-01-17 02:08:16 -08:00
Daniel Brooks
7d4c75378c
use Promises, to make extending the file dependencies easier
...
includes a polyfill for IE; this is included in emdosbox-loader.js for
the moment
2015-01-16 07:58:54 -08:00
John Vilk
b2eadbaeb0
Hackfixing a race condition where user clicks play before module data is loaded.
...
IA has a separate click handler on emdosbox that is out of our control, violating internal loader assumptions that the emulator cannot be started before module data downloads.
2015-01-15 23:20:02 -05:00
Daniel Brooks
40f9e345ca
pulled the current version of the code from loaderlab
2015-01-15 20:13:56 -08:00
Daniel Brooks
6ab9c4a4b4
move some stuff to before the preInit, where it makes more simpler
2014-12-21 20:00:52 -08:00
Daniel Brooks
1c908c36ad
rearrange a few things, and use promises
...
needs testing
2014-12-21 19:36:03 -08:00
Daniel Brooks
f5f71a1bef
rearrange a few things, and use promises
...
Needs testing.
2014-12-21 19:22:53 -08:00
Daniel Brooks
0882cc41c5
Module.preInit is apparently not called as a method; we can't use 'this' in it.
2014-12-21 00:23:59 -08:00
Daniel Brooks
a0db7cb49a
restore the js_filename option to the config, so that we can actually load dosbox :P
2014-12-20 22:56:02 -08:00
Daniel Brooks
7ea8cb3eb4
a little cleanup
2014-12-20 08:16:00 -08:00
Daniel Brooks
b823c44461
use the correct request type when fetching the item metadata
2014-12-20 08:02:03 -08:00
Daniel Brooks
833bd4ce0c
avoid an error when _SDL_PauseAudio is undefined
2014-12-20 08:01:36 -08:00
Daniel Brooks
960c015957
set the arguments after we've loaded the metadata
2014-12-19 16:42:49 -08:00
Daniel Brooks
0a37914480
load the metadata for the item to find the emulator_start value
2014-12-18 21:33:03 -08:00
Daniel Brooks
c58dc5e1e7
finish renaming things to DOSBOX
2014-12-18 20:34:03 -08:00
Daniel Brooks
1425e22d5b
don't fetch keymap/extra js; they're not needed here
2014-12-18 20:27:41 -08:00
Daniel Brooks
a69202fdfc
remove use_mame flag
2014-12-18 20:11:38 -08:00
Daniel Brooks
c6ae5e59ed
whitespace
2014-12-18 20:10:43 -08:00
Daniel Brooks
0687e9274c
fix zipfile mount location
2014-12-18 20:08:36 -08:00
Daniel Brooks
868bdc866f
set up dosbox arguments
2014-12-18 20:08:23 -08:00