#jsmess 2017-11-17,Fri

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

WhoWhatWhen
***john__ has joined #jsmess
john__ is now known as JohnTalen
[01:29]
JohnTalenThe last of the errors: [vice in emscripten] https://pastebin.com/WAd8YN7L [01:30]
db48xJohnTalen: sweet [01:31]
JohnTalenThe status hasn't changed since aug9th. I've just been really sick since then. [01:31]
db48xthat sucks [01:32]
JohnTalenyeah. I've been trying Yoga and Meditation combined with essential oils. It helps. Things are definitely changing. been better lately.
I have found you can't do meditation without Yoga or you will get very nervous. suprisingly! too much Ying energy.
[01:32]
db48xhmm [01:34]
JohnTalenIt's nice to have emscripten spit out more than one error at a time though! [01:40]
db48x:) [01:40]
...... (idle for 29mn)
JohnTalenI've noticed this particular job. Nothing is as ever as it appears.
not the first, second or 15th time around.
[02:09]
..... (idle for 20mn)
or the 100th. [02:29]
okay, so an hour later and I can't get rid of unresolved symbol. SDL_WaitEvent. I'm #include "SDL.h" and if I uncomment SDL_WaitEvent the error goes away so I THINK I know my target. I'm at a loss.
on a lighter note I'm generating a x64.js. :)
-rw-r--r-- 1 john users 4134928 Nov 16 21:35 x64.js
[02:34]
DFJustinare you doing -lSDL at link time [02:41]
JohnTalenyes
-lwatt -linet -lnet -lbsd -lsocket -lnsl -lintl -lbsd -lm -lGL -lSDLmain -lSDL
I'm rereading through the documentation and make files more closely.
it's getting the SDL lib too. Otherwise I would have gotten 'cannot find library'.
[02:46]
.... (idle for 15mn)
starting from ground one.
wow, shoulda kept notes. i have an incompatible ar.
nevermind. saved a great script file.
[03:02]
tried it from scratch. same exact errors.
hm, they are warnings! gonna try it in the browser.
just think I had it all these months and it was just warnings.
still doesn't work but I might be missing something.
anyone else want this?
I get no errors in the browser. no results either.
I suppose I'll get github what I have.
s/get/just
2 hours
[03:15]
what does it mean dearest browser warriors when </script> s are greyed out? [03:36]
since a non protected efnet ip is food for wolves I will call it a night. I will try it from windows tomorrow (i've been using linux/firefox) [03:44]
***JohnTalen has quit IRC (Quit: leaving) [03:44]
......... (idle for 43mn)
db48x"I'm using DosBox to run Dbase IV - created a new database in there, and it shows up when I restart DosBox - is persistent. However, I have no idea how to locate the .dbf file for import to Excel after closing DosBox. Any ideas how I can pull this out of the virtual machine environment?" [04:27]
baiwe'd need to offer up some browserf-based inspector for inspecting the stored files
browserfs*
certainly doable
[04:30]
....... (idle for 33mn)
db48xyea, it's one of the things we planned on doing, if we ever got the time and/or money [05:03]
.... (idle for 17mn)
SketchCowHuzzah [05:20]
..... (idle for 23mn)
bai: https://ia801501.us.archive.org/BookReader/BookReaderImages.php?zip=/19/items/20thcenturytimemachineimages/20thcenturytimemachineimages_jp2.zip&file=20thcenturytimemachineimages_jp2/20thcenturytimemachineimages_0063.jp2&scale=4&rotate=0 [05:43]
baioh cool, didn't see the photographer this year but I must have just been too busy to see him [05:51]
...... (idle for 25mn)
SketchCowYeah, I was doing a metadata search, and one of the texts in the photo set triggered the OCR match! [06:16]
..................................... (idle for 3h2mn)
***bwn has quit IRC (Read error: Operation timed out) [09:18]
bwn has joined #jsmess [09:25]
......................................... (idle for 3h20mn)
db48x has quit IRC (Read error: Connection reset by peer)
db48x has joined #jsmess
[12:45]
..................................... (idle for 3h3mn)
JohnTalen has joined #jsmess [15:48]
JohnTalenOkay so vice.js is a mess. I'll put it on github. But I got it to a point where the .js file is created. However it simply does not run and there are no errors.
However, I'm looking at another c64 emulator WITHOUT 1541 but with prg load support.Then, I may be able to use the 1541 from another emulator transplanted inside it.
[15:50]
***SketchCow has quit IRC (Remote host closed the connection) [15:58]
db48xJohnTalen: which github repository? [16:07]
JohnTalendb48x: I have yet to put it up. the creation scripts are most valuable aspect of this.
i think I'm going to start fresh. either some odd c64 emulator or the latest version of vice.
i'm not sure why the demo doesn't run. it like a stall without errors.
does anyone want my tar.gz?
[16:19]
db48xone trick is to open the debugger and set it to stop on all exceptions, even if they're caught [16:22]
JohnTalenok
i'll try.
[16:23]
well, i have an error loading failed for script file. pretty generic.
ha.
because i renamed it to .txt this morning so i can test under windows. smh!
[16:29]
db48x:) [16:31]
JohnTalenSuccessfully compiled asm.js code (loaded from cache in 363ms)
The character encoding of the HTML document was not declared.
uncaught exception: could not load memory initializer x64.js.mem
That last one i don't get.
[16:31]
db48xah
the compiler should have produced a .mem file
which it needs to load
[16:31]
JohnTalenoh okay. i believe i have it. [16:32]
db48xit contains all of the static initializers [16:32]
JohnTalenstill getting the error despite putting the .mem in the same dir as the .js. [16:35]
db48xdo you see a network request for it? [16:35]
JohnTalennetwork panel has nothing in it if that is what you mean. [16:36]
db48xreload the page while the network panel is open
(by default it doesn't record anything until you look at it, so that it's not always slowing everything down)
[16:37]
JohnTalenah here we go.
I put the html file in the same dir as the hardcoded directory where js/mem is.
this is something I can chew on.
missing function: file_system_get_vdrive
[16:39]
db48xthat sounds correct
does it get a 404 error or something when it requests the mem file?
[16:40]
JohnTalenno [16:42]
db48xodd [16:43]
JohnTalenhttps://pastebin.com/X4ktT26V
i take it this a a code issue and not a configuration issue?
[16:43]
db48xthat's progress of a sort :) [16:46]
JohnTalenyes indeed! [16:46]
db48xyes, you can see that it called your compiled main() (the callMain in the stack trace), and then couldn't find any functions named file_system_get_vdrive [16:46]
JohnTalenyes.
great.
okay. found it commented out with my initials!
[16:47]
db48xpresumably the linker thought that it would be supplied by a library
aha!
[16:48]
JohnTaleni expect more of these.
You see this project has lot's of duplicate functions.
[16:49]
db48xthat's fun [16:51]
JohnTalenalways! :) [16:51]
.... (idle for 17mn)
what sucks is I'll have to redo all this but with the latest version of vice.
should go by quite a bit quicker though.
[17:08]
db48xyea, it's almost always that way with a port [17:10]
JohnTalenyay, onto the next function. [17:10]
db48xthey keep working on it while you're porting it! [17:10]
JohnTaleni see you guys got windows 95 to work.
I gave that a shot with an emu I was working on. But it was severly broke.
[17:10]
db48x:)
I think he said it was still stuck in 16-bit color mode
although that's an improvement from what we had the last time
[17:11]
JohnTalenthats the thing with windows 95, the video drivers specific to that card were always necessary to avoid hang ups.
so it's a one for one to the emu i'd imagine to this day.
I have to say vice is the best of most c64 emulators i've seen. luckily this .js shell project exists.
i grew up on c64. hands down the best gaming maching.
machine
c1541.c is a 2 char file lol!! smh!
[17:13]
db48xhah [17:17]
JohnTalenhaha! holy shit.
there was a .kab file. I stopped drinking years ago. I swear!
[17:17]
db48xdid it draw something in the canvas?
heh
[17:17]
JohnTalennope still going through missing functions. [17:18]
..... (idle for 24mn)
it's going to be a long day.
it would be nice is the unresolved symbol would give you at least a module name. at least!
s/is/if
[17:42]
attempt to catch it on a full compile
no such luck.
now I'll just tighten the search from the link.
[17:53]
is there a way to get more information than just this: "warning: unresolved symbol: network_connected"
?
it jumps to the debugger. but it doesn't highlight or get anything more specific than the entire js module. smart.
_network_connected@file:///home/john/emularity/x64.js:1:1521324
[18:03]
DFJustinthe browser debugger is useless unless you compile with -g [18:06]
JohnTalenthats about as detailed as it gets.
ah ok!
good to know.
thanks DFJustin!
DFJustin: each module, or just the emcc linkage?
[18:06]
db48xC doesn't have module names
JohnTalen: you probably want to add the -g to CFLAGS when you run configure
so emconfigure ./configure CFLAGS="-g"
[18:09]
DFJustin^ [18:13]
JohnTaleni think i have a hacker on my system.
need to reboot.
thanks db48x.
:q
[18:14]
***JohnTalen has quit IRC (Quit: leaving) [18:14]
baio_O [18:14]
....... (idle for 34mn)
***SketchCow has joined #jsmess [18:48]
SketchCowWell, that was refreshing
Did I miss anything
[18:49]
db48xSketchCow: some progress on vice [18:50]
.......... (idle for 47mn)
***JohnTalen has joined #jsmess [19:37]
JohnTalenso the -g helped a bit!
I get: function _network_connected() {
Module['printErr']('missing function: network_connected'); abort(-1);
I suppose I have to trace up to the nearest module.
ah found it.
machine_trigger_reset! beaut!
hm, it appears to have network.h.
i'll have to look at the makefile.
[19:37]
makefile appears okay. it contains network.h.
aparently the order is not preserved in ths js. not suprising.
[19:44]
db48xthe order of definitions generally doesn't matter in js [19:51]
.... (idle for 18mn)
SketchCowAs you can see I'm thumping the podium
for #TedNelsonMail
[20:09]
........ (idle for 37mn)
DFJustinmissing function is going to be an issue with the link stage, not the includes
if it wasn't included it wouldn't even compile
[20:46]
.... (idle for 17mn)
JohnTalenDFJustin: yes, there may be in issue with the Makefiles. i'm still reconfiguring and looking at it. [21:03]
db48xDFJustin: I've seem emscripten just emit a warning at link time [21:03]
JohnTalendb48x: yes. and more than one of them which is a god send. [21:04]
DFJustinI mean if it wasn't #included it wouldn't compile
emscripten is very loosey goosey about linking
[21:13]
JohnTalenDFJustin: ok. thank you.
there are duplicate functions. some shells, some differences.
managing them isn't typical terra firma.
[21:27]
or it is terra firma, but by a glutton for punishment. :D
it's interesting that emscripten generates shell function in the js when it can't find the function.
[21:34]
................ (idle for 1h19mn)
so you see, the emtpy shell functions that emcc generates create a placeholder that prevents errors in the compile.
at least, that is how I see it.
[22:54]
I think there is a fault with one of the makefile. I shall see.
s
[23:01]
db48xsounds like a tricky problem [23:02]
JohnTaleni think , oddly enough $(x64_SOURCES) is missing from the x64 dependencies list. flat out not there. i'll have to do some surgery. [23:04]
db48xheh [23:05]
JohnTalenit's tricky because I didn't write it. :) [23:08]
.... (idle for 19mn)
ah closer. It looks like network_connected include wasn't set so it just spit out shells. [23:27]
.... (idle for 19mn)
lmfao.
enabling thrices the number of unresolved symbols. :/ :D
finally starting to get cozy with this environment.
yay!
getting further.
time to get down and dirty with my own mf ifdefs.
word.
;p~
[23:46]
does anyone know if Module.canvas.exitPointerLock is depcrated? [23:59]

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