Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

If graphics hackers are so smart, why can't they get the bugs out of fresh paint?


devel / comp.emulators.apple2 / It's only about 90% working, but...

SubjectAuthor
* It's only about 90% working, but...Steve Nickolas
+- It's only about 90% working, but...peter....@gmail.com
`* It's only about 90% working, but...peter....@gmail.com
 `* It's only about 90% working, but...Steve Nickolas
  +* It's only about 90% working, but...peter....@gmail.com
  |`* It's only about 90% working, but...peter....@gmail.com
  | `* It's only about 90% working, but...Steve Nickolas
  |  +* It's only about 90% working, but...peter....@gmail.com
  |  |`* It's only about 90% working, but...Vladimir Ivanov
  |  | `- It's only about 90% working, but...Steve Nickolas
  |  `* It's only about 90% working, but...peter....@gmail.com
  |   `* It's only about 90% working, but...peter....@gmail.com
  |    `- It's only about 90% working, but...Steve Nickolas
  `- It's only about 90% working, but...peter....@gmail.com

1
It's only about 90% working, but...

<alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.emulators.apple2
Subject: It's only about 90% working, but...
Date: Wed, 10 Aug 2022 21:34:35 -0400
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: reader01.eternal-september.org; posting-host="08064857862e3aa1b86a3898163e2d81";
logging-data="2088229"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FE3vThWiil6JHpPvU8yaoFw2CHLP7VMs="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:7XAApuCgNluuARbWfFXncOaV1C4=
X-X-Sender: mary@sd-119843.dedibox.fr
 by: Steve Nickolas - Thu, 11 Aug 2022 01:34 UTC

https://github.com/buricco/lemur

I'm having trouble with the CPU core (there's two slightly different
variants of the core in the source). There's some other less significant
bugs. I'm trying to teach myself 8086 ASM, but with that said, I think
I've had the same issue with my C attempt at a 6502 core.

-uso.

Re: It's only about 90% working, but...

<bb368cc8-ef09-4b04-bc28-ae8882cb55b4n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a37:dcc7:0:b0:6b8:e3c2:3e3 with SMTP id v190-20020a37dcc7000000b006b8e3c203e3mr159559qki.213.1660241803196;
Thu, 11 Aug 2022 11:16:43 -0700 (PDT)
X-Received: by 2002:a05:620a:1a87:b0:6b6:d63:cb80 with SMTP id
bl7-20020a05620a1a8700b006b60d63cb80mr153799qkb.575.1660241802876; Thu, 11
Aug 2022 11:16: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: Thu, 11 Aug 2022 11:16:42 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:50b6:c821:966f:70b3;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:50b6:c821:966f:70b3
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bb368cc8-ef09-4b04-bc28-ae8882cb55b4n@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Thu, 11 Aug 2022 18:16:43 +0000
Content-Type: text/plain; charset="UTF-8"
 by: peter....@gmail.com - Thu, 11 Aug 2022 18:16 UTC

Do you have test-cases that reproduce the wrong behaviour(s)?

Re: It's only about 90% working, but...

<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:620a:44c3:b0:6b5:fb6b:d6c9 with SMTP id y3-20020a05620a44c300b006b5fb6bd6c9mr148799qkp.537.1660241818003;
Thu, 11 Aug 2022 11:16:58 -0700 (PDT)
X-Received: by 2002:a05:620a:2452:b0:6b9:78c8:bb9b with SMTP id
h18-20020a05620a245200b006b978c8bb9bmr151468qkn.713.1660241817771; Thu, 11
Aug 2022 11:16:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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: Thu, 11 Aug 2022 11:16:57 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:50b6:c821:966f:70b3;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:50b6:c821:966f:70b3
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Thu, 11 Aug 2022 18:16:57 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1269
 by: peter....@gmail.com - Thu, 11 Aug 2022 18:16 UTC

Do you have test-cases that reproduce the wrong behaviour(s)?

Re: It's only about 90% working, but...

<alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.emulators.apple2
Subject: Re: It's only about 90% working, but...
Date: Thu, 11 Aug 2022 18:11:29 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr> <6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: reader01.eternal-september.org; posting-host="facb843f41841c582a985cbd8c682ff6";
logging-data="2405590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wcaDvnT9SRhUNObL9Jdz+leb/WuTfaKE="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:5krCmyj+5JUZcINl55+KW50dvPI=
X-X-Sender: mary@sd-119843.dedibox.fr
In-Reply-To: <6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com>
 by: Steve Nickolas - Thu, 11 Aug 2022 22:11 UTC

On Thu, 11 Aug 2022, peter....@gmail.com wrote:

> Do you have test-cases that reproduce the wrong behaviour(s)?

The monitor is unusable at this point.

With an Integer ROM, negative numbers result in a >32767 error.

With FPBASIC, decimals are computed incorrectly; NEXT results in NEXT
WITHOUT FOR even if there is a FOR; whole numbers that result in
scientific notation (i.e., 1000000000 or higher) cause FPBASIC to go off
the rails and appear to freeze.

-uso.

Re: It's only about 90% working, but...

<497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:620a:28cf:b0:6b5:e32f:febb with SMTP id l15-20020a05620a28cf00b006b5e32ffebbmr1315747qkp.258.1660267592909;
Thu, 11 Aug 2022 18:26:32 -0700 (PDT)
X-Received: by 2002:a05:620a:1a01:b0:6b5:af87:aaf3 with SMTP id
bk1-20020a05620a1a0100b006b5af87aaf3mr1390906qkb.42.1660267592707; Thu, 11
Aug 2022 18:26:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Thu, 11 Aug 2022 18:26:32 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:481e:b8e:49a0:1c12;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:481e:b8e:49a0:1c12
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Fri, 12 Aug 2022 01:26:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1468
 by: peter....@gmail.com - Fri, 12 Aug 2022 01:26 UTC

Your overflow checking is wrong. That's causing the >32767 issue.
V is the result of the XOR of bits 6 and 7, not simply the value of bit 6.

Re: It's only about 90% working, but...

<175cf054-570e-499a-accb-d284e1842f0an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:622a:50a:b0:343:55d9:13ee with SMTP id l10-20020a05622a050a00b0034355d913eemr1761170qtx.415.1660267607690;
Thu, 11 Aug 2022 18:26:47 -0700 (PDT)
X-Received: by 2002:a37:b041:0:b0:6b5:ce22:62c8 with SMTP id
z62-20020a37b041000000b006b5ce2262c8mr1353510qke.640.1660267607498; Thu, 11
Aug 2022 18:26:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Thu, 11 Aug 2022 18:26:47 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:481e:b8e:49a0:1c12;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:481e:b8e:49a0:1c12
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <175cf054-570e-499a-accb-d284e1842f0an@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Fri, 12 Aug 2022 01:26:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1465
 by: peter....@gmail.com - Fri, 12 Aug 2022 01:26 UTC

Your overflow checking is wrong. That's causing the >32767 issue.
V is the result of the XOR of bits 6 and 7, not simply the value of bit 6.

Re: It's only about 90% working, but...

<1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:622a:230e:b0:343:616b:1f88 with SMTP id ck14-20020a05622a230e00b00343616b1f88mr1688381qtb.457.1660267928091;
Thu, 11 Aug 2022 18:32:08 -0700 (PDT)
X-Received: by 2002:a05:620a:f0d:b0:6b5:473d:d4b with SMTP id
v13-20020a05620a0f0d00b006b5473d0d4bmr1432566qkl.6.1660267927888; Thu, 11 Aug
2022 18:32:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Thu, 11 Aug 2022 18:32:07 -0700 (PDT)
In-Reply-To: <497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:481e:b8e:49a0:1c12;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:481e:b8e:49a0:1c12
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
<497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Fri, 12 Aug 2022 01:32:08 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1431
 by: peter....@gmail.com - Fri, 12 Aug 2022 01:32 UTC

or, rather, result ^ 0x80 & original value & 0x80.

Re: It's only about 90% working, but...

<alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.emulators.apple2
Subject: Re: It's only about 90% working, but...
Date: Thu, 11 Aug 2022 21:48:19 -0400
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr>
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr> <6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr> <497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>
<1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: reader01.eternal-september.org; posting-host="facb843f41841c582a985cbd8c682ff6";
logging-data="2535167"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mTqgNy37XWc7Asl9fblGREYJdyOHr2lA="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:7kvwqdLxyzDZXQh614XRodlK+zQ=
In-Reply-To: <1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
X-X-Sender: mary@sd-119843.dedibox.fr
 by: Steve Nickolas - Fri, 12 Aug 2022 01:48 UTC

On Thu, 11 Aug 2022, peter....@gmail.com wrote:

> or, rather, result ^ 0x80 & original value & 0x80.

Current code has same issue (non-macro version shown, macro version uses
%%4 and %%5 and "jmp" is omitted from the final line):

..4: or byte [rp], FLAG_V ; Unless [ra] and AL were same sign
mov ah, [ra] ; but output differs, set V.
and ax, 0x8080
xor ah, al
jnz .5 ; Inputs not the same sign: skip.
mov ah, bl
and ah, 0x80
xor ah, al
jnz .5 ; Output not the same sign: skip.
and byte [rp], ~FLAG_V
..5: mov al, bl
mov [ra], bl
jmp _setzn ; Set Z+N flags, then we're outtie

I've tested a couple ADCs' overflow bits (63+63, 64+64) between MAME and
my core.

-uso.

Re: It's only about 90% working, but...

<e45f37c4-8338-46ce-be5d-a57d55a0e2ebn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:620a:4726:b0:6b6:2239:f5f7 with SMTP id bs38-20020a05620a472600b006b62239f5f7mr1456480qkb.96.1660269372263;
Thu, 11 Aug 2022 18:56:12 -0700 (PDT)
X-Received: by 2002:a05:6214:e86:b0:476:6129:25fc with SMTP id
hf6-20020a0562140e8600b00476612925fcmr1728130qvb.9.1660269371975; Thu, 11 Aug
2022 18:56:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Thu, 11 Aug 2022 18:56:11 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:481e:b8e:49a0:1c12;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:481e:b8e:49a0:1c12
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
<497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com> <1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
<alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e45f37c4-8338-46ce-be5d-a57d55a0e2ebn@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Fri, 12 Aug 2022 01:56:12 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1734
 by: peter....@gmail.com - Fri, 12 Aug 2022 01:56 UTC

mov ah, bl
xor ah, 0x80
and ah, [ra] ; but output differs, set V.
and ah, 0x80
jnz %%5 ; Output is different sign: skip.

Re: It's only about 90% working, but...

<8654782a-21d3-47e6-8542-427d567d8734n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:a05:620a:408a:b0:6b6:1aa6:21ec with SMTP id f10-20020a05620a408a00b006b61aa621ecmr1412394qko.735.1660269387280;
Thu, 11 Aug 2022 18:56:27 -0700 (PDT)
X-Received: by 2002:a37:692:0:b0:6ba:c6e2:f39 with SMTP id 140-20020a370692000000b006bac6e20f39mr686543qkg.320.1660269387053;
Thu, 11 Aug 2022 18:56:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.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: Thu, 11 Aug 2022 18:56:26 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:481e:b8e:49a0:1c12;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:481e:b8e:49a0:1c12
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
<497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com> <1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
<alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8654782a-21d3-47e6-8542-427d567d8734n@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Fri, 12 Aug 2022 01:56:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: peter....@gmail.com - Fri, 12 Aug 2022 01:56 UTC

mov ah, bl
xor ah, 0x80
and ah, [ra] ; but output differs, set V.
and ah, 0x80
jnz %%5 ; Output is different sign: skip.

Re: It's only about 90% working, but...

<7641c8a5-a4b8-4545-974d-e41d108aabcbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ac8:7d01:0:b0:343:5914:6419 with SMTP id g1-20020ac87d01000000b0034359146419mr1835724qtb.538.1660271454112;
Thu, 11 Aug 2022 19:30:54 -0700 (PDT)
X-Received: by 2002:a05:620a:2721:b0:6ba:c74f:1e04 with SMTP id
b33-20020a05620a272100b006bac74f1e04mr702413qkp.605.1660271453902; Thu, 11
Aug 2022 19:30:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Thu, 11 Aug 2022 19:30:53 -0700 (PDT)
In-Reply-To: <8654782a-21d3-47e6-8542-427d567d8734n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:34b:481e:b8e:49a0:1c12;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:34b:481e:b8e:49a0:1c12
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
<497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com> <1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
<alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr> <8654782a-21d3-47e6-8542-427d567d8734n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7641c8a5-a4b8-4545-974d-e41d108aabcbn@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: peter.ferrie@gmail.com (peter....@gmail.com)
Injection-Date: Fri, 12 Aug 2022 02:30:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1640
 by: peter....@gmail.com - Fri, 12 Aug 2022 02:30 UTC

My service provider has issues with newsgroups. The double-posting is not on purpose.

Re: It's only about 90% working, but...

<alpine.DEB.2.21.2208112238010.30510@sd-119843.dedibox.fr>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.emulators.apple2
Subject: Re: It's only about 90% working, but...
Date: Thu, 11 Aug 2022 22:38:30 -0400
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <alpine.DEB.2.21.2208112238010.30510@sd-119843.dedibox.fr>
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr> <6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr> <497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>
<1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com> <alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr> <8654782a-21d3-47e6-8542-427d567d8734n@googlegroups.com> <7641c8a5-a4b8-4545-974d-e41d108aabcbn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: reader01.eternal-september.org; posting-host="facb843f41841c582a985cbd8c682ff6";
logging-data="2543589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MhRCLAZKAsOPDherSqGV6R6XlOQQaagk="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:ePB2zHroA3xBnozfwWymmuhl/PQ=
In-Reply-To: <7641c8a5-a4b8-4545-974d-e41d108aabcbn@googlegroups.com>
X-X-Sender: mary@sd-119843.dedibox.fr
 by: Steve Nickolas - Fri, 12 Aug 2022 02:38 UTC

On Thu, 11 Aug 2022, peter....@gmail.com wrote:

> My service provider has issues with newsgroups. The double-posting is not on purpose.
>

Ah, I've been using Eternal September since my *previous* ISP dropped them
(my current ISP dropped them around the same time but I wasn't with them
then).

-uso.

Re: It's only about 90% working, but...

<8410c358-930b-4d17-99c2-5cf15a9bb63dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
X-Received: by 2002:ac8:5ad1:0:b0:343:5e13:795d with SMTP id d17-20020ac85ad1000000b003435e13795dmr6543016qtd.625.1660372242118;
Fri, 12 Aug 2022 23:30:42 -0700 (PDT)
X-Received: by 2002:a05:6214:d68:b0:479:90e7:37d1 with SMTP id
8-20020a0562140d6800b0047990e737d1mr6504322qvs.73.1660372241996; Fri, 12 Aug
2022 23:30:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.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: Fri, 12 Aug 2022 23:30:41 -0700 (PDT)
In-Reply-To: <e45f37c4-8338-46ce-be5d-a57d55a0e2ebn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=93.152.140.180; posting-account=hnO5lAoAAAAMZxSUFestw97yhun5cAuY
NNTP-Posting-Host: 93.152.140.180
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr>
<6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr>
<497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com> <1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com>
<alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr> <e45f37c4-8338-46ce-be5d-a57d55a0e2ebn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8410c358-930b-4d17-99c2-5cf15a9bb63dn@googlegroups.com>
Subject: Re: It's only about 90% working, but...
From: vladitx@gmail.com (Vladimir Ivanov)
Injection-Date: Sat, 13 Aug 2022 06:30:42 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2284
 by: Vladimir Ivanov - Sat, 13 Aug 2022 06:30 UTC

On Friday, August 12, 2022 at 4:56:12 AM UTC+3, peter....@gmail.com wrote:
> mov ah, bl
> xor ah, 0x80
> and ah, [ra] ; but output differs, set V.
> and ah, 0x80
> jnz %%5 ; Output is different sign: skip.

Interesting topic.

One funny approach I used when developing Apple II emulator on a XT circa 1990 was to directly keep N/V/Z/C/ in their 8086 counterparts, then use POPF/PUSHF and get free results whenever possible. There was also code to do fixups now and then, as expected.

Example of ROL:

// ...
popf
rcl byte ptr [bx], 1
pushf
// ...

Same holds true for bunch of other ALU operations.

Looking back, I could've went with more profiling and compare this approach to others, but then again I was just a kid - learning and having fun.

Re: It's only about 90% working, but...

<alpine.DEB.2.21.2208130856100.11716@sd-119843.dedibox.fr>

  copy mid

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

  copy link   Newsgroups: comp.emulators.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.emulators.apple2
Subject: Re: It's only about 90% working, but...
Date: Sat, 13 Aug 2022 08:56:55 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <alpine.DEB.2.21.2208130856100.11716@sd-119843.dedibox.fr>
References: <alpine.DEB.2.21.2208102130320.20155@sd-119843.dedibox.fr> <6061127c-108d-4ea7-a5a6-612e7b827318n@googlegroups.com> <alpine.DEB.2.21.2208111809200.28842@sd-119843.dedibox.fr> <497613d1-1fd6-4e39-9411-6e6c2c0823fbn@googlegroups.com>
<1ef98ea2-2818-4fa8-a6e6-19aa185bea33n@googlegroups.com> <alpine.DEB.2.21.2208112136530.30080@sd-119843.dedibox.fr> <e45f37c4-8338-46ce-be5d-a57d55a0e2ebn@googlegroups.com> <8410c358-930b-4d17-99c2-5cf15a9bb63dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: reader01.eternal-september.org; posting-host="43157d2715c10050a522e929cd097b91";
logging-data="2985725"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/t4JhEf8ckXTYPz34uRc1QGlF6qLoQcI4="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:5LZfZP17kFijFUVPf8pgtqgd3Ik=
X-X-Sender: mary@sd-119843.dedibox.fr
In-Reply-To: <8410c358-930b-4d17-99c2-5cf15a9bb63dn@googlegroups.com>
 by: Steve Nickolas - Sat, 13 Aug 2022 12:56 UTC

On Fri, 12 Aug 2022, Vladimir Ivanov wrote:

> On Friday, August 12, 2022 at 4:56:12 AM UTC+3, peter....@gmail.com wrote:
>> mov ah, bl
>> xor ah, 0x80
>> and ah, [ra] ; but output differs, set V.
>> and ah, 0x80
>> jnz %%5 ; Output is different sign: skip.
>
> Interesting topic.
>
> One funny approach I used when developing Apple II emulator on a XT
> circa 1990 was to directly keep N/V/Z/C/ in their 8086 counterparts,
> then use POPF/PUSHF and get free results whenever possible. There was
> also code to do fixups now and then, as expected.
>
> Example of ROL:
>
> // ...
> popf
> rcl byte ptr [bx], 1
> pushf
> // ...
>
> Same holds true for bunch of other ALU operations.
>
> Looking back, I could've went with more profiling and compare this
> approach to others, but then again I was just a kid - learning and
> having fun.
>

I believe that's what Randy Spurlock's emulator also did.

-uso.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor