Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Ignorance is bliss. -- Thomas Gray Fortune updates the great quotes, #42: BLISS is ignorance.


devel / comp.emulators.apple2 / Re: mb-audit: a Mockingboard test suite for emulators

SubjectAuthor
* mb-audit: a Mockingboard test suite for emulatorsTomCh
+* Re: mb-audit: a Mockingboard test suite for emulatorsAndrea Odetti
|`- Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
+* Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
|`* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
| +- Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
| `* Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
|  `- Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
`* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
 `* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
  `* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
   `* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
    +* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
    |+- Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
    |`* Re: mb-audit: a Mockingboard test suite for emulatorsKelvin Sherlock
    | `* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
    |  +* Re: mb-audit: a Mockingboard test suite for emulatorsD Finnigan
    |  |`* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
    |  | `- Re: mb-audit: a Mockingboard test suite for emulatorsD Finnigan
    |  `- Re: mb-audit: a Mockingboard test suite for emulatorsKelvin Sherlock
    `* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
     `* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
      +* Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
      |`- Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
      `* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
       `* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
        `* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
         +* Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
         |`* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
         | `- Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
         `* Re: mb-audit: a Mockingboard test suite for emulatorsKent Dickey
          `* Re: mb-audit: a Mockingboard test suite for emulatorsTomCh
           `* Re: mb-audit: a Mockingboard test suite for emulatorsjohnsonlam.hk
            `- Re: mb-audit: a Mockingboard test suite for emulatorsTomCh

Pages:12
mb-audit: a Mockingboard test suite for emulators

<3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=45&group=comp.emulators.apple2#45

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ac8:5bc6:: with SMTP id b6mr19030937qtb.392.1620587149852;
Sun, 09 May 2021 12:05:49 -0700 (PDT)
X-Received: by 2002:a05:622a:650:: with SMTP id a16mr19465266qtb.316.1620587149636;
Sun, 09 May 2021 12:05:49 -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: Sun, 9 May 2021 12:05:49 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
Subject: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sun, 09 May 2021 19:05:49 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sun, 9 May 2021 19:05 UTC

Hi,

Here's an initial release of a Mockingboard (and Phasor) test suite I've been working on recently:
https://github.com/tomcw/mb-audit

It's mainly an audit for emulation correctness, but doubles up as a set of tests for real hardware to help identify faults.

See the above link for details (and a .dsk image), but a quick overview is it tests all the sub-systems on the cards (6522/VIA, AY-3-8913 and any speech SC-01 / SSI263 chips).

It's still in beta, as I've not got a full selection of cards to test it with. So if you try it and notice any failing tests with real (working) hardware, then raise a GitHub issue or report it here.

Thanks,
Tom

Re: mb-audit: a Mockingboard test suite for emulators

<513513b0-1a1f-4c70-9c1c-9b97bb3ca686n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=51&group=comp.emulators.apple2#51

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ad4:576e:: with SMTP id r14mr39603qvx.61.1622711284233;
Thu, 03 Jun 2021 02:08:04 -0700 (PDT)
X-Received: by 2002:a0c:e310:: with SMTP id s16mr28433052qvl.48.1622711284090;
Thu, 03 Jun 2021 02:08:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!usenet.pasdenom.info!usenet-fr.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: Thu, 3 Jun 2021 02:08:03 -0700 (PDT)
In-Reply-To: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c8:448f:eb01:960e:6540:8ff8:6a36;
posting-account=yz878AoAAAB8xlDkZ8TSOXhKW0j-OE2p
NNTP-Posting-Host: 2a00:23c8:448f:eb01:960e:6540:8ff8:6a36
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <513513b0-1a1f-4c70-9c1c-9b97bb3ca686n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: andrea.o...@gmail.com (Andrea Odetti)
Injection-Date: Thu, 03 Jun 2021 09:08:04 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Andrea Odetti - Thu, 3 Jun 2021 09:08 UTC

On Sunday, May 9, 2021 at 8:05:50 PM UTC+1, TomCh wrote:
> Hi,
>
> Here's an initial release of a Mockingboard (and Phasor) test suite I've been working on recently:
> https://github.com/tomcw/mb-audit

Interesting, and surprising when I run it on the linux version I got a failure.
Turns out that the issues was me running bigger batches of CPU code (16 ms vs 1 ms).

So the question I have now is:

if we know that 1ms is ok and 16ms is too long

https://github.com/AppleWin/AppleWin/blob/master/source/Windows/AppleWin.cpp#L132

when the MB is updated here https://github.com/AppleWin/AppleWin/blob/master/source/Windows/AppleWin.cpp#L217

Is there a maximum?
Is it possible that 1ms is too long as well?
Should the update really be done for each cpu instruction (like the video)?

Re: mb-audit: a Mockingboard test suite for emulators

<96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=53&group=comp.emulators.apple2#53

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a37:418d:: with SMTP id o135mr12108595qka.418.1622982233905;
Sun, 06 Jun 2021 05:23:53 -0700 (PDT)
X-Received: by 2002:a05:620a:4055:: with SMTP id i21mr9523485qko.140.1622982233743;
Sun, 06 Jun 2021 05:23:53 -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: Sun, 6 Jun 2021 05:23:53 -0700 (PDT)
In-Reply-To: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=61.244.121.222; posting-account=8tXwLAoAAABaxUHrE6fGyJgcerwAfaOy
NNTP-Posting-Host: 61.244.121.222
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: johnsonl...@gmail.com (johnsonlam.hk)
Injection-Date: Sun, 06 Jun 2021 12:23:53 +0000
Content-Type: text/plain; charset="UTF-8"
 by: johnsonlam.hk - Sun, 6 Jun 2021 12:23 UTC

On Monday, May 10, 2021 at 3:05:50 AM UTC+8, TomCh wrote:
> Hi,
>
> Here's an initial release of a Mockingboard (and Phasor) test suite I've been working on recently:
> https://github.com/tomcw/mb-audit
>
> It's mainly an audit for emulation correctness, but doubles up as a set of tests for real hardware to help identify faults.
>
> See the above link for details (and a .dsk image), but a quick overview is it tests all the sub-systems on the cards (6522/VIA, AY-3-8913 and any speech SC-01 / SSI263 chips).
>
> It's still in beta, as I've not got a full selection of cards to test it with. So if you try it and notice any failing tests with real (working) hardware, then raise a GitHub issue or report it here.
>
> Thanks,
> Tom

Thanks for your work, since I have the SD Music ][+ from Ian Kim that only compatible with Mockingboard, this is a good test to see how good it is, this card can play SkyFox but the tempo or sound not perfect in Music Construction Set.

Rgds,
Johnson.

Re: mb-audit: a Mockingboard test suite for emulators

<feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=54&group=comp.emulators.apple2#54

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a37:7903:: with SMTP id u3mr2232316qkc.329.1623001881726;
Sun, 06 Jun 2021 10:51:21 -0700 (PDT)
X-Received: by 2002:a37:b143:: with SMTP id a64mr13676720qkf.492.1623001881526;
Sun, 06 Jun 2021 10:51:21 -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: Sun, 6 Jun 2021 10:51:21 -0700 (PDT)
In-Reply-To: <96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sun, 06 Jun 2021 17:51:21 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sun, 6 Jun 2021 17:51 UTC

Hi Johnson,

> Thanks for your work, since I have the SD Music ][+ from Ian Kim that only compatible with Mockingboard, this is a good test to see how good it is, this card can play SkyFox but the tempo or sound not perfect in Music Construction Set.

So what are the results for the "SD Music ][+" card?
Also which version of mb-audit did you try? (NB. latest version is now 0.6-beta)

Thanks.

Re: mb-audit: a Mockingboard test suite for emulators

<0424c7be-65d8-4908-9125-0ffcf1e6c837n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=55&group=comp.emulators.apple2#55

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ae9:f309:: with SMTP id p9mr13737963qkg.363.1623002485028;
Sun, 06 Jun 2021 11:01:25 -0700 (PDT)
X-Received: by 2002:a37:bd83:: with SMTP id n125mr13564025qkf.43.1623002484735;
Sun, 06 Jun 2021 11:01:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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: Sun, 6 Jun 2021 11:01:24 -0700 (PDT)
In-Reply-To: <513513b0-1a1f-4c70-9c1c-9b97bb3ca686n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <513513b0-1a1f-4c70-9c1c-9b97bb3ca686n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0424c7be-65d8-4908-9125-0ffcf1e6c837n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sun, 06 Jun 2021 18:01:25 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sun, 6 Jun 2021 18:01 UTC

Hi Andrea,

> Interesting, and surprising when I run it on the linux version I got a failure.
> Turns out that the issues was me running bigger batches of CPU code (16 ms vs 1 ms).
I've spun this out to an AppleWin GitHub issue, here:
https://github.com/AppleWin/AppleWin/issues/963

Tom

Re: mb-audit: a Mockingboard test suite for emulators

<Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=60&group=comp.emulators.apple2#60

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 11 Jun 2021 21:53:32 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com>
Date: Fri, 11 Jun 2021 21:53:32 -0500
Lines: 36
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-0ipzF9ELbkKYZYGzeTwjk5AH4QlSH8mRcl+gJZ5QdSxQ4rl/GyA3LcFuCIF/v3GEjswJV2wRs+wNBDB!W7Eyf7mZXRlI2mUuYzATx0idAbHvcE8c0OJYPM3ajVM97Ia7kyyVrOPLHPDVcWGbJH56HCRiF/4=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2522
 by: Kent Dickey - Sat, 12 Jun 2021 02:53 UTC

In article <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>,
TomCh <tomcharlesworth26@gmail.com> wrote:
>Hi,
>
>Here's an initial release of a Mockingboard (and Phasor) test suite I've
>been working on recently:
>https://github.com/tomcw/mb-audit
>
>It's mainly an audit for emulation correctness, but doubles up as a set
>of tests for real hardware to help identify faults.
>
>See the above link for details (and a .dsk image), but a quick overview
>is it tests all the sub-systems on the cards (6522/VIA, AY-3-8913 and
>any speech SC-01 / SSI263 chips).
>
>It's still in beta, as I've not got a full selection of cards to test it
>with. So if you try it and notice any failing tests with real (working)
>hardware, then raise a GitHub issue or report it here.
>
>Thanks,
>Tom

I am very interested in testing this code on my emulator KEGS, but I ran
into a problem.

I tried running the current version (mb-audit-0.6.beta),
and KEGS fails on "Test: 10:02:00" while it was testing the 6522.

I looked at the code, and this is running Check6522IRQ, with the code
setting up Timer1 with the value $0101, and then expecting an interrupt or NMI.
But the code does an SEI (line 437 of chip-6522.a) just before creating this
interrupt. In KEGS, since interrupts are masked, no interrupts are taken
and this test fails. So I think this code can only pass if the card
generates an NMI, but I don't think that's right.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=62&group=comp.emulators.apple2#62

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a0c:c390:: with SMTP id o16mr1349524qvi.16.1623492091459;
Sat, 12 Jun 2021 03:01:31 -0700 (PDT)
X-Received: by 2002:a05:6214:1843:: with SMTP id d3mr9026540qvy.60.1623492091265;
Sat, 12 Jun 2021 03:01:31 -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: Sat, 12 Jun 2021 03:01:31 -0700 (PDT)
In-Reply-To: <Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sat, 12 Jun 2021 10:01:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: TomCh - Sat, 12 Jun 2021 10:01 UTC

On Saturday, 12 June 2021 at 03:53:38 UTC+1, Kent Dickey wrote:
> I am very interested in testing this code on my emulator KEGS, but I ran
> into a problem.
>
> I tried running the current version (mb-audit-0.6.beta),
> and KEGS fails on "Test: 10:02:00" while it was testing the 6522.
>
> I looked at the code, and this is running Check6522IRQ, with the code
> setting up Timer1 with the value $0101, and then expecting an interrupt or NMI.
> But the code does an SEI (line 437 of chip-6522.a) just before creating this
> interrupt. In KEGS, since interrupts are masked, no interrupts are taken
> and this test fails. So I think this code can only pass if the card
> generates an NMI, but I don't think that's right.

Hi Kent,

Ignore the NMI stuff - that's just to support the old Mockingboard (Speech/Sound I)... which isn't a concern for emulators at the moment.

The error code ("Test: 10:02:00") indicates that Check6522IRQ's subTest #0 is failing, and this is where it is checking the 6522's IFR (Interrupt Flag Register). So the Timer1 flag (bit6) will be set in IFR by the time it reaches line 475 (in fact it gets set during that call to WAIT). So I'd say KEGS just isn't setting IFR correctly.

The code uses SEI (set interrupt disable) to prevent the Timer1 interrupt immediately triggering and vectoring to the interrupt handler, ie. so that the code can read IFR and check that Timer1 is set. You can see that right after this (at line 478) I do a CLI/SEI sequence to allow the interrupt handler to run (which will clear Timer1 in IFR).

Tom

Re: mb-audit: a Mockingboard test suite for emulators

<bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=63&group=comp.emulators.apple2#63

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc3.netnews.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 12 Jun 2021 23:18:41 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com> <957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com>
Date: Sat, 12 Jun 2021 23:18:41 -0500
Lines: 58
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-XOdJ4VZoma+UwWLaTmrUFV2rX/EUMLrHSrOVVRK+4QXyT/Tn3VwBKBafBMxAPwlbVOPR54zhCyMN9eC!+tGUaGAvtdVeHl94TwuMZ5qeVKq71OZNf7Xm7K4iHHdI5qUvkZJayLPkndpUA+bfnN9PmXTiknQ=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4162
 by: Kent Dickey - Sun, 13 Jun 2021 04:18 UTC

In article <957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com>,
TomCh <tomcharlesworth26@gmail.com> wrote:
>On Saturday, 12 June 2021 at 03:53:38 UTC+1, Kent Dickey wrote:
>> I am very interested in testing this code on my emulator KEGS, but I ran
>> into a problem.
>>
>> I tried running the current version (mb-audit-0.6.beta),
>> and KEGS fails on "Test: 10:02:00" while it was testing the 6522.
>>
>> I looked at the code, and this is running Check6522IRQ, with the code
>> setting up Timer1 with the value $0101, and then expecting an
>interrupt or NMI.
>> But the code does an SEI (line 437 of chip-6522.a) just before creating this
>> interrupt. In KEGS, since interrupts are masked, no interrupts are taken
>> and this test fails. So I think this code can only pass if the card
>> generates an NMI, but I don't think that's right.
>
>Hi Kent,
>
>Ignore the NMI stuff - that's just to support the old Mockingboard
>(Speech/Sound I)... which isn't a concern for emulators at the moment.
>
>The error code ("Test: 10:02:00") indicates that Check6522IRQ's subTest
>#0 is failing, and this is where it is checking the 6522's IFR
>(Interrupt Flag Register). So the Timer1 flag (bit6) will be set in IFR
>by the time it reaches line 475 (in fact it gets set during that call to
>WAIT). So I'd say KEGS just isn't setting IFR correctly.
>
>The code uses SEI (set interrupt disable) to prevent the Timer1
>interrupt immediately triggering and vectoring to the interrupt handler,
>ie. so that the code can read IFR and check that Timer1 is set. You can
>see that right after this (at line 478) I do a CLI/SEI sequence to allow
>the interrupt handler to run (which will clear Timer1 in IFR).
>
>Tom

You are of course correct, I was misunderstanding what the test was doing.
I'm now up to test 11:0F:00 failing, this one is slightly tricky for me to
get right (I found it simpler to have the IFR update one cycle after the
interrupt is signaled, and now I have to do this "right").

Your code is excellent documentation for the 6522--it was unclear to me what
Timer1 values cycled through in one-shot mode (now it's clear it's the same
as free-running, it releads from the latched value after counting from N to 0
to -1, and then reloading to N). But Test 11:0A:xx tests this very
nicely.

I have a suggestion for 11:0E:00: you call the monitor routine WAIT to wait
a number of cycles--and you care about the exact number of cycles elapsed
(well, really you care about cycles mod 2, so if it's off by a multiple of
2 it's fine). WAIT on a IIgs is not cycle accurate, and it might not be
on other monitor ROMs either since the WAIT description says it waits a
minimum number of microseconds. So the IIgs ROM has extra code to ensure
the CPU is running at slow speed, and this adds extra time. You would be
better off creating your own WAIT in your code so that it's consistent
regardless of the monitor code in ROM.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=67&group=comp.emulators.apple2#67

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ac8:6885:: with SMTP id m5mr12958948qtq.268.1623600667506;
Sun, 13 Jun 2021 09:11:07 -0700 (PDT)
X-Received: by 2002:a37:b586:: with SMTP id e128mr10559022qkf.43.1623600667331;
Sun, 13 Jun 2021 09:11:07 -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: Sun, 13 Jun 2021 09:11:07 -0700 (PDT)
In-Reply-To: <bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com> <957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com>
<bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sun, 13 Jun 2021 16:11:07 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sun, 13 Jun 2021 16:11 UTC

> You are of course correct, I was misunderstanding what the test was doing.
> I'm now up to test 11:0F:00 failing, this one is slightly tricky for me to
> get right (I found it simpler to have the IFR update one cycle after the
> interrupt is signaled, and now I have to do this "right").
>
> Your code is excellent documentation for the 6522--it was unclear to me what
> Timer1 values cycled through in one-shot mode (now it's clear it's the same
> as free-running, it releads from the latched value after counting from N to 0
> to -1, and then reloading to N). But Test 11:0A:xx tests this very
> nicely.
>
Thanks - good to hear that it's providing some good value for you.

> I have a suggestion for 11:0E:00: you call the monitor routine WAIT to wait
> a number of cycles--and you care about the exact number of cycles elapsed
> (well, really you care about cycles mod 2, so if it's off by a multiple of
> 2 it's fine). WAIT on a IIgs is not cycle accurate, and it might not be
> on other monitor ROMs either since the WAIT description says it waits a
> minimum number of microseconds. So the IIgs ROM has extra code to ensure
> the CPU is running at slow speed, and this adds extra time. You would be
> better off creating your own WAIT in your code so that it's consistent
> regardless of the monitor code in ROM.

Ah, I don't know much about the IIgs, so that's an important suggestion about removing the dependency on WAIT for any timing sensitive tests. I will include it in a future update.

btw, how do I test this .dsk with a IIgs emulator? (My IIgs knowledge is poor)
On Windows, I'm using MAME, eg. with this command line:
mame apple2gs -w -sl4 mockingboard -flop1 mb-audit.dsk

But when I boot mb-audit.dsk then I just get the "No Mockingboard detected!" message.
So presumably the slot ROM isn't switched in. Should the mb-audit code be explicitly switching it in for the IIgs?

Thanks,
Tom

Re: mb-audit: a Mockingboard test suite for emulators

<d8cf827d-c3db-40de-a5d4-ee9341b97e72n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=72&group=comp.emulators.apple2#72

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:620a:645:: with SMTP id a5mr17579470qka.70.1623693740253;
Mon, 14 Jun 2021 11:02:20 -0700 (PDT)
X-Received: by 2002:ac8:709a:: with SMTP id y26mr17669122qto.315.1623693740033;
Mon, 14 Jun 2021 11:02:20 -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: Mon, 14 Jun 2021 11:02:19 -0700 (PDT)
In-Reply-To: <feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=61.244.121.222; posting-account=8tXwLAoAAABaxUHrE6fGyJgcerwAfaOy
NNTP-Posting-Host: 61.244.121.222
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com> <feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d8cf827d-c3db-40de-a5d4-ee9341b97e72n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: johnsonl...@gmail.com (johnsonlam.hk)
Injection-Date: Mon, 14 Jun 2021 18:02:20 +0000
Content-Type: text/plain; charset="UTF-8"
 by: johnsonlam.hk - Mon, 14 Jun 2021 18:02 UTC

On Monday, June 7, 2021 at 1:51:22 AM UTC+8, TomCh wrote:

Hi Tom,

> > Thanks for your work, since I have the SD Music ][+ from Ian Kim that only compatible with Mockingboard, this is a good test to see how good it is, this card can play SkyFox but the tempo or sound not perfect in Music Construction Set.
> So what are the results for the "SD Music ][+" card?
> Also which version of mb-audit did you try? (NB. latest version is now 0.6-beta)

https://photos.app.goo.gl/xDuBmYBu59ndKa3t6

Re: mb-audit: a Mockingboard test suite for emulators

<ec5c37cc-6c4c-4806-a9dd-41f7842d1b97n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=73&group=comp.emulators.apple2#73

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:622a:316:: with SMTP id q22mr17707836qtw.153.1623694551270;
Mon, 14 Jun 2021 11:15:51 -0700 (PDT)
X-Received: by 2002:ac8:4e1b:: with SMTP id c27mr17892283qtw.22.1623694551066;
Mon, 14 Jun 2021 11:15:51 -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: Mon, 14 Jun 2021 11:15:50 -0700 (PDT)
In-Reply-To: <feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=61.244.121.222; posting-account=8tXwLAoAAABaxUHrE6fGyJgcerwAfaOy
NNTP-Posting-Host: 61.244.121.222
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com> <feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ec5c37cc-6c4c-4806-a9dd-41f7842d1b97n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: johnsonl...@gmail.com (johnsonlam.hk)
Injection-Date: Mon, 14 Jun 2021 18:15:51 +0000
Content-Type: text/plain; charset="UTF-8"
 by: johnsonlam.hk - Mon, 14 Jun 2021 18:15 UTC

On Monday, June 7, 2021 at 1:51:22 AM UTC+8, TomCh wrote:

Hi Tom,

> > Thanks for your work, since I have the SD Music ][+ from Ian Kim that only compatible with Mockingboard, this is a good test to see how good it is, this card can play SkyFox but the tempo or sound not perfect in Music Construction Set.
> So what are the results for the "SD Music ][+" card?
> Also which version of mb-audit did you try? (NB. latest version is now 0.6-beta)

Can't attach picture here, so a link to my Google photo attached:

https://photos.app.goo.gl/Juf431CEGoVNfZBy7

Since it's OPL3 emulate AY8913, it fail is reasonable, maybe you can add this to the record later, the card is using W65C22S (PLCC).

Johnson.

Re: mb-audit: a Mockingboard test suite for emulators

<e8145fe9-0e3f-4f23-bc9d-1fe1d3221fb6n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=74&group=comp.emulators.apple2#74

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ad4:458d:: with SMTP id x13mr535430qvu.42.1623695268161;
Mon, 14 Jun 2021 11:27:48 -0700 (PDT)
X-Received: by 2002:a05:620a:2f3:: with SMTP id a19mr17573768qko.272.1623695267901;
Mon, 14 Jun 2021 11:27:47 -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: Mon, 14 Jun 2021 11:27:47 -0700 (PDT)
In-Reply-To: <ec5c37cc-6c4c-4806-a9dd-41f7842d1b97n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=61.244.121.222; posting-account=8tXwLAoAAABaxUHrE6fGyJgcerwAfaOy
NNTP-Posting-Host: 61.244.121.222
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<96b6125e-1be6-4356-855e-e7aaf51b64bfn@googlegroups.com> <feb9c719-61de-4f73-9aa6-2cdfec12a850n@googlegroups.com>
<ec5c37cc-6c4c-4806-a9dd-41f7842d1b97n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e8145fe9-0e3f-4f23-bc9d-1fe1d3221fb6n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: johnsonl...@gmail.com (johnsonlam.hk)
Injection-Date: Mon, 14 Jun 2021 18:27:48 +0000
Content-Type: text/plain; charset="UTF-8"
 by: johnsonlam.hk - Mon, 14 Jun 2021 18:27 UTC

On Tuesday, June 15, 2021 at 2:15:51 AM UTC+8, johnsonlam.hk wrote:

Hi Everyone,

> > > Thanks for your work, since I have the SD Music ][+ from Ian Kim that only compatible with Mockingboard, this is a good test to see how good it is, this card can play SkyFox but the tempo or sound not perfect in Music Construction Set.
> > So what are the results for the "SD Music ][+" card?

Damn, I mess up, my card is SD Music Deluxe not ][+, I mixed up with SD Disk ][+.

Johnson.

Re: mb-audit: a Mockingboard test suite for emulators

<2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=75&group=comp.emulators.apple2#75

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 14 Jun 2021 17:25:35 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com> <bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com>
Date: Mon, 14 Jun 2021 17:25:35 -0500
Lines: 64
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-XUSCzidboSM0LVS2JPfmnikwLMH11newKnL9X2tcQNRVfWUJZoIntdD+hrtNWjzF1OjxCk594TJw5S7!kQYKX97q3FjP3wPbIl/r1zx6hbaz0nnK8Qw1OuFtIA9dW4BUUV5ao8G5O7ye3zqh0e1ZsktCoOg=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3989
 by: Kent Dickey - Mon, 14 Jun 2021 22:25 UTC

In article <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>,
TomCh <tomcharlesworth26@gmail.com> wrote:
[snip]
>> You would be
>> better off creating your own WAIT in your code so that it's consistent
>> regardless of the monitor code in ROM.
>
>Ah, I don't know much about the IIgs, so that's an important suggestion
>about removing the dependency on WAIT for any timing sensitive tests. I
>will include it in a future update.
>
>btw, how do I test this .dsk with a IIgs emulator? (My IIgs knowledge is poor)
>On Windows, I'm using MAME, eg. with this command line:
>mame apple2gs -w -sl4 mockingboard -flop1 mb-audit.dsk
>
>But when I boot mb-audit.dsk then I just get the "No Mockingboard
>detected!" message.
>So presumably the slot ROM isn't switched in. Should the mb-audit code
>be explicitly switching it in for the IIgs?
>
>Thanks,
>Tom

I don't know much about Mame either. I've tried running Mame on my Mac, and
I haven't gotten far. I can almost make it work as an Apple //e, but the
IIgs doesn't work well for me.

What you need to do is boot the IIgs, go to the IIgs control panel with
Ctrl-Cmd-Esc, select Control Panel, then Slots, then set slot 4 to "your
card". Then press return to save, and get out. Then (this is a IIgs
control panel "feature", that changing the slots configuration doesn't
take effect right away) do a Ctrl-Reset, and now the Mockingboard is
accessible.

In Mame, I don't know how to do reset, I don't know how to change disks, I
don't know how to get to the IIgs control panel (Ctrl-Cmd-Esc), I basically
cannot do much. What little documentation there is seems to be for the
Windows version, and that doesn't apply to the Mac version of Mame.

In Mame on the Mac, the only special keys I know of are Delete pulls up a funny
little menu and toggles between "Full emulation, UI disabled" and
"Partial emulaton, UI enabled". With UI enabled, F4 pauses the emulation
(It pops up a color bar, I have no idea what this is, but it pauses emulation
until I press F4 again). Also with UI enabled, if I press Ctrl-Cmd-Esc,
Mame immediately exits. I would appreciate it if someone who knows Mame
could assist with how to do some basic things in Mame on the Mac.

Just running Mame on the Mac requires a short script:

---
#!/bin/bash

dir=`dirname $0`
DYLD_FALLBACK_FRAMEWORK_PATH=${dir}/Frameworks ${dir}/mame64 "$@"
---

I've written KEGS, a different Apple IIgs emulator, at kegs.sourceforge.net,
the latest version is v1.05.

But: it doesn't support Windows yet. It supports Mac OS X 10.13 and later,
and pretty much any Linux. It's free and open source. KEGS used to support
Windows XP 15 years ago, but I no longer have a Windows machine.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<q6KdnWpMjdA_d1X9nZ2dnUU7-fvNnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=77&group=comp.emulators.apple2#77

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 15 Jun 2021 13:00:02 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com> <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com> <622c8549-6166-4ddd-b5ea-2a6f8d746b33n@googlegroups.com>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <q6KdnWpMjdA_d1X9nZ2dnUU7-fvNnZ2d@giganews.com>
Date: Tue, 15 Jun 2021 13:00:02 -0500
Lines: 14
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-663SHg9avxVNKJ088pVxDfs6DRxlyPB0tfx+jIqrRZh3S9cQBRP9PE7UYlb9qx7LfcVg12ycTS4uFxx!sEHu4Q84TNl9ix9oIafF2XjZH08jDpVgiFkoUzoV6LgWt2Gvrp3NxA2a7WDTDmJE4RkJJBMatb0=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1808
 by: Kent Dickey - Tue, 15 Jun 2021 18:00 UTC

In article <622c8549-6166-4ddd-b5ea-2a6f8d746b33n@googlegroups.com>,
peter....@gmail.com <peter.ferrie@gmail.com> wrote:
>In MAME, after pressing Delete to get "partial UI" mode, press Tab to
>get the full list of options.
>You can change disks, and see how the keys are assigned, etc.

OK, this helps, but it says F12 is reset, and I cannot make that work--
Ctrl-F12 does not do a reset.

It also says the LALT and RALT keys are CMD and Option, and if I print out
PEEK($c061) and $c062, they are correct. But ctrl-Cmd-ESC still does not
bring up the Control panel.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<sabh98$nm1$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=78&group=comp.emulators.apple2#78

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: kel...@pro-kegs.uucp (Kelvin Sherlock)
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
Date: Wed, 16 Jun 21 00:36:54 EST
Organization: ProLine [pro-kegs] -- Nome, AK
Lines: 16
Distribution: world
Message-ID: <sabh98$nm1$1@dont-email.me>
References: <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com>
Injection-Date: Wed, 16 Jun 2021 00:40:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3c7d711651705816e1fb0190676908a5";
logging-data="24257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19l/+9V7IknU/lrZ0MjjAcZoCK/LblrQ94="
Cancel-Lock: sha1:zGEWU9CyvzUx4mR96KY/F7iXHO0=
 by: Kelvin Sherlock - Wed, 16 Jun 2021 05:36 UTC

You can save yourself a lot of pain by using Ample.
https://github.com/ksherlock/ample
https://github.com/ksherlock/ample/releases

Your comments on the trials and tribulations of installing MAME
is part of the reason Ample exists.

In older versions of Mame, command-control-esc didn't work and in even
older versions, command and option are backwards. LEFT control F12 does
a reset but you may need to include a function key as well if you have a
fancy keyboard. In UI mode, esc quits. UI Mode is rarely needed with
Ample, fortunately.

-------
ProLine: kelvin@pro-kegs

Re: mb-audit: a Mockingboard test suite for emulators

<D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=79&group=comp.emulators.apple2#79

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 15 Jun 2021 22:58:19 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com> <sabh98$nm1$1@dont-email.me>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com>
Date: Tue, 15 Jun 2021 22:58:19 -0500
Lines: 73
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-uUHmUxiJjWn2PG/mEpTHk5Xgww6F+isG/kZDNiLoHNrsglRcPX/EDDMKfr+6eGDMUIZds2fPLCslkUF!kPuzCrohUEofvBBp21EAumLDZMrhNtaEK86kq1KBz1aD8cTQBExarhmPLiojSDbBLd/Pt49SMIY=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4740
 by: Kent Dickey - Wed, 16 Jun 2021 03:58 UTC

In article <sabh98$nm1$1@dont-email.me>,
Kelvin Sherlock <kelvin@pro-kegs.uucp> wrote:
>
>You can save yourself a lot of pain by using Ample.
>https://github.com/ksherlock/ample
>https://github.com/ksherlock/ample/releases
>
>Your comments on the trials and tribulations of installing MAME
>is part of the reason Ample exists.
>
>In older versions of Mame, command-control-esc didn't work and in even
>older versions, command and option are backwards. LEFT control F12 does
>a reset but you may need to include a function key as well if you have a
>fancy keyboard. In UI mode, esc quits. UI Mode is rarely needed with
>Ample, fortunately.
>
>-------
>ProLine: kelvin@pro-kegs

Ample is a much improved interface to Mame! Well done! Now that I know
about Delete and then Tab, it seems to make Apple //e emulation basically
usable.

To make it work, I downloaded the Ample.zip release, and then cleared
quarantine with the following from a Terminal window:

cat Ample.zip > a.zip # this clears all xattributes
unzip a.zip
open Ample.app

And then I don't have to turn off any security precautions. By default,
Ample.app wouldn't run due to the app not being signed.

When Ample first starts up, it offers to automatically download ROMs from
archive.org. This is very helpful, but it fails to download many ROMs.
Mame is user hostile, so it's not really clear if any of these ROMs are
needed for Apple II (I made a README of my own for the ROMs Mame needs to
be an Apple //e, and it's quite complex). I just ignored the problems and
moved on.

But IIgs emulation is still problematic for me. I always pick ROM 01 since
that's what I know best. I have Caps Lock and Control swapped in the Mac
System Preferences->Keyboard->Modifier keys (since I like the Apple II
keyboards which have Control below tab, and I'm using a keyboard which has
Capslock there). And so I don't get a control key in Ample either. I suspect
this is a SDL problem, but I don't really know.

When I turn the swap off in Mac System Preferences, I get control and capslock
(I can do capslock and see that I get capital letters, and I can do Ctrl-X to
get the \ and cancel the input line). But I still cannot do Ctrl-Cmd-Esc to
get to the Control Panel (I tried all combinations of both control keys, all
of my Alt/Command keys). And Ctrl-F12 does not reset. But: I just quit out
and started Ample again--and now Ctrl-F12 and Ctrl-Cmd-Esc are working fine.
Hmmm. I still cannot have Ctrl and Capslock swapped in System Preferences,
though.

The default setting of Full Screen caught me unawares, I just hit "launch" to
see what Ample was like. I eventually quit out with some combination of every
modifier key and Cmd-Q. If the normal ways of leaving full screen are not
available (which is moving the mouse around the top of the screen, and
selecting the minimize button, or pressing ESC (which of course won't work)),
I suggest a short warning of how to exit full screen before entering it for
the first time. I've now seen the docs that say Option-Return toggles full
screen. This works, but when I leave full screen this way, the mouse cursor
remains hidden, which makes it tough to do things like resize the window.

I was also unable to get a Mockingboard in slot 4 to work in IIgs mode.
Mockingboard works fine on Apple //e, etc. To work on a IIgs, you need the
card in slot 4, and to change the IIgs Control Panel->Slots->4 to Your Card,
and then do a reset (since the IIgs firmware doesn't change the actual slot
settings until after a reset). This doesn't seem to work in Ample/Mame.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<dog_cow-1623897467@macgui.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=80&group=comp.emulators.apple2#80

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dog_...@macgui.com (D Finnigan)
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
Date: Thu, 17 Jun 2021 02:37:48 -0000 (UTC)
Organization: Mac GUI
Lines: 7
Message-ID: <dog_cow-1623897467@macgui.com>
References: <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com> <sabh98$nm1$1@dont-email.me> <D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Jun 2021 02:37:48 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="79f972081cd37d08db105c69e204d3a7";
logging-data="15493"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bCtGF//Ps5/grA73RVaxn"
User-Agent: Mac GUI Usenet
Cancel-Lock: sha1:ohvzsbxpMIvITUvJXDfVzgfXFLg=
In-Reply-To: <D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com>
 by: D Finnigan - Thu, 17 Jun 2021 02:37 UTC

Kent Dickey wrote:
>
> cat Ample.zip > a.zip # this clears all xattributes

In future, try using `xattr -c file` to clear all extended attributes.

Re: mb-audit: a Mockingboard test suite for emulators

<6PednSR7IoZ7Slf9nZ2dnUU7-fXNnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=81&group=comp.emulators.apple2#81

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 17 Jun 2021 00:04:38 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com> <sabh98$nm1$1@dont-email.me> <D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com> <dog_cow-1623897467@macgui.com>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <6PednSR7IoZ7Slf9nZ2dnUU7-fXNnZ2d@giganews.com>
Date: Thu, 17 Jun 2021 00:04:38 -0500
Lines: 17
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-L1b4jS6nupWsXASruzLrRccbZvpPk9gEZLuFv639PrOMm+KIVqyenFBdJmlRBaCtBDUXagGn2+AHyd2!ScJaUiqFRnZgS5VcHu56Y3g3g2SOuwe5XyrSnzSb6kz+aAeUtZF9wHT7dbbxamWtJLExj2eIfoo=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1884
 by: Kent Dickey - Thu, 17 Jun 2021 05:04 UTC

In article <dog_cow-1623897467@macgui.com>,
D Finnigan <dog_cow@macgui.com> wrote:
>Kent Dickey wrote:
>>
>> cat Ample.zip > a.zip # this clears all xattributes
>
>In future, try using `xattr -c file` to clear all extended attributes.

Using cat with output redirection is better since it also eliminates any
resource forks, Finder Info, etc. It also is much more difficult for Apple to
"break" in the future, say by adding additional hidden file attributes that
xattr doesn't know about, or if Apple modified xattr to no longer clear
quarantine. I don't want to say it's impossible for Apple to preserve
quarantine through "cat file > newfile" in the future, but it's
substantially more complex.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<dog_cow-1623936626@macgui.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=83&group=comp.emulators.apple2#83

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dog_...@macgui.com (D Finnigan)
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
Date: Thu, 17 Jun 2021 13:30:28 -0000 (UTC)
Organization: Mac GUI
Lines: 13
Message-ID: <dog_cow-1623936626@macgui.com>
References: <2d-dnX9GSozCSlr9nZ2dnUU7-LnNnZ2d@giganews.com> <sabh98$nm1$1@dont-email.me> <D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com> <dog_cow-1623897467@macgui.com> <6PednSR7IoZ7Slf9nZ2dnUU7-fXNnZ2d@giganews.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 17 Jun 2021 13:30:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="79f972081cd37d08db105c69e204d3a7";
logging-data="21016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VvUp+CmnCXxE/VaPlnw2C"
User-Agent: Mac GUI Usenet
Cancel-Lock: sha1:FCk9+oXU+/meOwFqIRh82qTJAGs=
In-Reply-To: <6PednSR7IoZ7Slf9nZ2dnUU7-fXNnZ2d@giganews.com>
 by: D Finnigan - Thu, 17 Jun 2021 13:30 UTC

Kent Dickey wrote:
> In article <dog_cow-1623897467@macgui.com>,
> D Finnigan <dog_cow@macgui.com> wrote:
>>Kent Dickey wrote:
>>>
>>> cat Ample.zip > a.zip # this clears all xattributes
>>
>>In future, try using `xattr -c file` to clear all extended attributes.
>
> Using cat with output redirection is better

Whatever floats your boat.

Re: mb-audit: a Mockingboard test suite for emulators

<sao0sn$f4g$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=86&group=comp.emulators.apple2#86

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: kel...@pro-kegs.uucp (Kelvin Sherlock)
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
Date: Sun, 20 Jun 21 17:43:30 EST
Organization: ProLine [pro-kegs] -- Nome, AK
Lines: 12
Distribution: world
Message-ID: <sao0sn$f4g$1@dont-email.me>
References: <D_udnRU8HqxG61T9nZ2dnUU7-f_NnZ2d@giganews.com>
Injection-Date: Sun, 20 Jun 2021 18:20:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="dc1a6b7208aa5a2064b50524b398f02d";
logging-data="15504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Sj4elDJ7HF6c2iJyRrP6gzqulAqEOoPE="
Cancel-Lock: sha1:1HVPbkYWsCvwwPNJXH3Ab46VOfs=
 by: Kelvin Sherlock - Sun, 20 Jun 2021 22:43 UTC

I did some poking and it turns out that when you remap caps-lock to
control, MacOS generates a RIGHT control keycode. (this is unique
to control; option and command generate LEFT keycodes). For the IIgs
(and many other emulators), MAME only has the left control wired up.
For now, you could delete -> tab -> input and remap the control key
to work with RCONTROL.

The next Ample update might have both control keys wired up by default.

-------
ProLine: kelvin@pro-kegs

Re: mb-audit: a Mockingboard test suite for emulators

<40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=94&group=comp.emulators.apple2#94

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:620a:1281:: with SMTP id w1mr16285027qki.261.1624708940262;
Sat, 26 Jun 2021 05:02:20 -0700 (PDT)
X-Received: by 2002:ac8:4796:: with SMTP id k22mr8822462qtq.22.1624708939009;
Sat, 26 Jun 2021 05:02:19 -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: Sat, 26 Jun 2021 05:02:18 -0700 (PDT)
In-Reply-To: <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<Hd6dndbanLsxvFn9nZ2dnUU7-TvNnZ2d@giganews.com> <957021d2-06c7-4cc4-baea-04a01bf9c7b1n@googlegroups.com>
<bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sat, 26 Jun 2021 12:02:20 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sat, 26 Jun 2021 12:02 UTC

On Sunday, 13 June 2021 at 17:11:07 UTC+1, TomCh wrote:
> > You are of course correct, I was misunderstanding what the test was doing.
> > I'm now up to test 11:0F:00 failing, this one is slightly tricky for me to
> > get right (I found it simpler to have the IFR update one cycle after the
> > interrupt is signaled, and now I have to do this "right").
> >
> > Your code is excellent documentation for the 6522--it was unclear to me what
> > Timer1 values cycled through in one-shot mode (now it's clear it's the same
> > as free-running, it releads from the latched value after counting from N to 0
> > to -1, and then reloading to N). But Test 11:0A:xx tests this very
> > nicely.
> >
> Thanks - good to hear that it's providing some good value for you.
> > I have a suggestion for 11:0E:00: you call the monitor routine WAIT to wait
> > a number of cycles--and you care about the exact number of cycles elapsed
> > (well, really you care about cycles mod 2, so if it's off by a multiple of
> > 2 it's fine). WAIT on a IIgs is not cycle accurate, and it might not be
> > on other monitor ROMs either since the WAIT description says it waits a
> > minimum number of microseconds. So the IIgs ROM has extra code to ensure
> > the CPU is running at slow speed, and this adds extra time. You would be
> > better off creating your own WAIT in your code so that it's consistent
> > regardless of the monitor code in ROM.
> Ah, I don't know much about the IIgs, so that's an important suggestion about removing the dependency on WAIT for any timing sensitive tests. I will include it in a future update.
>
> btw, how do I test this .dsk with a IIgs emulator? (My IIgs knowledge is poor)
> On Windows, I'm using MAME, eg. with this command line:
> mame apple2gs -w -sl4 mockingboard -flop1 mb-audit.dsk
>
> But when I boot mb-audit.dsk then I just get the "No Mockingboard detected!" message.
> So presumably the slot ROM isn't switched in. Should the mb-audit code be explicitly switching it in for the IIgs?
>
> Thanks,
> Tom

OK, thanks Pete & Kent - I've now got mb-audit.dsk at least detecting a Mockingboard under MAME:
ie, from Control Panel, set:
- System Speed=Normal
- Slot-4=Your card

And Kent, I built a new v0.7-beta here: https://github.com/tomcw/mb-audit/releases/tag/v0.7-beta
This fixes a IIgs interrupt/user-land race condition (in 6522 test 1) and also uses a local copy of WAIT, as you suggested.

Tom

Re: mb-audit: a Mockingboard test suite for emulators

<XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=95&group=comp.emulators.apple2#95

 copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 26 Jun 2021 09:44:54 -0500
Newsgroups: comp.emulators.apple2
Subject: Re: mb-audit: a Mockingboard test suite for emulators
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com> <40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com>
Organization: provalid.com
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: keg...@provalid.com (Kent Dickey)
Originator: kegs@provalid.com (Kent Dickey)
Message-ID: <XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>
Date: Sat, 26 Jun 2021 09:44:54 -0500
Lines: 32
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-QYkqJscP4ggaOo5tVQCZIe3AS8eNgMf2fAsi1diM04XOWTaWOAvPWjsUJWHQRlu+r6vu0qZ4uOxejnR!f9zOPU0kywV11wCjhXN1ft6CZA6oE/lJxy4Ix+QCLH0glyj7GHUBzVCTsChrqWKh9RpFuC9+s7E=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2613
X-Received-Bytes: 2823
 by: Kent Dickey - Sat, 26 Jun 2021 14:44 UTC

In article <40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com>,
TomCh <tomcharlesworth26@gmail.com> wrote:
>OK, thanks Pete & Kent - I've now got mb-audit.dsk at least detecting a
>Mockingboard under MAME:
>ie, from Control Panel, set:
>- System Speed=Normal
>- Slot-4=Your card
>
>And Kent, I built a new v0.7-beta here:
>https://github.com/tomcw/mb-audit/releases/tag/v0.7-beta
>This fixes a IIgs interrupt/user-land race condition (in 6522 test 1)
>and also uses a local copy of WAIT, as you suggested.
>
>Tom

This is great! I can get this to pass on KEGS when running as a IIgs using
the settings you listed (Speed=Normal, Slot 4=Your Card), even with Reset.
Nice work.

However, I have two more requests, both low priority: Can you change T6522_1
so that it doesn't hang if the interrupt doesn't arrive? Just put in a
timeout of some sort?

And second, can you change the T6522_1 Timer1 value from $0303 to $0404?
I like to run KEGS in a special forced 1MHz mode when running Apple II
programs, where it ignores the SPEEDREG and always runs at 1MHz and never
2.8MHz. And when I do that with mb-audit v0.7-beta, then T6522_1
hangs since I'm slowing down the ROM interrupt handler (which manipulates the
speed register and so would normally run at 2.8MHz) and so the interrupt
occurs before the T6522_1 code wants it to, and mb-audit hangs.

Kent

Re: mb-audit: a Mockingboard test suite for emulators

<6a51fb7d-6758-43b9-9221-7a1cfcd7550en@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=100&group=comp.emulators.apple2#100

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a0c:bf4b:: with SMTP id b11mr19720922qvj.11.1624771238037; Sat, 26 Jun 2021 22:20:38 -0700 (PDT)
X-Received: by 2002:aed:30b1:: with SMTP id 46mr11061438qtf.257.1624771237814; Sat, 26 Jun 2021 22:20:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.emulators.apple2
Date: Sat, 26 Jun 2021 22:20:37 -0700 (PDT)
In-Reply-To: <XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=61.244.121.222; posting-account=8tXwLAoAAABaxUHrE6fGyJgcerwAfaOy
NNTP-Posting-Host: 61.244.121.222
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com> <bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com> <40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com> <XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a51fb7d-6758-43b9-9221-7a1cfcd7550en@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: johnsonl...@gmail.com (johnsonlam.hk)
Injection-Date: Sun, 27 Jun 2021 05:20:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: johnsonlam.hk - Sun, 27 Jun 2021 05:20 UTC

Hi,

Probably Tom did not have time to deal with non-standard Mockingboard compatible card, but whatever I tested with "mb-audit 0.7beta":

https://photos.app.goo.gl/Yye9m5Q4CkXoUhPT6

Rgds,
Johnson.

Re: mb-audit: a Mockingboard test suite for emulators

<d349613d-290a-415e-b106-29d6f96a035en@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=101&group=comp.emulators.apple2#101

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a37:9445:: with SMTP id w66mr3730968qkd.410.1624783471505;
Sun, 27 Jun 2021 01:44:31 -0700 (PDT)
X-Received: by 2002:ac8:6f39:: with SMTP id i25mr6393640qtv.315.1624783471244;
Sun, 27 Jun 2021 01:44:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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: Sun, 27 Jun 2021 01:44:31 -0700 (PDT)
In-Reply-To: <6a51fb7d-6758-43b9-9221-7a1cfcd7550en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>
<40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com> <XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>
<6a51fb7d-6758-43b9-9221-7a1cfcd7550en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d349613d-290a-415e-b106-29d6f96a035en@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sun, 27 Jun 2021 08:44:31 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sun, 27 Jun 2021 08:44 UTC

On Sunday, 27 June 2021 at 06:20:38 UTC+1, johnsonlam.hk wrote:
> Hi,
>
> Probably Tom did not have time to deal with non-standard Mockingboard compatible card, but whatever I tested with "mb-audit 0.7beta":
>
> https://photos.app.goo.gl/Yye9m5Q4CkXoUhPT6
>
> Rgds,
> Johnson.

Hi Johnson,

Thanks for sharing screenshots about this compatibility issue.
I've created a new issue (here: https://github.com/tomcw/mb-audit/issues/5) to track this.
I will attempt to add support in an updated release.

Tom

Re: mb-audit: a Mockingboard test suite for emulators

<b0acc932-1582-4db9-b4bf-ab50cefd044fn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=102&group=comp.emulators.apple2#102

 copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ac8:4741:: with SMTP id k1mr8282842qtp.374.1624784073291;
Sun, 27 Jun 2021 01:54:33 -0700 (PDT)
X-Received: by 2002:a37:997:: with SMTP id 145mr17432023qkj.243.1624784073154;
Sun, 27 Jun 2021 01:54:33 -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: Sun, 27 Jun 2021 01:54:32 -0700 (PDT)
In-Reply-To: <XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.37.130.64; posting-account=DLBwwAkAAAC8N9ITt9V8yG_qG8jSKn3X
NNTP-Posting-Host: 82.37.130.64
References: <3c0dd125-33a0-40e8-8868-642a784527adn@googlegroups.com>
<bsCdnQluHsm8Glj9nZ2dnUU7-LPNnZ2d@giganews.com> <18d2000d-d9cd-46dd-b4cd-068c0f6bc36cn@googlegroups.com>
<40563a34-8e95-4a80-96a1-bd29cd228605n@googlegroups.com> <XcadneICtZ_7oEr9nZ2dnUU7-aXNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b0acc932-1582-4db9-b4bf-ab50cefd044fn@googlegroups.com>
Subject: Re: mb-audit: a Mockingboard test suite for emulators
From: tomcharl...@gmail.com (TomCh)
Injection-Date: Sun, 27 Jun 2021 08:54:33 +0000
Content-Type: text/plain; charset="UTF-8"
 by: TomCh - Sun, 27 Jun 2021 08:54 UTC

On Saturday, 26 June 2021 at 15:44:59 UTC+1, Kent Dickey wrote:
> TomCh wrote:
> >OK, thanks Pete & Kent - I've now got mb-audit.dsk at least detecting a
> >Mockingboard under MAME:
> >ie, from Control Panel, set:
> >- System Speed=Normal
> >- Slot-4=Your card
> >
> >And Kent, I built a new v0.7-beta here:
> >https://github.com/tomcw/mb-audit/releases/tag/v0.7-beta
> >This fixes a IIgs interrupt/user-land race condition (in 6522 test 1)
> >and also uses a local copy of WAIT, as you suggested.
> >
> >Tom
> This is great! I can get this to pass on KEGS when running as a IIgs using
> the settings you listed (Speed=Normal, Slot 4=Your Card), even with Reset.
> Nice work.
>
> However, I have two more requests, both low priority: Can you change T6522_1
> so that it doesn't hang if the interrupt doesn't arrive? Just put in a
> timeout of some sort?
>
> And second, can you change the T6522_1 Timer1 value from $0303 to $0404?
> I like to run KEGS in a special forced 1MHz mode when running Apple II
> programs, where it ignores the SPEEDREG and always runs at 1MHz and never
> 2.8MHz. And when I do that with mb-audit v0.7-beta, then T6522_1
> hangs since I'm slowing down the ROM interrupt handler (which manipulates the
> speed register and so would normally run at 2.8MHz) and so the interrupt
> occurs before the T6522_1 code wants it to, and mb-audit hangs.
>
> Kent

Hi Kent,

Both of those requests are fine, so I've created a new issue to track them. I'll post back here when I make a new release.

And great to hear you have KEGS now passing all the mb-audit 0.7-beta tests in your latest KEGS release!

Tom

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor