[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC : SOME IDEAS FOR THE APPLE II FPGA'ers
>>>>> "JCB" == Jorge Chamorro Bieling <bieling@terra.es> writes:
JCB> So, getting the most of each and every memory cycle, or avoiding
JCB> them at all if possible makes a BIG difference.
FWIW the C64 DTV2 CPU core has features exactly like this. It's split
up into two parts:
1. Skip internal cycles
This eliminates the dummy read/write cycles and turns implied
addressing instructions (NOP, TAX, SEC, etc) into single cycle
instructions, avoids the extra cycle when you cross page
boundaries, and so on.
2. Burst mode
Since the DTV2 uses 32-bit DRAM, the core can read 4 bytes in one
go. As long as the instruction doesn't cross a word boundary,
it's read in a single cycle. Immediate addressed instructions
take only a single cycle to execute, absolute 2, indexed indirect
3, and so on.
As others have noted, this breaks a lot of software as it screws up
the timing, but it provides a decent performance boost.
--
___ . . . . . + . . o
_|___|_ + . + . + . Per Olofsson, arkadspelare
o-o . . . o + MagerValp@cling.gu.se
- + + . http://www.cling.gu.se/~cl3polof/