Commit Graph
34 Commits
Author SHA1 Message Date
Daniel Brooks 1ab9544534 allow for more callbacks, and call one just before we load the emulator as well as after it's loaded 2015-04-12 20:54:52 -07:00
Daniel Brooks 9ac6b8a3df correct name for the IA logo 2015-04-12 19:43:28 -07:00
Daniel Brooks 1eab408fb7 apparently an image that was 404 can still be considered complete 2015-04-12 10:54:49 -07:00
Daniel Brooks 974a0820e3 handle missing splash/spinner images better 2015-04-12 10:36:12 -07:00
Daniel Brooks f498739d35 tweak positioning of the logo in the splash screen
for reduced crampedness
2015-04-11 15:37:23 -07:00
Daniel Brooks 857737f166 bundle the IA and emulator logos
Drawing an image from another origin into the canvas prevents the
emulator from later reading data out of the canvas.
2015-04-11 11:05:02 -07:00
Daniel Brooks 17e9ae3e16 bigger IA logo 2015-04-11 10:58:56 -07:00
Daniel Brooks 2d3807296e fix js error
really need to write a replacement for that
2015-04-11 10:57:49 -07:00
Daniel Brooks d5d4b9d23f use the IA logo until we know which emulator logo to show 2015-04-11 03:48:28 -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 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 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 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 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 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