Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More optimized BANKED for SEQUENCE / IMAGES resources #427

Closed
spotlessmind1975 opened this issue Apr 4, 2022 · 1 comment
Closed

More optimized BANKED for SEQUENCE / IMAGES resources #427

spotlessmind1975 opened this issue Apr 4, 2022 · 1 comment
Labels
optimization Optimization pc128op Olivetti Prodest PC128 / Thomson MO6
Milestone

Comments

@spotlessmind1975
Copy link
Owner

If you use BANKED to manage the loading of elements, and you used BANKED(1) to stay in the available space, then it is likely that a part of the slowness is due to the "swapping" process between memory expansion and resident ram. It would be necessary to introduce a copy mechanism of the "frame" that is needed, instead of the whole resource. In that specific case, we will always copy even when it has already been copied, but a smaller amount of bytes. To understand, if an image occupied 500 bytes per frame and there were 10 frames, instead of copying 5,000 bytes only once, 500 bytes would be copied every time PUT IMAGE is used. It would clearly be 10x faster than if I only had BANKED(1).

@spotlessmind1975 spotlessmind1975 added pc128op Olivetti Prodest PC128 / Thomson MO6 optimization Optimization labels Apr 4, 2022
@spotlessmind1975 spotlessmind1975 added this to the 1.11 milestone Apr 4, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.11, 1.12 Apr 29, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.12, 1.14 Nov 10, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.13, 1.14 Feb 4, 2023
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.13.3, 1.14 Apr 27, 2023
@spotlessmind1975
Copy link
Owner Author

Implemented for PC128OP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Optimization pc128op Olivetti Prodest PC128 / Thomson MO6
Development

No branches or pull requests

1 participant