Vamiga: Test ddf2 fails

Created on 9 Jul 2019  路  7Comments  路  Source: dirkwhoffmann/vAmiga

Screenshot 2019-07-11 at 15 08 28

In the reference image, the first couple of red lines are not continuous at the right border.

Bug

All 7 comments

Screenshot 2019-07-12 at 18 44 13

Strange. In line 48, background color is red all along the line (this is why vAmiga draws the line continuously). I have no clue why the display should become black early in the scanline as it is the case in the SAE reference image. Would be interesting to see how it looks on a real Amiga.

Reference:

ddf2

I would like to test this on my real Amiga. But I first have to look for a new serial adapter to transfer the ADF to the Amiga 1000. I need a kind of female DB25 -> usb adaption. I will report screenshots here when I am done with it. ;-) I did this transfer in the past with an old PC with a db9 serial port but that PC is no more, it has already been thrown away.
EDIT: just bought the adapter, it should be arriving on thursday...

That would be awesome!!

At the moment we completely rely on the assumption that SAE / UAE is 100% accurate. Although I have a lot of confidence in the (functional) quality of UAE, some bug might still be hiding there, too.

Looks good now:

Screenshot 2019-07-17 at 10 33 20

ddf2 on real A1000

5799141B-2E92-4A95-9954-3355EC8201B1

As far as I can tell, the emulator images match the original. Thanks again, Mithrendal!

Original image is now part of the vAmigaTS repo.

For reference: This test looks differently on ECS machines.

Findings: Based on recent experiments I assume that the Amiga is equipped with a vertical and a horizontal DDF flipflop. When the horizontal raster beam passes DDFSTRT, the horizontal flipflop is set. When it passes DDFSTOP, the flipflop is cleared.

Test case ddf2 sets DDFSTOP to coordinate 0xE4 which is never reached by the horizontal counter (counter wraps over after 0xE2).

  • OCS Agnus (Mithrendal's A1000):

ddf2_a1000

From the image I conclude that the horizontal DDF flipflop gets cleared at the hardware stop, no matter what DDFSTOP says.

  • ECS Agnus (My A500 MMSE):

ddf2_A500_8A

From the image I conclude that the horizontal DDF flipflop is not cleared which causes the data fetch window to open at the earliest possible coordinate in the next line.

I don鈥檛 know if a real Amiga really has such a thing as a horizontal DDF flipflop, but this model allows me to reproduce both images 馃槑:

vAmiga with OCS Agnus:

Bildschirmfoto 2020-03-01 um 15 22 07

vAmiga with ECS Agnus:

Bildschirmfoto 2020-03-01 um 15 08 48

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bnice picture bnice  路  4Comments

dirkwhoffmann picture dirkwhoffmann  路  4Comments

dirkwhoffmann picture dirkwhoffmann  路  3Comments

dirkwhoffmann picture dirkwhoffmann  路  3Comments

dirkwhoffmann picture dirkwhoffmann  路  3Comments