#jsmess 2017-06-07,Wed

↑back Search

Time Nickname Message
01:06 πŸ”— JohnTalen the latest Silicon Valley is hysterics. Favorite is the Ed Chambers character.
01:30 πŸ”— JohnTalen has quit IRC (Quit: leaving)
04:18 πŸ”— DFJustin has quit IRC (Ping timeout: 260 seconds)
04:20 πŸ”— DFJustin has joined #jsmess
08:05 πŸ”— db48x has quit IRC (Ping timeout: 259 seconds)
08:33 πŸ”— davidar running the windows98 image with a local copy of v86 works for me...
08:43 πŸ”— davidar what does adding a new emulator to emularity actually involve, out of interest?
09:00 πŸ”— bai that's the part we generally have to figure out :D
09:01 πŸ”— bai if it's emscripten-based it's just a matter of initializing a different module, otherwise it involves writing some code to bridge our filesystem and input handling code with the way that specific emulator works
12:00 πŸ”— SketchCow Hi.
12:00 πŸ”— SketchCow Jumping between things.
12:10 πŸ”— SketchCow I think John is coming to the realization that there's a specific reason the JSMESS/Emularity team is less than 10 people
12:51 πŸ”— JohnTalen has joined #jsmess
13:54 πŸ”— JohnTalen Hey guys.
13:55 πŸ”— JohnTalen Vito`: How would I go about formatting a parted fat16 parition in a mount loop?
13:56 πŸ”— JohnTalen https://pastebin.com/jZyaCejN
13:57 πŸ”— JohnTalen nevermind. i think fdisk might do it. :)
13:59 πŸ”— JohnTalen hm
13:59 πŸ”— JohnTalen maybe not.
14:00 πŸ”— JohnTalen got it mkdosfs
14:44 πŸ”— JohnTalen It's not biting. No errors, v86 just refuses to do any I/O or processing whatever.
14:45 πŸ”— JohnTalen However, I can access the CD ROM drive and the Windows setup.exe utilitiy no problem if I don't specify a hard drive.
14:45 πŸ”— SketchCow Hey, John.
14:46 πŸ”— SketchCow So, I have to go out to my container in 10 minutes and help build a pile of 20 computer monitors to hand to an arriving truck later today
14:46 πŸ”— SketchCow But, regarding the situation, at the top end of all this/the high level
14:47 πŸ”— SketchCow I'm open to hearing there are other emulators to add to emularity, but the goal is more options, more platforms
14:47 πŸ”— SketchCow But none of them, NONE, have ever not been difficult to add.
14:47 πŸ”— SketchCow Amiga/SAE took weeks, including some very intense days
14:48 πŸ”— SketchCow Mac took same.
14:48 πŸ”— SketchCow Now, here's a tought.
14:48 πŸ”— SketchCow Thought
14:48 πŸ”— SketchCow http://www.hampa.ch/pce/pce-atarist.html
14:48 πŸ”— SketchCow We got pce working for mac
14:48 πŸ”— SketchCow I bet we could get it working for ST.
14:50 πŸ”— JohnTalen Well, for now we can stick with v86. There are just some quicks I have to be familiar with in order to get it into an actual working state. I'm in contact with the author so things should go smoothyl.
14:53 πŸ”— SketchCow Taking pce-atarist in would really be easier for an initial ramp-up
14:53 πŸ”— JohnTalen vice.js is another matter. Emulating the 64 should be looked at from an integration standpoint because x64.js int he vice.js project is complete magic. So many magic numbers, github thinks it's raw data. And that particular file is completely different then the vice project itself, which subsequently gets patched by vice.js.
14:54 πŸ”— JohnTalen s/int he/in the
14:55 πŸ”— JohnTalen so vice.js generally has me in a confused state. and the only thing that needs to be done in v86 is to get the hard drive working. then i get freeze images and continue merrily.
14:55 πŸ”— JohnTalen s/get/can
14:56 πŸ”— JohnTalen SketchCow: so pce-atarist, vice, x86 is the priority in that order?
14:59 πŸ”— JohnTalen hm, pce-atarist is windows only.
15:00 πŸ”— JohnTalen wait.
15:00 πŸ”— JohnTalen compiling it pce-atarist now.
15:02 πŸ”— JohnTalen okay pceatarist is now compiled. just got to get some atari roms for it.
15:02 πŸ”— JohnTalen (downloading)
15:04 πŸ”— mikedg has joined #jsmess
15:25 πŸ”— JohnTalen Where are the PCE-Loader images for the mac? I'd like to use that as a base of operations.
15:27 πŸ”— JohnTalen pce-mac-classic.rom etc etc
15:27 πŸ”— DFJustin I think the pce website has all that stuff
15:27 πŸ”— DFJustin ?
15:28 πŸ”— JohnTalen oh hm. ok.
15:29 πŸ”— JohnTalen whata bout the HD image, the PRAM?
15:49 πŸ”— Vito` JohnTalen: if you were able to recompile Vice under emscripten, what do you need vice.js for?
16:10 πŸ”— JohnTalen thats not what happened. I compiled vice 3.1 SDL1 and SDL 2, and also vice 2.4 to see if I could integrate the vice.js into it. But that x64.js in vice.js appears to be generated by an undocumnetated magical source. I did no emscripten as of yet to any other projects other than one a game app i was writing last year.
16:10 πŸ”— JohnTalen Vito`: ^
16:27 πŸ”— JohnTalen nevermind people. I found the mac images I was looking for. I just wgetted them off of a zip from some randoms guys site.
16:28 πŸ”— JohnTalen oh well, no hard drive image though. That puts a damper on things.
16:29 πŸ”— JohnTalen is it possible to make these files accessible by other members of the team?
16:33 πŸ”— JohnTalen i'll just run the emu without a hd.
16:37 πŸ”— db48x has joined #jsmess
16:57 πŸ”— JohnTalen fixed a few bugs, like the nonexistent pce directory. getting FS.mkdir is not a function even though browserfs.min.js is in the current dir. btw, what is browserfs.min.js.map ?
16:57 πŸ”— JohnTalen so i have all the mac images except the mysterious hd image installed. just pukes up on the FS.mkdir.
16:58 πŸ”— JohnTalen is the hd image needed for example_macplus.html to work?
16:58 πŸ”— db48x the map file is a sourcemap
16:58 πŸ”— db48x the browser's debugger will use it to show you the unminified source code
16:58 πŸ”— JohnTalen oh interesting.
16:59 πŸ”— db48x example_macplus.html has the hd1.img commented out
16:59 πŸ”— db48x can you show me the stack trace for the error?
17:00 πŸ”— JohnTalen i see Oe.prototype.mkdir=function(t,e,n) in the minified browserfs.min.js file.
17:00 πŸ”— JohnTalen db48x: sure.
17:00 πŸ”— JohnTalen db48x: yes. i uncommended out hd in my local copy of the project.
17:00 πŸ”— JohnTalen that is uncomment.
17:01 πŸ”— db48x pce should find it and mount it if it's been downloaded, otherwise it won't
17:01 πŸ”— JohnTalen db48x: 13:01 < JohnTalen> that is un
17:01 πŸ”— JohnTalen shit sorry.
17:01 πŸ”— JohnTalen ha
17:02 πŸ”— JohnTalen https://pastebin.com/Mg1CMbWn
17:02 πŸ”— JohnTalen db48x: i manually remapped someone elses rom files into the pce dir since it wasn't readily availble in the project.
17:03 πŸ”— db48x ah, the error is coming from the emulator
17:03 πŸ”— db48x hmm
17:05 πŸ”— JohnTalen db48x: could it be the wrong rom images?
17:05 πŸ”— JohnTalen im pretty sure i mapped them over correctly by names.
17:06 πŸ”— JohnTalen i had to manually create and then subsequently file cp the contents of the pce , which after downloading the emularity project didn't exist.
17:06 πŸ”— JohnTalen s/cp/copy
17:07 πŸ”— db48x yes
17:07 πŸ”— db48x that sounds fine
17:07 πŸ”— db48x the rom images _could_ be wrong, but this error wouldn't be caused by that
17:08 πŸ”— JohnTalen ok.
17:08 πŸ”— JohnTalen of course asm.js doens't compile if i have the debugger window open. but it does pass when closed (which is what I sent you).
17:09 πŸ”— db48x that's fine
17:09 πŸ”— db48x if you have the debugger open it just compiles it in normal mode, rather than asm mode
17:09 πŸ”— db48x it'll run the same but slower
17:10 πŸ”— JohnTalen okay. let me check the .cfg file. i didn't mod it.
17:11 πŸ”— JohnTalen thats gotta be the problem. please hang.
17:12 πŸ”— db48x I am doubtful
17:13 πŸ”— mikedg has quit IRC (Quit: Connection closed for inactivity)
17:13 πŸ”— JohnTalen terminal{driver="sdl" ?
17:16 πŸ”— JohnTalen nope that didn't do it. but it was prolly necessary.
17:18 πŸ”— db48x very :)
17:20 πŸ”— JohnTalen db48x: how about windows specifics path slashes? ( i am using linux )
17:20 πŸ”— db48x no, the files are downloaded over HTTP, and PCE and the filesystem are both pretending to be using Linux anyway
17:20 πŸ”— JohnTalen ok
17:21 πŸ”— JohnTalen i mean. if you have the mac images I'll gladly accept them. I got mine by wgetting http://jamesfriend.com.au/pce-js/mobile/ . HA!!
17:23 πŸ”— db48x I think we downloaded them from there as well
17:23 πŸ”— JohnTalen lmfao. ok.
17:24 πŸ”— db48x Β db48x  …  emularityΒ ξ‚±Β examplesΒ ξ‚±Β pceΒ ξ‚°Β sha3sum *rom
17:24 πŸ”— db48x 0b11706c75cecddf12948af8b466bff88e3f740f08fdcd23f0c41865 mac-128k.rom
17:24 πŸ”— db48x 1dadd21076891eecf8419eeef72b3b725279c6edc26dbf7b16cf9b5f macplus-pcex.rom
17:24 πŸ”— db48x 511da6cb64024e93c0cdc6afa984894e73bc89513b16db6215debfe0 mac-plus.rom
17:24 πŸ”— db48x d14c495cf88684ada3df0a5aaf5f6f8a53d6066ef86927a5aab8b5d6 pce-mac-classic.rom
17:25 πŸ”— db48x 1dadd21076891eecf8419eeef72b3b725279c6edc26dbf7b16cf9b5f pce-macplus-pcex.rom
17:25 πŸ”— JohnTalen well it doesn't appear to be download browserfs.
17:25 πŸ”— JohnTalen hm, i get 'TypeError: asm.js type error: Disabled by debugger' if I watch via the debugger. but it's prolly not that.
17:26 πŸ”— db48x yea, that's normal
17:27 πŸ”— JohnTalen looking for sha.
17:32 πŸ”— JohnTalen I don't even have mac-plus.rom ( i do have pce-macplus-pcex and it matches sha ). but all the other shas match.
17:33 πŸ”— JohnTalen mac-plus.rom doesn't appear to be used int he *example*html
17:34 πŸ”— db48x yea
17:35 πŸ”— JohnTalen ah. how about a sha on the js files?
17:35 πŸ”— JohnTalen https://pastebin.com/rx5dNgUh
17:36 πŸ”— db48x https://oasis.sandstorm.io/shared/z_GPQaCBmQJeeiuYwAjug5XbP2bgBmW7i8Y1c9uKf5t
17:37 πŸ”— db48x I have a different selection of disk images than you, but that won't matter
17:37 πŸ”— JohnTalen https://pastebin.com/iCfwJng8
17:39 πŸ”— JohnTalen same FS.mkdir error.
17:39 πŸ”— JohnTalen line 1133 of loader.js.
17:40 πŸ”— JohnTalen maybe I should get loader.js from you.
17:40 πŸ”— JohnTalen (used your browser.*)
17:40 πŸ”— db48x hrm
17:41 πŸ”— db48x if you have loader.js from git then you do have the same version as me :P
17:41 πŸ”— JohnTalen hm.
17:41 πŸ”— JohnTalen it errors on ' // Mount the file system into Emscripten.
17:41 πŸ”— JohnTalen FS.mkdir('emulator');
17:41 πŸ”— JohnTalen ^^
17:42 πŸ”— JohnTalen okay db48x.
17:42 πŸ”— db48x oooh
17:42 πŸ”— JohnTalen shit sorry.
17:42 πŸ”— JohnTalen no!
17:42 πŸ”— db48x I did have local modifications
17:42 πŸ”— JohnTalen i hand typed that.
17:42 πŸ”— JohnTalen FS.mkdir('/emulator');
17:42 πŸ”— db48x so I was looking at line 1133 and scratching my head :)
17:42 πŸ”— JohnTalen that is what it errors on.
17:43 πŸ”— db48x ok, I think I know what's going on
17:43 πŸ”— JohnTalen ok
17:44 πŸ”— db48x I just uploaded my pce-macplus.js to that filedrop instance
17:47 πŸ”— JohnTalen yes!
17:47 πŸ”— JohnTalen got much farther!
17:47 πŸ”— JohnTalen https://pastebin.com/6nvUJYDe
17:48 πŸ”— JohnTalen i have a small black frame in the middle of the browser window.
17:48 πŸ”— JohnTalen looks like it doesn't like the rom.
17:53 πŸ”— JohnTalen file attributes of pce-mac-classic.rom are fine.
17:56 πŸ”— db48x yea, that's a problem
17:58 πŸ”— JohnTalen https://pastebin.com/MZTnqCEN
17:58 πŸ”— JohnTalen path in the cfg file may be an issue?
18:00 πŸ”— db48x oh, you're using the default cfg file, rather than the one we use on IA
18:01 πŸ”— JohnTalen ok
18:01 πŸ”— JohnTalen i'm actually using the one from james website.
18:01 πŸ”— db48x http://archive.org/download/emularity_config_v1/pce-macclassic.cfg
18:02 πŸ”— db48x also, the roms are in https://archive.org/download/emularity_bios_v1/ if you want to get the one you're missing
18:04 πŸ”— JohnTalen i get sound in the begining.
18:05 πŸ”— JohnTalen okay great. thank you.
18:05 πŸ”— JohnTalen https://pastebin.com/ek75s9Na
18:13 πŸ”— db48x awesome
18:13 πŸ”— JohnTalen yes.
18:13 πŸ”— JohnTalen with your roms it's booting.
18:14 πŸ”— JohnTalen i get mouse/sound.
18:14 πŸ”— JohnTalen floppy disk in middle of screen with blinking ?
18:14 πŸ”— db48x ah, it couldn't read your disk image
18:14 πŸ”— JohnTalen i thought this was interesting RAM: addr=0x00000000 size=4194304 file=<none>
18:14 πŸ”— JohnTalen okay.
18:15 πŸ”— JohnTalen i'm not even sure if I have a disk in.
18:15 πŸ”— JohnTalen but this is great so far.
18:16 πŸ”— JohnTalen a little rom goes a long way. :)
18:17 πŸ”— db48x you can double-check what got downloaded by running FS.readdir('/emulator')
18:17 πŸ”— db48x in the console
18:20 πŸ”— JohnTalen my console has gone knackers. ignoring all input.
18:21 πŸ”— JohnTalen ah ok.
18:21 πŸ”— JohnTalen my window was locked due to performance issues.
18:22 πŸ”— JohnTalen what's the secret to get an hd or fd up and running?
18:23 πŸ”— JohnTalen i'll attempt fd1.image.
18:25 πŸ”— db48x you can grab working images from IA items, like https://archive.org/details/mac_DarkCastle_1_2
18:25 πŸ”— JohnTalen nope. no such luck.
18:25 πŸ”— JohnTalen i did a replace of the hd with the fd.
18:25 πŸ”— JohnTalen failed.
18:29 πŸ”— JohnTalen since I don't have an example what does it look like in js?
18:30 πŸ”— JohnTalen i tried doing a straight replace on example_macplus.html to no avail.
18:30 πŸ”— db48x did you grab DarkCastle_1_2.dsk from IA?
18:30 πŸ”— JohnTalen yes.
18:31 πŸ”— JohnTalen ")),
18:31 πŸ”— JohnTalen PCELoader.mountFile("DarkCastle_1_2.dsk",
18:31 πŸ”— JohnTalen PCELoader.fetchFile("Floppy Drive Image",
18:31 πŸ”— JohnTalen "examples/pce/DarkCastle_1_2.dsk")),
18:31 πŸ”— db48x ah
18:31 πŸ”— db48x PCELoader.mountFile("fd1.dsk",
18:31 πŸ”— db48x PCELoader.fetchFile("Floppy Drive Image",
18:31 πŸ”— db48x "examples/pce/DarkCastle_1_2.dsk")),
18:32 πŸ”— db48x note that the config file looks for fd1.dsk (and a bunch of other fd1.whatever names), not "DarkCastle_1_2.dsk"
18:32 πŸ”— JohnTalen works!
18:32 πŸ”— db48x awesome
18:32 πŸ”— JohnTalen sound graphics mouse. beaut!
18:33 πŸ”— JohnTalen oh, that's an interesting logic. hehe.
18:36 πŸ”— JohnTalen ok great. thanks db48x. I'll take it from here.
18:37 πŸ”— db48x James' port of PCE adds a socket we could open and write commands to, to make it load disks under user control
18:37 πŸ”— JohnTalen ok
18:37 πŸ”— db48x if I had the time I would add support for that to the emularity
18:38 πŸ”— JohnTalen should i prioritize that over the atarist port?
18:39 πŸ”— JohnTalen i mean i could always do it after.
18:40 πŸ”— db48x no
18:41 πŸ”— db48x it'd be nice to have, but it's not critical
18:41 πŸ”— JohnTalen ok noted.
18:42 πŸ”— JohnTalen I'll get to it after the atarist port.
18:47 πŸ”— JohnTalen db48x: thanks for the help. if you need anything else just let me know.
18:49 πŸ”— SketchCow What just happened. :)
18:49 πŸ”— SketchCow PS I got rid of a crapload of stuff out of the shipping container
18:53 πŸ”— JohnTalen I needed some ROMS, a .cfg file and an update to an active js file different than on the site. oh and the logic naming to loading floppy .dsks in the emu.
18:53 πŸ”— JohnTalen SketchCow: ^
18:53 πŸ”— SketchCow Right, but what are you doing? Are you trying to get pce-macplus working as a proof of concept?
18:53 πŸ”— JohnTalen SketchCow: With help from db48x I am now emuing mac locally here in my browsing. Analyzing the source now to prep for hte atarst port.
18:53 πŸ”— SketchCow Understood
18:54 πŸ”— SketchCow Great
18:54 πŸ”— JohnTalen SketchCow: yes, as a precursor to the atarist port.
18:54 πŸ”— JohnTalen hopefully the ROMS I go hunting for will work.
18:54 πŸ”— SketchCow I was saying, you are about to find out why the number of volunteer devs on this project are less than 10 total in 6 years. :)
18:54 πŸ”— SketchCow If you need ROMs, any ROMs, I will get them for you
18:54 πŸ”— SketchCow Just ask
18:54 πŸ”— JohnTalen okay, i will pm.
18:55 πŸ”— SketchCow Although frankly http://www.avtandil.narod.ru/tose.html seems good
18:55 πŸ”— SketchCow No need to pm, I have no shame
18:55 πŸ”— JohnTalen haha
18:55 πŸ”— JohnTalen ok.
18:55 πŸ”— JohnTalen the roms on jamesfriends site weren't compatible. which is odd because the SHAs were exact.
18:57 πŸ”— JohnTalen okay those look good for now SketchCow. I could also use a W*98 cd bootable for v86. hopefully with any keys.
18:57 πŸ”— JohnTalen SketchCow: are you emuing atari800?
19:09 πŸ”— JohnTalen status on v86 is close to complete emulation of windows 95. I just need to make a writable/fat16 formatted hard drive so I can install Windows 95. Then I can make images so the user doens't have to for in browser delight.
19:09 πŸ”— JohnTalen i made one but am querying the author as to the ideal setup. close. very close.
19:15 πŸ”— JohnTalen as far as a hd. i used dd, losetup, parted and mkdosfs with in effective results.
19:18 πŸ”— db48x JohnTalen: you're welcome
19:25 πŸ”— JohnTalen db48x: turns out pce-mac-classic-pram.rom were in effect different.
19:25 πŸ”— JohnTalen nonworking: 7193c20b15302f30e7360f22f0d42f0b3c4e69c547af1910af6390fc pce-mac-classic-pram.dat
19:26 πŸ”— JohnTalen working: 52c6de6ba88746896671bbc2e5c0fee300a4bac32fd618aa28d6d8af pce-macplus-pram.dat
19:26 πŸ”— JohnTalen shit.
19:26 πŸ”— db48x hmm
19:26 πŸ”— JohnTalen different names. lol.
19:27 πŸ”— db48x :)
19:27 πŸ”— JohnTalen 7193c20b15302f30e7360f22f0d42f0b3c4e69c547af1910af6390fc pce-mac-classic-pram.dat
19:27 πŸ”— JohnTalen thats the one.
19:27 πŸ”— JohnTalen :)
19:27 πŸ”— JohnTalen 21c83f1cea2e34606192033f7e3cd6bae3ded2acb79551dccde660d5 pce-mac-classic-pram.dat
19:27 πŸ”— JohnTalen the last one.
19:27 πŸ”— JohnTalen ignore the middle two.
19:27 πŸ”— JohnTalen so working: 21c83f1cea2e34606192033f7e3cd6bae3ded2acb79551dccde660d5 pce-mac-classic-pram.dat
19:33 πŸ”— JohnTalen I suppose after I maul over the code for the mac stuff I'll scrounge around for memory map dumps of the ST.
19:34 πŸ”— JohnTalen that it memory map documentation.
19:37 πŸ”— JohnTalen argh.
19:37 πŸ”— JohnTalen easy for me to typo. :p
21:50 πŸ”— JohnTalen I sense a strange disturbance in the force... offline tools that twin handwritten code with SDL and emscripten functions.
21:50 πŸ”— JohnTalen twine
21:51 πŸ”— JohnTalen state machine creators.
21:51 πŸ”— JohnTalen wonderful.
21:53 πŸ”— JohnTalen "You're right Ray... No human could stake books like this..."
21:53 πŸ”— JohnTalen stack
22:49 πŸ”— JohnTalen SketchCow: You have Tweet.
23:11 πŸ”— JohnTalen SketchCow: There is a state machine used in the pce projects that I can't seem to find. Although it's not necessary for the ST version.
23:11 πŸ”— JohnTalen This state machine converts raw emulation into emscripten javascript functions. It also handles magic number from what little I can tell.
23:12 πŸ”— JohnTalen SketchCow: ^
23:17 πŸ”— JohnTalen Hm, jsdf seems to generate this exact state machine with pcejs_build.
23:17 πŸ”— JohnTalen interesting. okay.
23:18 πŸ”— JohnTalen this way pce changes get reflected automagically for each new version.
23:21 πŸ”— JohnTalen Very interesting stuff.
23:27 πŸ”— JohnTalen 1) was there a need to upgrade the emscripten used for pcejs? It seems like it's 4 years old.
23:38 πŸ”— JohnTalen okay. way too much time on the computer. be back tommorow.
23:38 πŸ”— JohnTalen -=*> Later Daze <*=-
23:38 πŸ”— JohnTalen has quit IRC (Quit: leaving)

irclogger-viewer