#jsmess 2018-10-05,Fri

↑back Search

Time Nickname Message
00:47 🔗 Sgeo_ Do we care about hidden stuff other than telling people how to get them? For example (the only example I know of really) the 10 Years HVSC disk has an additional song on it that's not a part of the main program, so currently reachable by hard restarting the emulator in the F12 menu, then writing the appropriate BASIC commands
00:53 🔗 SketchCow I am not particularly focused on that, no
00:53 🔗 SketchCow But I'm happy to add such metadata to the item with instructions.
01:16 🔗 SketchCow https://twitter.com/textfiles/status/1048017789884067840
01:16 🔗 SketchCow There we gooooo
01:39 🔗 Sgeo_ has quit IRC (hub.efnet.us irc.Prison.NET)
01:39 🔗 Sgeo has joined #jsmess
01:42 🔗 Sgeo SketchCow, :D
01:44 🔗 azakai has joined #jsmess
01:53 🔗 Sgeo Vaguely contemplating allowing uploads/downloads into the in-browser FS. Wondering if I should put that in the VICE menu, or if that's too annoying to use
01:53 🔗 Sgeo I should probably be thinking about networking for the Neohabitat people
02:09 🔗 bai Sgeo: BrowserFS allows for all sorts of fun stuff like that, you can set up either a memory-backed or localstorage-backed union filesystem
02:10 🔗 bai so you can mount the base disk image via zip or whatever, and then map certain directories to various types of storage - there are even adapters for services like dropbox
02:12 🔗 SketchCow Please ignore the inevitable bitchers
02:12 🔗 SketchCow When they arrive
02:14 🔗 Sgeo I wonder what's causing the stuttering when switching tabs, and if it's fixable, or if not, maybe autopause
02:15 🔗 Sgeo Do the other emulators do that?
02:16 🔗 * Sgeo goes to test
02:16 🔗 Sgeo DOSBox is fine when switching elsewhere, hmm
02:23 🔗 Sgeo vice24.js doesn't break in this manner, it looks like. Emscripten change?
02:23 🔗 Sgeo bai, do you happen to know if there was any change in how Emscripten behaves when the tab doesn't have focus?
02:25 🔗 bai I haven't been following latest developments closely enough to know
02:34 🔗 decay has quit IRC (Read error: Operation timed out)
02:34 🔗 decay has joined #jsmess
02:35 🔗 balrog has quit IRC (Read error: Operation timed out)
02:35 🔗 Sgeo Hmm... DOSBox doesn't seem to use requestAnimationFrame at all. VICE32.js does
02:38 🔗 balrog has joined #jsmess
02:48 🔗 Sgeo I just substituted requestAnimationFrame with a simple shim based on setTimeout, no more stuttering when backgrounded
02:49 🔗 Sgeo I wouldn't want to do that in production I think
03:03 🔗 Sgeo RIP kmalloc
03:04 🔗 Sgeo VM abruptly died. Really, really hate working in a VM
03:04 🔗 Sgeo I did hear stuttering with that shim eventually
03:30 🔗 bai hmm. actually have you verified if maybe requestAnimationFrame itself is what's stuttering? I seem to remember seeing a stutter introduced to rAF several versions back which I've probably just learned to ignore now
03:38 🔗 Sgeo I've verified that replacing rAF with a fake version mostly stops the stuttering. Being backgrounded does cause setTimeout to slow down, and that has stuttered a bit but not as frequently/reliably
03:40 🔗 Sgeo Alt-W toggles warp but also brings up LastPass
03:42 🔗 Sgeo I don't know if a page would be allowed to disable extension stuff like that
03:42 🔗 Sgeo The obvious way certainly doesn't work
03:46 🔗 Sgeo I was hoping to be able to build from a VirtualBox shared directory. I have now given up in that goal
03:46 🔗 Sgeo Would have been so convenient
04:46 🔗 Sgeo Here's a fun experiment. Type the following into the browser on the page of a game before starting the emulator, then try a game that usually takes a while to load.
04:47 🔗 Sgeo window.requestAnimationFrame = window.setTimeout;
04:47 🔗 Sgeo (in the JS console)
05:23 🔗 Sgeo "Swap joystick ports" abruptly and unexpectedly dies in IA and on my site. In my newest build, it works, and I have no idea why
05:43 🔗 SketchCow Sgeo: Does media switching work now?
05:44 🔗 Sgeo SketchCow, ...I'm confused because it's been working for me for a while. bai reported a problem with alt-n, and I have no idea how to solve that
05:45 🔗 bai I did?
05:46 🔗 Sgeo oops, db48x not you
05:46 🔗 Sgeo Sorry
05:46 🔗 bai ah ok :D was wondering if I was just losing it
06:58 🔗 Sgeo Possible enhancements: Support for external button to switch disks, or reorganizing the F12 menu to make it easier to find the next disk option.
06:58 🔗 Sgeo But as-is, if Alt-N doesn't work, the menu does exist
07:11 🔗 Sgeo_ has joined #jsmess
07:12 🔗 Sgeo has quit IRC (Read error: Operation timed out)
07:12 🔗 Sgeo_ has quit IRC (Read error: Connection reset by peer)
07:12 🔗 Sgeo_ has joined #jsmess
07:35 🔗 ted has quit IRC (Read error: Connection reset by peer)
10:06 🔗 ted has joined #jsmess
10:38 🔗 Sgeo_ has quit IRC (Read error: Operation timed out)
11:34 🔗 i0npulse has quit IRC (Ping timeout: 252 seconds)
12:03 🔗 i0npulse has joined #jsmess
12:36 🔗 Sgeo has joined #jsmess
15:26 🔗 azakai has quit IRC (Read error: Operation timed out)
16:25 🔗 DopefishJ is now known as DFJustin
17:51 🔗 SketchCow :)
17:51 🔗 SketchCow I apologize for being scatterbrained and weird
18:22 🔗 SketchCow So.... is the Alt-N option only available in a new version?
18:22 🔗 SketchCow Sgeo: Is there a download link for me to test it?
18:23 🔗 SketchCow (Since literally tens of thousands of people are now playing :)
18:23 🔗 Sgeo|web has joined #jsmess
18:24 🔗 Sgeo|web It should be in the vice-resid that's already on IA for a while
18:30 🔗 Sgeo|web If Alt-N doesn't work because of weird browserness, the same operation is in F12 -> Drive -> Fliplist settings -> Attach next image in fliplist
18:36 🔗 SketchCow Yeah, but I want to make sure ALT-N work.
18:36 🔗 SketchCow (Works)
18:36 🔗 SketchCow Let me move two disks together into one item.
18:37 🔗 Sgeo|web The relevant metadata item is vice_drive_8_fliplist, which should list the disks in order separated by ; and starting with the starting disk (because the next operation skips the first entry, because VICE)
18:44 🔗 Sgeo|web db48x's issue seemed to be that his browser wasn't recognizing the alt key or allowing it to be sent to web pages. Not sure what was going on there
18:58 🔗 SketchCow OK, so it needs that fliplist
19:33 🔗 Sgeo|web has quit IRC (Quit: Page closed)
21:37 🔗 Sgeo|web has joined #jsmess
21:38 🔗 Sgeo|web There's a polyfill for a way to get calls faster than setTimeout. I think replacing rAF with that would result in much faster execution. I'd rather see if I can have that replacement only occur during warp mode, though.
21:38 🔗 Sgeo|web https://github.com/YuzuJS/setImmediate
21:43 🔗 Sgeo|web has quit IRC (Quit: Page closed)
22:34 🔗 Sgeo_ has joined #jsmess
22:36 🔗 SketchCow That's pretty sweep
22:36 🔗 SketchCow sweet
22:37 🔗 Sgeo has quit IRC (Read error: Operation timed out)
22:39 🔗 SketchCow How do you plug it in
22:43 🔗 Sgeo_ The lazy way for current testing would be to throw that entire js file into the console, then window.requestAnimationFrame = window.setImmediate;
22:44 🔗 Sgeo_ The real way would substitute some JS in Emscripten to conditonally make use of it instead of setImmediate.
22:44 🔗 SketchCow Going to try it with a http://fos.textfiles.com/dfjustin
22:47 🔗 SketchCow http://fos.textfiles.com/dfjustin/jaguar/newjaguar/
22:47 🔗 SketchCow I couldn't do it, can you do it?
22:48 🔗 Sgeo_ Just tried in the console here, it loaded quite quickly, https://archive.org/details/10_Years_HVSC_2006-11-28_HVSC_Crew_Side_A
22:48 🔗 Sgeo_ Before launching emulator, go to devtools console. Paste in the code in https://raw.githubusercontent.com/YuzuJS/setImmediate/master/setImmediate.js
22:49 🔗 Sgeo_ Then paste in the following: window.requestAnimationFrame = window.setImmediate;
22:49 🔗 Sgeo_ Then run
22:52 🔗 SketchCow I paste it and it goes "undefined"
22:54 🔗 Sgeo_ That should be fine, as long as the emulation still runs
22:54 🔗 Sgeo_ Neither expression gives a result
22:54 🔗 Sgeo_ (other than changing global variables
22:55 🔗 SketchCow In your opinion, can you make it work in http://fos.textfiles.com/dfjustin/jaguar/newjaguar/ ?
22:55 🔗 Sgeo_ In unrelated news, https://i.imgur.com/WwFRTMq.png
23:08 🔗 Sgeo_ SketchCow, still sounds choppy :(
23:46 🔗 Sgeo_ has quit IRC (Quit: Leaving)
23:47 🔗 Sgeo has joined #jsmess

irclogger-viewer