Skip to content

Release Version 22.05.04 Emulator Core code Cleanup

Compare
Choose a tag to compare
@gatuno1 gatuno1 released this 26 May 23:21
· 20 commits to master since this release

Release Version 22.05.04 Emulator Core code Cleanup

Commit d2613c4 Bugfix VGA & television not working

  • Fixes bug on clearing arrays that broke VGA and television plugins, on PropellerCPU.cs.

Commit 0b06168 Code cleanup on PropellerCPU

  • Ordered update of ClockMode, XtalFrequency & CoreFrequency in HubView, using event detection when that properties changes in PropellerCPU. Files: HubView.cs, HubView.Designer.cs, Emulator.cs and PropellerCPU.cs.
  • Code cleanup in files: specially on PropellerCPU.cs, but also in NativeCog.cs, InterpretedCog.cs, Cog.cs.
    • Added Cog.CogNum property that replace PropellerCPU.CogID().
    • Changed method names to Cog.RequestHubOperation() and PropellerCPU.ExecuteHubOperation() to clarify the colaboration between classes.
    • Refactored naming and visibility of members, parameters and local variables in classes, methods and enums.
    • Added legacy TODO tags in Doxygen documentation, and also identify paralellism points.
    • Put extra UserControl documentation of SPIN interpreted code at the end of methods, lefting more cleaner the headers of methods.
    • Added XML & Doxygen comments in files.
  • Added first version of documentation of target .Net Framework and C# versions Gear_Emulator_C#_Versions.md.

Commit bf3509d Code cleanup on NativeCog

Commit 484a19e Code cleanup on InterpretedCog

  • Corrected visibility of abstract method Cog.Boot() to private protected, affecting descendents classes InterpretedCog and NativeCog.
  • Code cleanup in files: specially InterpretedCog.cs.
    • Refactored naming and visibility of members, parameters and local variables in classes, methods and enums.
    • Added XML & Doxygen comments in files.

Commit 2db28c5 PASM Condition codes to be intuitive evaluated

  • Invert sense of return value on Cog.ConditionCompare(), to a intuitive one: Returns TRUE if logic condition is valid, else FALSE. Files: Cog.cs, FreqGenerator.cs, NativeCog.cs.