Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

There's a whole WORLD in a mud puddle! -- Doug Clifford


devel / comp.emulators.apple2 / Re: Emularity / cffa question

SubjectAuthor
* Emularity / cffa questionern...@gmail.com
`* Emularity / cffa questionpeter....@gmail.com
 `* Emularity / cffa questionpeter....@gmail.com
  `- Emularity / cffa questionern...@gmail.com

1
Emularity / cffa question

<e1b8edb6-acd6-4111-b12d-e830f31405ddn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=702&group=comp.emulators.apple2#702

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ac8:7e84:0:b0:304:f1fd:8f3a with SMTP id w4-20020ac87e84000000b00304f1fd8f3amr7410999qtj.670.1654633090889;
Tue, 07 Jun 2022 13:18:10 -0700 (PDT)
X-Received: by 2002:a05:620a:1262:b0:6a6:b130:f86e with SMTP id
b2-20020a05620a126200b006a6b130f86emr11277598qkl.481.1654633090659; Tue, 07
Jun 2022 13:18:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.emulators.apple2
Date: Tue, 7 Jun 2022 13:18:10 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=128.220.159.3; posting-account=7FYDMgoAAADoBB4A_1MOwuTOVAc43QDw
NNTP-Posting-Host: 128.220.159.3
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e1b8edb6-acd6-4111-b12d-e830f31405ddn@googlegroups.com>
Subject: Emularity / cffa question
From: ernie.s@gmail.com (ern...@gmail.com)
Injection-Date: Tue, 07 Jun 2022 20:18:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4159
 by: ern...@gmail.com - Tue, 7 Jun 2022 20:18 UTC

Howdy,

Being old, I still think screensavers are neat. A few years ago I saw the Apple II boot theater screensaver, thought it was cool, and made a small patch to make it work on Macs (old repo at https://github.com/esoffron/compatible-boot-theater -- no GitHub fire, please).

That was cool, but why not a real emulator as screensaver? I thought about doing a proper Mac binary repackaging some native emulator, and still might, but first want to do it with the Javascript emulator. Of course, I want to have it boot Total Replay into attract mode. I know that can work, because it does on Internet Archive.

I've nearly got it working except when I try to load in the hard disk image.. 5.25 images run fine. I've got the CFFA 2 added, and can even boot a 5.25 disk of the CFFA config program in slot 6 to configure a CFFA in either slot 5 or 7 (or even both). If I try to mount a HD image of Total Replay (either .2meg or .hdv, both from IA), though, the VM hangs with

exception thrown: 105554440 loader.js:1053:53
Uncaught 105554440

The Ample emulator was a great help to figure out MAME syntax (THANK YOU), but I must still be botching something.

Here's the meat of how I try to load it. Can someone see what I'm doing wrong?

var emulator = new Emulator(document.querySelector("#canvas"),
null,
new JSMESSLoader(JSMESSLoader.driver("apple2ee"),
JSMESSLoader.nativeResolution(560, 384),
JSMESSLoader.scale(2),
JSMESSLoader.emulatorJS("emulators/jsmess/messnapple2e.js"),
JSMESSLoader.mountFile("apple2e.zip",
JSMESSLoader.fetchFile("Bios",
"examples/apple2e.zip")),
JSMESSLoader.mountFile("a2cffa2.zip",
JSMESSLoader.fetchFile("Bios",
"examples/a2cffa2.zip")),
JSMESSLoader.mountFile("TR.hdv",
JSMESSLoader.fetchFile("Game",
"examples/00playable.2meg")),
JSMESSLoader.mountFile("CFFA.UTIL.dsk",
JSMESSLoader.fetchFile("Game",
"examples/CFFA.UTIL.dsk")),
JSMESSLoader.mountFile("apple2e.cfg",
JSMESSLoader.fetchFile("Config",
"examples/apple2e.cfg")),
JSMESSLoader.peripheral("flop1", "CFFA.UTIL.dsk"),
// JSMESSLoader.extraArgs(["-sl7", "cffa2"]),
// JSMESSLoader.extraArgs(["-sl5", "cffa2"])
JSMESSLoader.extraArgs(["-sl7", "cffa2", "-hard1", "00playable.2meg"])
))
emulator.start({ waitAfterDownloading: true });

Thanks.

--Ernie

Re: Emularity / cffa question

<40673102-f754-41dc-b765-21a13086e9cfn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=709&group=comp.emulators.apple2#709

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:622a:58c:b0:305:79a:f53 with SMTP id c12-20020a05622a058c00b00305079a0f53mr1710776qtb.601.1654703283838;
Wed, 08 Jun 2022 08:48:03 -0700 (PDT)
X-Received: by 2002:a05:620a:1aaa:b0:6a6:d022:7e08 with SMTP id
bl42-20020a05620a1aaa00b006a6d0227e08mr8655663qkb.143.1654703283580; Wed, 08
Jun 2022 08:48:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.emulators.apple2
Date: Wed, 8 Jun 2022 08:48:03 -0700 (PDT)
In-Reply-To: <e1b8edb6-acd6-4111-b12d-e830f31405ddn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:192c:f57d:216b:d72;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:192c:f57d:216b:d72
References: <e1b8edb6-acd6-4111-b12d-e830f31405ddn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <40673102-f754-41dc-b765-21a13086e9cfn@googlegroups.com>
Subject: Re: Emularity / cffa question
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Wed, 08 Jun 2022 15:48:03 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1296
 by: peter....@gmail.com - Wed, 8 Jun 2022 15:48 UTC

The "2meg" implies "2mg" format, which it isn't. It's an HDV, no 2mg header. Perhaps that's the issue?

Re: Emularity / cffa question

<f4514c6d-6092-4cb8-982a-71d9e864592en@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=710&group=comp.emulators.apple2#710

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:622a:245:b0:304:e9c9:6f03 with SMTP id c5-20020a05622a024500b00304e9c96f03mr15358969qtx.564.1654703382497;
Wed, 08 Jun 2022 08:49:42 -0700 (PDT)
X-Received: by 2002:a37:8e82:0:b0:6a6:acdb:6c0a with SMTP id
q124-20020a378e82000000b006a6acdb6c0amr14689529qkd.537.1654703382213; Wed, 08
Jun 2022 08:49:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.emulators.apple2
Date: Wed, 8 Jun 2022 08:49:42 -0700 (PDT)
In-Reply-To: <40673102-f754-41dc-b765-21a13086e9cfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:192c:f57d:216b:d72;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:192c:f57d:216b:d72
References: <e1b8edb6-acd6-4111-b12d-e830f31405ddn@googlegroups.com> <40673102-f754-41dc-b765-21a13086e9cfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f4514c6d-6092-4cb8-982a-71d9e864592en@googlegroups.com>
Subject: Re: Emularity / cffa question
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Wed, 08 Jun 2022 15:49:42 +0000
Content-Type: text/plain; charset="UTF-8"
 by: peter....@gmail.com - Wed, 8 Jun 2022 15:49 UTC

Also, can you examine the size and contents of the downloaded TR file? Is it 32Mb large, and is not full of zeroes?

Re: Emularity / cffa question

<21a3a8b6-d3bd-4c47-b6f6-c3cc0ce3eb77n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=711&group=comp.emulators.apple2#711

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a37:e202:0:b0:6a6:ab87:113d with SMTP id g2-20020a37e202000000b006a6ab87113dmr16384308qki.605.1654707083693;
Wed, 08 Jun 2022 09:51:23 -0700 (PDT)
X-Received: by 2002:a05:620a:1262:b0:6a6:b130:f86e with SMTP id
b2-20020a05620a126200b006a6b130f86emr14101538qkl.481.1654707083461; Wed, 08
Jun 2022 09:51:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.emulators.apple2
Date: Wed, 8 Jun 2022 09:51:23 -0700 (PDT)
In-Reply-To: <f4514c6d-6092-4cb8-982a-71d9e864592en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.114.105.51; posting-account=7FYDMgoAAADoBB4A_1MOwuTOVAc43QDw
NNTP-Posting-Host: 71.114.105.51
References: <e1b8edb6-acd6-4111-b12d-e830f31405ddn@googlegroups.com>
<40673102-f754-41dc-b765-21a13086e9cfn@googlegroups.com> <f4514c6d-6092-4cb8-982a-71d9e864592en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21a3a8b6-d3bd-4c47-b6f6-c3cc0ce3eb77n@googlegroups.com>
Subject: Re: Emularity / cffa question
From: ernie.s@gmail.com (ern...@gmail.com)
Injection-Date: Wed, 08 Jun 2022 16:51:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2791
 by: ern...@gmail.com - Wed, 8 Jun 2022 16:51 UTC

Thanks for looking at this!

I originally was just trying the HDV, downloaded from IA, and threw in the 2meg for testing because that's what it appeared the web emulator on IA was using.

I am able to boot both of those files (which are the same size, but md5 hash differently) in Ample (the Mac front end to MAME) on the same model emulated IIE enhanced and CFFA2, so I'm assuming Javascript MAME should be able boot at least one or the other. I might be using the wrong image file type, but I'm at least using known good files in the wrong format! ;)

In case it wasn't clear, it's the Javascript MAME that's crashing, not the booted Apple II. I don't end up in the monitor, or with a spinning unreadable Apple II drive... I get an error in the web browser console before the virtual machine starts to execute. This makes it (for me) very hard to debug, since I kind of know how to debug Javascript, and know how to debug a crashed Apple II, but the big strange enscripted MAME binary is a black hole to me.

My end goal is to replicate the Internet Archive experience, but without all the chrome around the window and using local source files. I tried to hit Jason Scott on Twitter, but he's too busy for stupid stuff like this.

--Ernie

On Wednesday, June 8, 2022 at 11:49:43 AM UTC-4, peter....@gmail.com wrote:
> Also, can you examine the size and contents of the downloaded TR file? Is it 32Mb large, and is not full of zeroes?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor