[00:18] hmm. it's been a while since I did anything with sdl1 and gl, but it should definitely be supported [00:19] does vice use a gl renderer or is it pure software? [00:33] I think it has a GL option, but mostly for X11, OSX, and Android [00:33] Hmm, hold on [00:34] I see some GL calls. At least one is for SDL2 though and not SDL1 [00:34] Actually not sure [02:32] SDL_SetVideoMode has a flag for GL, wonder if there's a key on how to disable it there [02:35] Looks like it's always set [02:36] ...what if I just change the assert to an early return [02:41] Hmm [02:41] "uncaught exception: Legacy GL function (glBegin) called. If you want legacy GL emulation, you need to compile with -s LEGACY_GL_EMULATION=1 to enable legacy GL emulation." [02:42] ooooh, ouch, it uses gl 1.x? [02:43] That's what Emscripten assumed based on a call to glBegin, at least. [02:43] that yeah [02:43] -that [02:44] basically oldschool gl 1.3 was immediate mode, rather than using FBO/VBOs [02:44] "WARNING: using emscripten GL emulation. This is a collection of limited workarounds, do not expect it to work." [02:44] Why doesn't VICE.js complain about this? [02:44] apps t hat use gles 2.0 or port pretty cleanly, but for gl 1.3 apps there's a whole other layer to emulate it [02:44] or newer* [02:45] and yeah....it's pretty hit or miss [02:45] if it's possible to compile vice with gl support disabled, that's probably the way to go [02:48] The config checks for opengl support somehow [02:48] Not sure yet if it errors without opengl or does something usefl [02:48] "GL_TEXTURE0 coords are supplied, but that texture unit is disabled in the fixed-function pipeline." [02:49] I'm confused, isn't that implying that it's NOT legacy? [02:54] It seems to use OpenGL for "hardware scaling". No option to disable, as such, but I think I can safely delete the configure code, maybe [03:52] https://i.imgur.com/zTESizj.png I think I pressed F12 a while ago. I was away from the VM, just switched back and saw that [03:52] Not sure how long that was there before I noticed [04:09] Sgeo_: progress :) [04:11] that's a thing [04:11] it sounds like the whole input handling system may need to be rethought [04:13] like instead of delaying until it has input, it should just return immediately while waiting for input, and then continue where it left off when the user does press a key [04:14] but that's easier said that done....and it's not even particularly easy to say, even :D [04:14] than* [04:15] The current vice.js sort of punts on the menu. Opening the menu kills it [04:16] I can't get anything except the menu to show up currently [04:16] yeah [04:17] non-menu input might be handled asynchronously already [04:34] I can't understand this patch file [04:34] https://github.com/rjanicek/vice.js/blob/master/vice/0001-Vice-2.4-Emscripten-changes.patch#L531 [04:41] https://i.imgur.com/0suOkfe.png BASIC flicked on for a second before everything died! [04:45] https://i.imgur.com/O587nxT.png !!! [04:45] (modifier keys like shift not working) [04:46] Difference between these seems to be I used the data files from Vice 3.2 SVN instead of the ones that came with vice.js [04:46] Hmm, it eventually hit a sound overflow [04:47] The thing that got this far was using the patch's main modifications instead of my own. My guess as to the big substantiate difference would be there's a while loop in the patch for some reason I don't totally understand [05:05] that's awesome [05:06] that while loop in the watch loops over the emulation until it produces a new video frame [05:07] s/watch/patch/ :P [05:07] time to sleep if I'm making that kind of typo [05:09] Sgeo_: Lovely [05:09] A great breakthrough [05:09] I think I erased the patch's changes to configure when trying to get the OpenGL to stop being a thing. I can try readding those tomorrow [05:09] Thanks [05:28] https://gist.github.com/Sgeo/6ba0f642fda09fc8627223f8461af6d1 is a sort of snapshot where I am so far. Certainly incompletely, doesn't contain descriptions of the build process etc, and is as broken as shown in the screenshot. Just want it in the cloud in case my computer were to unexpectedly die tomorrow [07:49] *** azakai has quit IRC (ny.us.hub west.us.hub) [07:49] *** db48x has quit IRC (ny.us.hub west.us.hub) [08:20] *** godane has quit IRC (Read error: Connection reset by peer) [12:06] *** godane has joined #jsmess [12:06] *** azakai has joined #jsmess [12:06] *** db48x has joined #jsmess [15:15] *** mx has left [15:34] I'm in transit today but will check in if you need anything [19:18] *** Sgeo has joined #jsmess [19:23] *** Sgeo_ has quit IRC (Read error: Operation timed out) [20:01] *** Sgeo_ has joined #jsmess [20:02] *** Sgeo has quit IRC (Read error: Operation timed out) [20:08] *** Sgeo__ has joined #jsmess [20:11] *** Sgeo_ has quit IRC (Read error: Operation timed out) [22:03] *** Sgeo__ has quit IRC (Read error: Operation timed out) [23:23] hi from the air [23:38] *** Sgeo has joined #jsmess [23:39] Yeah, I need my Internet connection to stop dying q.q