1
0
mirror of https://github.com/simh/simh.git synced 2026-02-16 04:34:05 +00:00
Files
simh.simh/SAGE/m68k_cpu.c
Eric Scharff af713b78e1 Fix off-by-one in reading cache address from memory
Commit a9ac7c153 properly avoided writing past the end of cache_line,
but in doing so introduced an error as to the first memory address that
should be written. This fix avoids writing past the cache_line by simply
reading the previous memory location.

Fixes the CP/M 68K simulation example and issue #181
2015-01-22 21:58:56 -05:00

102 KiB