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