#jsmess 2016-07-12,Tue

↑back Search

Time Nickname Message
00:05 🔗 balrog what's the best way to get the attention of someone at IA w.r.t. a stuck job?
00:59 🔗 SketchCow James is here. We're going to suggest trying the Scripted Amiga Emulator
01:09 🔗 DFJustin have we tried the mame amiga
01:10 🔗 DFJustin likely to be slow I guess
01:11 🔗 bai we're thinking it might be cool to use it as a test for running non-emscripten-compiled emulators with emularity
01:45 🔗 SketchCow Watch us fail: https://archive.org/details/broken_on_impact_asteroids
01:58 🔗 SketchCow https://archive.org/details/broken_on_impact_asteroids sort of works and then does not work
02:09 🔗 SketchCow bai is going to take a shot at this mess
02:21 🔗 SketchCow 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 🔗 db48x I made some changes to the emularity to support it
02:36 🔗 db48x SketchCow: do you have any items with multiple disks handy?
03:08 🔗 SketchCow https://archive.org/download/A.E._Side_1_Black_Bag_crack
03:08 🔗 SketchCow https://archive.org/details/Battle_Chess_side_A_clean_crack
03:09 🔗 SketchCow https://archive.org/download/Brimstone_disk_1_san_inc_crack
03:09 🔗 db48x awesome
03:09 🔗 SketchCow All with multiples
04:07 🔗 DFJustin if emularity loads them all into the file system you can swap them with the mame ui but that's admittedly clunky
04:08 🔗 DFJustin and requires the fonts to be fixed which is on the radar at least
04:12 🔗 bai 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 🔗 bai and then maybe something on the UI side of things to show you which disk is active
04:13 🔗 DFJustin well you also need to switch out of full keyboard mode and back
04:15 🔗 bai ohh, for mess yeah
04:15 🔗 DFJustin I don't think there is a key combination to swap disks other than menu jockeying
04:15 🔗 bai shit, yeah I'm thinking dosbox
04:25 🔗 db48x https://archive.org/details/Battle_Chess_side_A_clean_crack&external_js=1
04:25 🔗 db48x kinda breaks it, I think it's trying to boot the second side
04:49 🔗 bai DFJustin: what's the text of the menu option for swapping disks?
05:28 🔗 DFJustin file manager
05:35 🔗 bai 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 🔗 bai but not really sure if that's the right place. there's also floppycntl and a couple others
05:36 🔗 bai cntrl*
05:40 🔗 DFJustin 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 🔗 SketchCow It'll be a fun mess
16:03 🔗 db48x https://archive.org/details/Battle_Chess_side_A_clean_crack&external_js=1 works again
21:15 🔗 SketchCow Great
21:17 🔗 bai hmm, I'm getting an error now, about Object.entries not being defined
21:18 🔗 bai I think that's a firefox-only thing right now
21:20 🔗 SketchCow Claim from tracey that we can do partial/range-reads of files in IA
21:20 🔗 SketchCow So I am going to bother browserfs
21:20 🔗 bai nice
21:21 🔗 SketchCow And what do YOU need for Amiga fuckery, bai
21:23 🔗 bai 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 🔗 bai 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 🔗 db48x bai: yea, I used it because it was quick
21:41 🔗 SketchCow Sure
21:41 🔗 SketchCow http://scriptedamigaemulator.net/ (Tech Demo)
21:41 🔗 SketchCow https://github.com/naTmeg/ScriptedAmigaEmulator (Source Code)
21:41 🔗 SketchCow https://archive.org/details/broken_on_impact_asteroids (Complete over the wall toss at making it "work")
21:49 🔗 bai ok, so basically we need to call SAE({cmd: 'init'}); then set up a bunch of config parameters, and call AMIGA.start()
21:50 🔗 bai 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 🔗 bai as metadata, I mean
21:51 🔗 SketchCow Just put it in the .JSON
21:53 🔗 bai oh right
21:54 🔗 bai hmm, I guess it actually crams the rom data into the config
21:55 🔗 bai I mean, it triggers some async file loads, puts the resulting data into AMIGA.config.rom.data, probably populates AMIGA.floppy
21:55 🔗 bai AMIGA.config.floppy rather
22:21 🔗 db48x ok, it doesn't use Object.entries now
23:03 🔗 DFJustin ooh range reads would get us cd-rom stuff in mame pretty easily

irclogger-viewer