#jsmess 2017-06-07,Wed

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

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

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