#jsmess 2018-10-15,Mon

↑back Search

Time Nickname Message
01:16 🔗 Sgeo__ Why doesn't EM-Dosbox die in other tabs????
01:18 🔗 Sgeo__ BIGTIMER is my new favorite DOS program
01:18 🔗 Sgeo__ ...it does die in other tabs. BIGTIMER sort of just... stops when in another tab
01:22 🔗 Sgeo__ Bigtimer's timer died, but another program hasn't been
01:29 🔗 * Sgeo__ vaguely eyes bai's PPP virtual ISP
01:34 🔗 Sgeo__ I wonder how difficult it would be to compile Tcpser to Emscripten
01:47 🔗 bai that could be interesting. I wonder if that's a route to doing full generalized PPPoW
01:48 🔗 bai I've had a long-term idea about implementing a network stack in JS which would let me use VISPs to implement raw TCP, UDP, or other protocols directly in the browser
01:49 🔗 bai the DOS apps I played with before were limited to a max of 115200 baud, but in theory PPP can be run at line speed
01:50 🔗 bai eg, PPPoE
01:55 🔗 Sgeo__ Hmm, the usefulness of embedded tcpser is sort of ruined by endpoints still needing to be WebSocket enabled
01:55 🔗 Sgeo__ So how do I get your networking to work in the Windows 3.1 image? It was complaining about COM1
01:56 🔗 bai hmm, I think the em-dosbox makefiles need some tweaks to add -s USE_SDL_NET=2
01:57 🔗 bai there's a configure option to enable networking that looks for SDL_net.h
01:57 🔗 Sgeo__ Unrelatedly can you help me understand why switching tabs on an EM-DOSBOX seems to pause the program except sounds work fine?
03:02 🔗 Sgeo__ It's something to do with sound
03:03 🔗 Sgeo__ So why doesn't it work with VICE?
03:26 🔗 bai hmm, how do you mean, the program pauses but audio continues?
03:32 🔗 Sgeo__ I was wondering if that weirdness was occuring (which would be nonsensical, yeah), but it's not. What happens is the program pauses if it's not playing audio, and doesn't pause if it is
03:34 🔗 Sgeo__ requestAnimationFrame isn't magically not dying
03:39 🔗 Sgeo__ I think I'm going to just solve the NTSC problem by having the emscripten main loop call the maincpu loop twice
04:21 🔗 Sgeo__ I feel lied to. emulator:dosbox is dosbox-sync.js.gz, not dosbox.js.gz
04:22 🔗 Sgeo__ ...same exact file though, huh
04:25 🔗 Sgeo__ ...DOSBox is using setTimeout? How?
04:27 🔗 Sgeo__ It's calling something that calls emscripten_sleep_with_yield
04:32 🔗 Sgeo__ DOSBox SYNC version is calling that function directly.
04:32 🔗 Sgeo__ It's basically just setTimeout except Emscripten doesn't yell at you for it
15:13 🔗 azakai has quit IRC (Ping timeout: 255 seconds)

irclogger-viewer