Closed d-teif closed 3 years ago
It is possible to load a file into an EEPROM via the "Settings" at the start of the simulation.
Thanks, i haven't this option
De: "Helmut Neemann" @.> À: "hneemann/Digital" @.> Cc: "DIDIER TEIFRETO" @.>, "Author" @.> Envoyé: Mercredi 6 Octobre 2021 07:11:23 Objet: Re: [hneemann/Digital] Reload at start in EEPROM (#853)
It is possible to load a file into an EEPROM via the "Settings" at the start of the simulation.
— You are receiving this because you authored the thread. Reply to this email directly, [ https://github.com/hneemann/Digital/issues/853#issuecomment-935470954 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ANLBL6JTJ3WA6ZSYPC5NZHLUFPK7XANCNFSM5FLRUN7Q | unsubscribe ] . Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] .
@d-teif If you don't want to use this setting, the only way is to split the address range and to use a ROM together with an EEPROM.
Yes I do this now! I Just ask me why reload rom and not eeprom.
De: "Helmut Neemann" @.> À: "hneemann/Digital" @.> Cc: "DIDIER TEIFRETO" @.>, "Mention" @.> Envoyé: Mercredi 6 Octobre 2021 16:08:29 Objet: Re: [hneemann/Digital] Reload at start in EEPROM (#853)
[ https://github.com/d-teif | @d-teif ] If you don't want to use this setting, the only way is to split the address range and to use a ROM together with an EEPROM.
— You are receiving this because you were mentioned. Reply to this email directly, [ https://github.com/hneemann/Digital/issues/853#issuecomment-936304619 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ANLBL6LIW4CBGSCGQYPMBMDUFRJ53ANCNFSM5FLRUN7Q | unsubscribe ] . Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] .
Reloading the ROM does not change the ROM content stored in the circuit, but only replaces the content for that particular start of the simulation. If the simulation is stopped, the ROM content remains unchanged. This behavior collides with that of the EEPROM which will keep any change. The ROM load function is also a legacy function that has since been replaced by the initialize program memory setting. I would rather remove this legacy function than spread it further.
I know that EEPROM is maintening data when interrupt, but in some case, it will be helpful to reload data from file like in ROM. In my case, for convenience static data and dynamic data are in the same memory, so reloding static data at start will be helpful
Thanks in advance