Virtualc64: EasyFlash test fails

Created on 30 Oct 2018  路  3Comments  路  Source: dirkwhoffmann/virtualc64

Hi,
I noticed that VirtualC64 does not pass the EasyFlash test (press "spacebar" too):
EasyFlash_Test.crt.zip

schermata 2018-10-30 alle 23 47 13
schermata 2018-10-30 alle 23 50 51

bug

Most helpful comment

If RAM is unmapped, one gets the most recent phi1 value (in clock phase phi1, VICII owns the bus).

Hence, the old code

case M_NONE:
    // what happens if RAM is unmapped?
    return ram[addr];

needs to be replaced by:

 case M_NONE:
    return c64->vic.getDataBusPhi1();

bildschirmfoto 2018-11-01 um 14 05 05

All 3 comments

Seems to be a more general issue, related to Ultimax mode. In mode 00 and 01, range $A000 - $BFFF is mapped to RAM, but the RAM is not visible in Ultimax mode.

bildschirmfoto 2018-11-01 um 13 30 00

Need to find out which value is returned if RAM is "BLANK".

If RAM is unmapped, one gets the most recent phi1 value (in clock phase phi1, VICII owns the bus).

Hence, the old code

case M_NONE:
    // what happens if RAM is unmapped?
    return ram[addr];

needs to be replaced by:

 case M_NONE:
    return c64->vic.getDataBusPhi1();

bildschirmfoto 2018-11-01 um 14 05 05

Now it works, this issue can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dada08ms picture dada08ms  路  39Comments

Alessandro1970 picture Alessandro1970  路  46Comments

puleyo picture puleyo  路  23Comments

Alessandro1970 picture Alessandro1970  路  29Comments

dirkwhoffmann picture dirkwhoffmann  路  41Comments