Daniel Brooks
c4dedaa30e
logo
2015-04-10 18:19:56 -07:00
Daniel Brooks
c4b1c5ede6
add a TODO list
2015-04-03 01:51:34 -07:00
Daniel Brooks
6023df1aad
Merge branch 'promises'
...
This has been deployed to IA.
Conflicts:
emdosbox-launcher.js
emdosbox-loader.js
jsmess-launcher.js
jsmess-loader.js
2015-04-02 22:20:45 -07:00
Daniel Brooks
78bdb08eff
quasi-document our testcases
2015-04-02 21:32:14 -07:00
Daniel Brooks
d73eea21ff
add native resolutions and waitAfterDownloading option to the examples
2015-04-02 19:39:30 -07:00
Daniel Brooks
0ec9153d06
handle an unknown native resolution without errors, at least
2015-04-02 19:29:47 -07:00
Daniel Brooks
25b3e7b7d5
fix scaling behavior
2015-04-02 19:15:23 -07:00
Daniel Brooks
ea79f25fdb
show a percentage in the splash screen if we can
2015-03-25 19:08:14 -07:00
Daniel Brooks
b5076a16e5
log of 0 is -Inf, so handle that case separately
2015-03-25 19:07:58 -07:00
Daniel Brooks
f997324eec
convenient place to list the default option values
2015-03-25 16:53:37 -07:00
Daniel Brooks
57df095229
show download progress on splash screen
2015-03-25 16:51:24 -07:00
Daniel Brooks
fd8ef99c54
add a -conf option to point dosbox to the config file
...
This doesn't seem to cause any problems if the file is missing, which is
good.
2015-03-24 15:13:45 -07:00
Daniel Brooks
61cc734dbc
remove launcher.js, now that it's no longer needed
2015-03-17 08:09:19 -07:00
Daniel Brooks
6714044780
make the 'press any key' pause opt-in
2015-03-17 04:48:06 -07:00
Daniel Brooks
a62d19cdfc
correct the positioning of the loading status
...
by appending it not to the end of the document, but into the parent
element of the canvas
2015-03-17 04:34:40 -07:00
Daniel Brooks
812f14cf86
git rid of 'raw' param to fetch_file
...
It didn't really do what it sounded like it did; it just converted the
response to an Int8Array. This would only work if the result type was
either null or 'arraybuffer', and we then have to immediately convert
that into a BrowserFS Buffer. Since we can do that directly from an
ArrayBuffer, this is just extra work. Additionally, for rediculuous
reasons a 0-length Int8Array can't be converted into a Buffer, so we
would have a spurious failure if we got a 0-byte response. This then is
the very definition of an anti-feature.
2015-03-17 04:28:30 -07:00
Daniel Brooks
43e7b02fa0
fix the permissions problem when decompressing a zip file
2015-03-14 18:40:33 -07:00
Daniel Brooks
78b76eca53
tweak IALoader example in README
2015-03-13 15:43:19 -07:00
Daniel Brooks
1aea283378
swap foreground and background colors on the splash screen to match IA v2 interface
2015-03-13 15:42:58 -07:00
Daniel Brooks
1dda3d145c
"fix" an error when loading in IA v2 interface
...
Honestly this is a hack. IA is kindly providing us with an object that
has split out the item name, file name, and a few other things. We treat
it as a path (by calling its special toString() method) and then later
split that path into path components to find the item name. Yay.
2015-03-13 15:41:01 -07:00
Daniel Brooks
7f1e9ce7c8
set the loading progress' foreground color when updating the splash screen in case the colors have been inverted
2015-03-13 10:50:17 -07:00
Daniel Brooks
c655415da7
bare-bones html/js example files to get you started
2015-03-13 10:45:11 -07:00
Daniel Brooks
67652ad976
fix filename when saving
2015-03-13 10:31:09 -07:00
Daniel Brooks
039154dc8d
initialize the webaudio wrapper for mess/mame
2015-03-13 10:29:29 -07:00
Daniel Brooks
11804214ca
tweaks to the readme
2015-03-04 00:11:02 -08:00
Daniel Brooks
3371774d1c
finally, we need not be given a promise of a config; a config will work just fine
2015-03-03 23:53:47 -08:00
Daniel Brooks
77591b8441
typo
2015-03-03 23:53:06 -08:00
Daniel Brooks
5606ee52ab
use computed style to get width/height of canvas
2015-03-03 23:52:52 -08:00
Daniel Brooks
5b45ebaac7
IA's mess/mame config files are loaded from a different url
2015-03-03 23:52:20 -08:00
Daniel Brooks
c344a4593b
add browserfs
2015-03-03 23:51:17 -08:00
Daniel Brooks
95caa22035
move promises to the correct filename
2015-03-03 23:51:06 -08:00
Daniel Brooks
8607c59787
mention run-time api
2015-02-27 16:54:19 -08:00
Daniel Brooks
8ff85a34d8
improve readme a bit: IA, known issues
2015-02-27 16:42:56 -08:00
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
9778260a25
same three changes for jsmess as well
2015-02-13 13:14:23 -08:00
Daniel Brooks
9d4a3b3acf
hackily check for inverted colors
2015-02-13 12:51:42 -08:00
Daniel Brooks
337510acf3
adjust canvas dimensions right away
2015-02-13 12:40:52 -08:00
Daniel Brooks
3df9488c3a
don't throw an error if the page doesn't have a full-screen button
2015-02-13 12:40:26 -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