[00:05] what's the best way to get the attention of someone at IA w.r.t. a stuck job? [00:59] James is here. We're going to suggest trying the Scripted Amiga Emulator [01:09] have we tried the mame amiga [01:10] likely to be slow I guess [01:11] we're thinking it might be cool to use it as a test for running non-emscripten-compiled emulators with emularity [01:45] Watch us fail: https://archive.org/details/broken_on_impact_asteroids [01:58] https://archive.org/details/broken_on_impact_asteroids sort of works and then does not work [02:09] bai is going to take a shot at this mess [02:21] So, after discussions with bai and db48x - I'd really like to consider how to get multiple disk images swappable in the system, especially in Apple II. DFJustin - any thoughts? [02:22] *** SketchCow sets mode: +oooo arkiver bai Coderjoe db48x [02:22] *** SketchCow sets mode: +oooo GLaDOS godane Lord_Nigh Vito` [02:22] *** SketchCow sets mode: +o yipdw [02:35] I made some changes to the emularity to support it [02:36] SketchCow: do you have any items with multiple disks handy? [03:08] https://archive.org/download/A.E._Side_1_Black_Bag_crack [03:08] https://archive.org/details/Battle_Chess_side_A_clean_crack [03:09] https://archive.org/download/Brimstone_disk_1_san_inc_crack [03:09] awesome [03:09] All with multiples [04:07] if emularity loads them all into the file system you can swap them with the mame ui but that's admittedly clunky [04:08] and requires the fonts to be fixed which is on the radar at least [04:12] as of a couple months ago it's super easy for us to inject SDL keycodes directly into a running mame instance - so we just need the sdl scancode for the key which swaps disks (ctrl+f4 or something? I forget) [04:12] and then maybe something on the UI side of things to show you which disk is active [04:13] well you also need to switch out of full keyboard mode and back [04:15] ohh, for mess yeah [04:15] I don't think there is a key combination to swap disks other than menu jockeying [04:15] shit, yeah I'm thinking dosbox [04:25] https://archive.org/details/Battle_Chess_side_A_clean_crack&external_js=1 [04:25] kinda breaks it, I think it's trying to boot the second side [04:49] DFJustin: what's the text of the menu option for swapping disks? [05:28] file manager [05:35] looking through the source to figure out what functions it calls. this looks somewhat promising https://github.com/mamedev/mame/blob/master/src/frontend/mame/ui/imgcntrl.cpp#L155-L160 [05:36] but not really sure if that's the right place. there's also floppycntl and a couple others [05:36] cntrl* [05:40] probably need to hit up #mame-dev on freenode [07:24] *** DFJustin has quit IRC (Read error: Operation timed out) [08:37] *** DFJustin has joined #jsmess [14:58] It'll be a fun mess [16:03] https://archive.org/details/Battle_Chess_side_A_clean_crack&external_js=1 works again [21:15] Great [21:17] hmm, I'm getting an error now, about Object.entries not being defined [21:18] I think that's a firefox-only thing right now [21:20] Claim from tracey that we can do partial/range-reads of files in IA [21:20] So I am going to bother browserfs [21:20] nice [21:21] And what do YOU need for Amiga fuckery, bai [21:23] hmm, haven't started poking on that one yet, last night I did a bunch of digging into mame code for disk swapping, I keep getting mixed up and thinking it works the same way as dosbox and will be a trivial keypress thing, but really it's just a matter of finding the function the menu exposes and calling that [21:26] if you could send me those links you were poking at yesterday they might help - I don't really know anything about the amiga side of things is the probem, like when you started talking about kickstart roms and shit that's a new world for me, but if you can set me up with the files and the IA links we set up yesterday I can keep poking on the js side [21:40] bai: yea, I used it because it was quick [21:41] Sure [21:41] http://scriptedamigaemulator.net/ (Tech Demo) [21:41] https://github.com/naTmeg/ScriptedAmigaEmulator (Source Code) [21:41] https://archive.org/details/broken_on_impact_asteroids (Complete over the wall toss at making it "work") [21:49] ok, so basically we need to call SAE({cmd: 'init'}); then set up a bunch of config parameters, and call AMIGA.start() [21:50] the config parameters are going to be the fun parts. maybe just cramming the big json config string in as an object, but that's messy as hell [21:50] as metadata, I mean [21:51] Just put it in the .JSON [21:53] oh right [21:54] hmm, I guess it actually crams the rom data into the config [21:55] I mean, it triggers some async file loads, puts the resulting data into AMIGA.config.rom.data, probably populates AMIGA.floppy [21:55] AMIGA.config.floppy rather [22:21] ok, it doesn't use Object.entries now [23:03] ooh range reads would get us cd-rom stuff in mame pretty easily