[Coco] VCC possible bug in 6309 & 6809 emulation and general Wally news!
zambotti at iinet.net.au
Mon Jun 11 22:10:44 EDT 2018
I am writing an emulation verifier that compares two emulators so unfortunately assumes one of them is correct.
The 6x09 manual I am using s from here:
From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of Richard Cavell
Sent: Tuesday, 12 June 2018 4:38 AM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Subject: Re: [Coco] VCC possible bug in 6309 & 6809 emulation and general Wally news!
What we really need is for someone to code a program that systematically tests this type of transfer, and run it on both real hardware and the emulators. Then bug report to any emulator that doesn’t produce the result that the real hardware arrives at.
Sent using the mail.com mail app
On 11/06/2018 at 14:41, Robert Gault wrote:
> Your observations of non-standard operations from the pdf are very
> interesting. The exchanges between 8-bit and 16-bit registers and a Zero register are definitely not in the Hitachi Data book.
> This information is also not mentioned in one of the better books on
> programming: "6809 Assembly Language Programming" by Lance A. Leventhal, McGraw-Hill.
> Nevertheless, I did run a test on my Coco3 which has a 6309 chip and
> non-equal register transfers work and there does seem to be a Zero register.
> A note to anyone using Tandy's EDTASM or my EDTASM6309, you can only
> perform these operations by manually programming them with FCB statements. The assemblers will reject code such as:
> TFR X,A or TFR Z,A . You can, however, enter ex. FCB $1F,$C8 which makes the 6309 clear regA.
> $1F=TFR and %1100xxxx or %1101xxxx = from Z and %xxxx1000 = to regA.
> Coco mailing list
> Coco at maltedmedia.com
Coco mailing list
Coco at maltedmedia.com
More information about the Coco