Welcome, Guest. Please login or register.

Author Topic: Using fastram to boost AmigaOS 3.5?  (Read 1724 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Using fastram to boost AmigaOS 3.5?
« on: January 18, 2004, 06:00:42 PM »
Icon imagery isn't cached. Even default icons read the env:sys/def_xxx.info files.

I've often thought about a patch for the icon.library for this purpose that would store the actual image data into some sort of LRU cache that was user sizeable.

You would always have to open the icon file to access the tooltypes and so forth, but cacheing the imagery would speed it up considerably, especially if you store it in a method best suited for the graphics hardware.

You just need to make sure your cacheing mechanism can catch any changes made to the icon.

int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Using fastram to boost AmigaOS 3.5?
« Reply #1 on: January 18, 2004, 09:22:46 PM »
Quote

chris wrote:
Rather than just caching icons, wouldn't it be better to run a disk cache patch?

Chris


A dedicated cache for the icon image data (stored in decoded format best suited for the display) could outperform a generic disk cache considerably. On some systems, the images could even be held in VRAM, for example.
int p; // A