Sakura-IT / SonnetAmiga

Reimplementation of WarpOS supporting Sonnet Crescendo 7200 and other PowerPC PCI cards (mirror of CVS development repository).
MIT License
39 stars 3 forks source link

DefIcons slows down sonnet library #42

Closed DvdBoon closed 7 years ago

DvdBoon commented 7 years ago

A major slowdown is noticed when InitPPC is part of the startup-sequence. This has been pinpointed to DefIcons in WBStartup. Removing/Renaming ENVARC:deficons.prefs solves this. It appears that the reading of files of DefIcons conflicts with the LoadSeg patch of the library.

DvdBoon commented 7 years ago

Using SnoopDOS one can see that DefIcons loads ENV:DefIcons.prefs over and over every few milliseconds. This shows down the system. With the latest build (275), the LoadSeg() patch looks whether it was invoked by a process called DefIcons. If so, then the normal LoadSeg() code is called immediately.

This should fix the problem.

DvdBoon commented 7 years ago

Working now as per build 278.