Daniel Brooks
6414a302be
a little refactor to avoid using let
2019-11-18 12:06:12 -08:00
Daniel Brooks
4426cb0a32
-autoboot_command needs an escaped newline at the end
2019-11-17 22:58:00 -08:00
Daniel Brooks
fc0d2a5e80
add an autoboot option for MAMELoader, and make IA's emulator_start metadata use it
2019-11-17 22:29:19 -08:00
Daniel Brooks
6403db035e
fix the mute/unmute button for MAME
...
Fixes MAMERunner's mute/unmute functions, and starts MAME with the
volume turned down instead of with no sound emulation at all when the
mute cookie is set.
2019-08-03 06:43:04 -07:00
Daniel Brooks
8ad749e9e7
deprecate Emulator.setScale in favor of BaseLoader.setScale
2019-07-15 08:34:07 -07:00
Daniel Brooks
e4388d12fa
fix scaling at least for MAME
...
Turns out that a program that uses emscripten's SDL port to create a
"window" (by calling SDL_CreateWindow) gets exactly the canvas size
that they requested, and emscripten actually resets the canvas back to
this size on certain events (such as window resize).
This means that the application must request the scaled size, or
explictly resize the canvas using a different API. Since MAME accepts a
-resolution command-line argument, I can at least make it request a
window of the scaled size. It's not as efficient as letting the
browser scale the window, but it works.
2019-07-14 13:00:03 -07:00
Daniel Brooks
ddb1c28e15
remove stray debugging print
2019-03-19 17:31:56 -07:00
Daniel Brooks
e2808c7006
support loading np2, xmil, and vmac items from IA
2019-02-10 20:42:58 -08:00
Daniel Brooks
2729449d94
clean up the indentation
2019-02-02 03:15:13 -08:00
Pengan Zhou
39a075f9dd
NP2Loader for Neko Project II
2019-01-29 19:28:35 -08:00
Pengan Zhou
644ed28d1c
Make PC98DosBoxLoader compatible with drive_type
2018-10-21 16:53:24 -07:00
Sgeo and GitHub
4ed4c48f0d
Support vice.conf
2018-10-18 22:28:18 -04:00
Daniel Brooks
91a3a6cba9
Merge branch 'pengan1987-master'
2018-10-11 09:48:39 -07:00
Daniel Brooks
5e9d3e4759
IALoader can easily use PCE's new extra_args support too
2018-10-11 09:48:21 -07:00
Daniel Brooks
8f195d41ff
avoid default arguments for backwards compatibility
2018-10-11 09:27:37 -07:00
Pengan Zhou
fcdeeb5245
Add extraArgs support for PCE and PCE IBM PC example
2018-10-10 23:17:48 -07:00
seedgou
145b70f19c
fix dosbox mount img
...
see also https://www.dosbox.com/wiki/MOUNT#Mounting_an_ISO-File_as_volume
2018-10-10 20:13:24 +08:00
seedgou
227759a8df
add support for dosbox cdrom, floppy, img drive
2018-10-10 19:23:21 +08:00
Daniel Brooks and GitHub
abaefa7dd3
Merge pull request #44 from pengan1987/master
...
Support multiple floppy disks for SAE
2018-10-01 16:44:33 -07:00
Daniel Brooks
2145df1f4d
just some minor cleanups, and a missing export
2018-09-30 11:32:08 -07:00
Sgeo and Daniel Brooks
63c248129b
Attempt to allow independent VICELoader use with fliplists
...
Move fliplist file creation into VICELoader, and processing of IA metadata into IALoader.
Not actually tested on indepenent VICELoader. Tested and works on IA, with the caveat that empty metadata_fliplist.vfl gets created.
2018-09-30 11:32:08 -07:00
Sgeo and Daniel Brooks
69fe64e3fe
Fliplists
...
Add support for fliplist metadata.
Closes #35 .
2018-09-30 11:32:08 -07:00
Pengan Zhou
58e2ff2805
Support multiple disks for SAE
2018-09-28 21:14:35 -07:00
Pengan Zhou
917c042822
Update setup of Emscripten based loaders
2018-09-17 00:17:39 -07:00
Pengan Zhou
f6dfaa40bd
Default dosbox.conf for PC-98 can be loaded from resource disk
2018-09-15 22:53:13 -07:00
Pengan Zhou
aa4072779a
Add DOSBox-X PC98 support
2018-09-15 20:01:03 -07:00
Daniel Brooks
665e947fc9
add a logo for Vice
2018-09-01 15:30:26 -07:00
Sgeo
654604ddbd
Remove some logging.
2018-08-30 08:07:50 -04:00
Sgeo
6d6e6c1164
Allow for "vice"
2018-08-29 23:40:25 -04:00
Sgeo
05df4b0068
* Stubbed out non-working .zip support. Other items take priority
2018-08-29 23:14:15 -04:00
Sgeo
9e61c43196
* Logging
...
* Use extra_args
* -autostart
* emulator_start is optional.
2018-08-29 22:07:36 -04:00
Sgeo
6baafb1177
Working autostart locally. Things not working:
...
* Resolution weird
* CRT emulation looks horrid
* Sound is clicky
* Any sort of customization of disk drives, any sort of ability to not autostart
Changes:
* Syntax fixes
* Some logging
* get_vice_files gets all files matching emulator_ext and nothing else. Reconsider for mixed file usage (e.g. prg and d64 and crt)
* Use EmscriptenRunner
* build_vice_arguments. Supplies -autostart and prepends /emulator/.
2018-08-29 01:00:56 -04:00
Sgeo
7b0afc87de
get_vice_files and related code. No guarantee that this is coherent.
2018-08-28 00:18:11 -04:00
Sgeo
5ecbeb7db8
Notes to self, mostly
2018-08-21 01:36:33 -04:00
Sgeo
9eee49d915
Dispatch to (currently non-existent) vice code
2018-08-20 21:30:04 -04:00
Daniel Brooks
fd1ec3e28a
forgot to handle a missing extension in files_with_ext_from_filelist
2018-05-05 08:55:26 -07:00
Daniel Brooks
1ceb58c9cc
fix EmscriptenRunner
2018-04-26 12:56:48 -07:00
Daniel Brooks
666969bcbc
fix muting in MAME
2018-04-23 04:03:09 -07:00
Daniel Brooks
c175e7b782
support MAME's -keepaspect command-line option
2018-04-12 23:56:26 -07:00
Daniel Brooks
00d69a5b75
factor the loading process further, and introduce the EmscriptenRunner
...
The compliments the SAERunner for the Scripted Amiga Emulator.
2018-03-07 13:08:12 -08:00
Daniel Brooks
25e8ae8068
IALoader respects the emulator_ext metadata property when finding files for DosBox items
...
Also, clean up the various get_foo_files functions by factoring out
some common elements. Fixes #29 .
2018-02-15 02:30:27 -08:00
Daniel Brooks
94035eb203
only append extra_args if it's defined
...
Otherwise Emscripten's JS chokes; it assumes that every element of the
argv array is a string, and converts them into an array of bytes for
the running program to use. Fixes #28 .
2018-02-10 11:21:07 -08:00
Daniel Brooks
9258bf80fa
support Emscripten's WebAssembly builds
2018-02-07 13:47:46 -08:00
Daniel Brooks
58d44e0d50
don't try to tell DosBox to mount things unless we mean it
2018-02-07 08:46:50 -08:00
Daniel Brooks
51b19bf2ae
give callers a way to add arguments to the dosbox command line
2018-02-07 08:44:22 -08:00
Daniel Brooks
bd4c63e362
the filename given to mountFile can include a path
...
all directories named in the path will be created in the in-memory
filesystem when the file is saved.
2018-02-05 09:44:31 -08:00
Daniel Brooks
84917c0ee1
forgot to properly test this, apparently
2018-02-04 20:01:24 -08:00
Daniel Brooks
be46bfb477
allow the user to supply their own style rules for the splash screen
2018-01-27 08:28:28 -08:00
Daniel Brooks
659a21bcae
browserfs api changed slightly?
2017-04-18 18:05:50 -07:00
Daniel Brooks
b08d9bbec5
add support for PCE emulators, particularly macplus
...
PCE supports several other personal computers of the era, but only
macplus is tested so far.
2017-04-03 22:08:46 -07:00