Tim0xA, svn update ;)
Код:Log message T80/8080 Mode (Mode 2) CPU Fixes: 1. ALU-based subtractions have AC flag inverted, SUB/SBB/DCR... 2. RRC/RLC/RAL/RAR only modify C flag 3. STC/CMC/CMA do not change AC flag 4. ALU AND operation sets AC flag to (BusA(3)|BusB(3)) 5. DAD instruction does not modify AC flag 6. RESET does not change Flags, SP and Accumulator, only PC is set to zero The fixes above make this core pass all known 8080 CPU tests. Results of 8080 Executioner match those of real CPU, tested on Vector-06c with KR580VM80A. Audio clocks are generated by another PLL for the time being: tape loading didn't work otherwise. Affected files expand all collapse all Modify /trunk/src/T80/T80.vhd diff Modify /trunk/src/T80/T80_ALU.vhd diff Modify /trunk/src/altmodules/mclk14mhz.v diff Modify /trunk/src/clockster.v diff




Ответить с цитированием