[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64/65 Cycle Rule?



Sheldon Simms <sheldonsimms@yahoo.com> writes:
> I find the main slowdown for my emulator is the double-indirection on
> all memory references required(*) to simulate the bank-switching
> capabilites of the IIe.
> 
> (*) I have just recently thought of an alternate approach that may
> remove one level of indirection

Can't you manipulate the page tables to effect bank switching?
Under Linux this should be possible with mmap(); I think there's some
equivalent in Win32.

> but I haven't coded it yet so I don't
> know if will be better (or even work at all) in fact.

I'm not sure that mmap() will be faster either.