#jsmess 2017-11-23,Thu

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***JohnTalen has joined #jsmess [01:30]
....... (idle for 33mn)
JohnTalenyay, another warning resolved. [02:03]
woohoo! very close! "C64MEM: Error - Couldn't load kernal ROM `kernal'." [02:11]
DFJustinnice [02:24]
JohnTalenquite possible I have to embed image files. i'll have to do some reading. [02:35]
baior set up the BrowserFS environment with the files in the right pplace [02:36]
JohnTalenbai: I can't understand how vice.js did without a vfs. it shouldbe in the tiny patch files. i'll look there first.
what do you make of this?:
abort('need to build with DLOPEN_SUPPORT=1 to get dlopen support in asm.js'
it seems the patch comments that line out.
[02:37]
shit. a file that has at least 5160 lines in it (library.js) isn't here.
hm. this is not going to be a port, but a small rewrite+port.
[02:46]
baihmm, sounds like it's trying to build with dynamic linking support
you should be doing static builds if possible
[02:48]
JohnTalenhoe up how up.
that line is commented OUT.
replaced with a // instead.
Have you people heard of LibraryManager.library?
i'm going to load the kernal into the cur dir. then going to log to webconsole. should be reversed but I'm eager to see this work. :)
okay , now I'll add the debug message.
hm, now I'm getting 343:7 for every x64.js line in webconsole.
there are some serious artifacts missing from this project. I'm getting the feeling I need to embed-file as a virtual operating. while not terribly difficult it's tempermental. i've used it once before.
[02:48]
:q [03:02]
the makefile for vice.js doesn't have one iota on simulating a directory.
opps. it does.
nvermind.
it has --embed-file. let's see.
[03:07]
i think this is a matter of configuration. [03:13]
gettin' the feeling it's differences in emscripten. working. [03:26]
can you use --embed-file to host directories or is it just --preload-file?
okay i added --preload-file for the c64 rom files. I got farther. woo.
[03:31]
i understand that --embed-file and --preload-file are the same, preload is used when generating html. [03:44]
........ (idle for 39mn)
anyone here? [04:23]
DFJustinsure [04:28]
JohnTalenhey DFJustin.
is it okay to --embed-file
?
anything look wrong with this?
https://pastebin.com/bdSZ919f
bin is a dir with the rom files.
[04:29]
DFJustinmame uses --embed-file [04:32]
JohnTalenhm, maybe I'm missing something. [04:33]
DFJustinwhere does vice expect to see the rom files [04:34]
JohnTalen"
Embedding files is much less efficient than preloading them. You should only use it for small files, in small numbers. Instead use --preload-file, which emits efficient binary data."
hm, good question.
[04:34]
DFJustinpreload is more efficient but you have to wrangle a second file instead of having it all in one .js [04:35]
JohnTaleni'm pretty sure in C64 off the current dir [04:35]
DFJustinfor the size of the c64 romset it shouldn't be a big deal
you can do a thing --embed-file bin@C64
I should say that mame uses --embed-file for things like shader definition files but the actual roms are loaded by emularity into browserfs
[04:35]
JohnTalenokay, so the kernal works in normal vice. but not in vice.js.
hm. i imagine --embed-file gets everything in that entire dir tree, correct?
[04:40]
DFJustinyes [04:43]
JohnTaleni tried bin@C64
i get this:
https://pastebin.com/R2mL1bx2
the .mem file matches the entire C64 tree perfectly.
so it's in there.
[04:44]
DFJustinC64MEM: Error - Couldn't load kernal ROM `kernal'. [04:48]
JohnTalenperhaps i should look at the warnings first.
cmdline.c:56: Warning: Pointer passed to lib_debug_libc_free is NULL.
[04:53]
DFJustinI dunno if that's going to be relevant [04:56]
JohnTalenso it should be getting to this command: while (getcwd(p, len) == NULL) {
DFJustin: doesn't look relevant.
i'll figure it out. it'l prolly take a day or less.
faster if I output debug statements! :)
looking at the code, it looks like it's just bypassing the current directory set.
[04:58]
well thats a day.
thanks DFJustin . catchya l8r.
[05:11]
.... (idle for 17mn)
well, it gets the filename kernal. just no path to it. getting much closer. i'll fix this in a hour or less.
l8r.
[05:28]
***JohnTalen has quit IRC (leaving) [05:29]
............................................. (idle for 3h41mn)
LordNigh2 has joined #jsmess
Lord_Nigh has quit IRC (Ping timeout: 250 seconds)
LordNigh2 is now known as Lord_Nigh
[09:10]
........................................... (idle for 3h32mn)
Lord_Nigh has quit IRC (Ping timeout: 248 seconds) [12:43]
Lord_Nigh has joined #jsmess [12:51]
.............................................. (idle for 3h48mn)
azakai has quit IRC (Quit: Ex-Chat)
azakai has joined #jsmess
[16:39]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)