GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
173 stars 45 forks source link

Fix IEC and Printer objects initialization sequence #385

Closed rgc2000 closed 7 months ago

rgc2000 commented 7 months ago

Printer must register to IEC so IEC has to exist before Printer. And therefore, don't call Printer methods from IEC constructor. On previous firmware versions (up to 3.10j) IEC and Printer objects were statically declared at compilation time. Now they are dynamically created at system startup.