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) |