rasz_pl wrote on 2023-02-08, 13:59:
afaik no need unless you are enabling cache and need to reset if first, 00 should suffice
So I did get my Optiplex GN+ Pentium MMX 166MHz board up and running, hurrah! As suspected the BIOS gives no L2 cache control so I eagerly tried my TweakPCI solutions and... nope, well it reported changing the Cache and then promptly hung the machine. I also tried setting Secondary Cache Force Miss or Invalidate (SCFMI) to 1 to try invalidating the cache first - also hung the machine. And disabling First Level Cache Enable (FLCE), also hang. I finally tried putting the Secondary Cache Size (SCS) to "00" in Autoexec.bat to see if doing it earlier in DOS's run stopped it crashing, nope, still hang. So maybe this is something that needs to be set by the BIOS during POST before RAM is active?
A little odd that setting Secondary Cache Force Miss or Invalidate (SCFMI) to '1' crashed it as the 430TX MTXC datasheet says that:
Software can flush the cache (cause all modified lines to be written back to DRAM) by setting SCFMI to a 1 with the L2 enabled (non-zero SCS, FLCE=1), and reading all L2 cache tag address locations. See FLCE bit description for FLCE/SCFMI interaction.
But maybe I need to do the tag reading before DOS trys to take back control? I know nothing of how cache works, so would need to LVL-UP to write something like "reading all L2 cache tag address locations"...
Interested if anyone has any thoughts on this.