Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
39 user(s) are online (5 user(s) are browsing News)

Members: 0
Guests: 39

more...

Support us!

Headlines


Recent Replied Topics
Topic Replies Last Post  
AmigaOS4 SDL2 [1][2] ... [72][73][74][75] 1496 (717705) smarkusg Today 21:00
New Member Introduction Hello everyone!! 4 (266) Kirirur Today 19:53
AmigaOS4 EntwicklerX - Radon Break 10 (650) imagodespira Today 7:13
AmigaOS4 minigl crashes in A1222 and RadeonHD 6 (360) emeck Yesterday 16:31
AmigaOS4 Emulation Kyvos was updated [1][2] ... [11][12][13][14] 264 (34092) walkero Yesterday 12:48
AmigaOS4 scout: new os4 version 11 (810) jabirulo Yesterday 12:21
AmigaOS4 graphics drivers question, NVIDIA driver progress [1][2] 32 (2616) smarkusg 5/30 22:45
AmigaOS4 Make May AI Data-type month for OS 4 [1][2] 32 (2511) tekmage 5/29 17:32
AmigaOS4 pegasos2: rom reconstruction [1][2] ... [4][5][6][7] 120 (6272) smarkusg 5/28 21:03
AmigaOS4 Emulation What the fastest possible x64 emulation way of OS4 today ? [1][2] ... [79][80][81][82] 1625 (323757) kas1e 5/28 6:01
OS4Depot feedback adding a "by AI" tag? 3 (722) msteed 5/28 2:26
AmigaOS4 Apidya Special Edition 1 (446) nubechecorre 5/26 21:06
AmigaOS4 MPlayer 2026 SVN/CVS FFMPEG7.1/Vaapi [1][2] 20 (1334) Breed 5/25 16:03
AmigaOS4 infinite icons theme pack [1][2] ... [11][12][13][14] 274 (47840) n3m3 5/25 0:38
Amiga General Forum North East Amiga Group 2nd Meeting 0 (98) AmigaOldie 5/24 9:39
[ Free for all]  [ Too Hot To Handle]  [ Classifieds]       [View all Topics]  [View all Forums]  [Forum Settings]
Software News : Release of onchipmem.resource AmigaOS 4.1 component for Sam460ex
Posted by m3x on 2013/2/24 18:50:00 (2001 reads) News by the same author
Software News

ACube Systems announces the immediate release of the onchipmem.resource.
This is an OS4 component that provides access to the On Chip Memory (OCM) found on the APM460Ex SoC (used on the Sam460ex board for example).


The OCM buffer is 64KB in size, 128-bit bus width, and is much faster than main RAM, up to double the DDR2 speed, basically it has a speed similar to the 460Ex L2 cache.

It's main use is to store often accessed application data, or as a way to transfer more quickly a data buffer to/from video ram for example.

The archive contains documentation and example source code on how to use this resource.

The archive onchipmem_res.lha is available on OS4depot) (currently in upload queue) or on ACube Systems web site

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Chris
Published: 2013/2/25 19:11  Updated: 2013/2/25 20:14
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3468
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
I was hoping this would have an AllocOnChipMem() function so it could work identically to main memory (perhaps with an ISONCHIPMEM macro to make it easy to identify which memory freeing function to use - as I'd intend to failover to main RAM).

Unfortunately, it looks like the entire 64KB has to be obtained and then manually micro-managed, which makes it somewhat more difficult to utilise effectively.

I have a little library that could potentially benefit from being able to use this speedy memory too. (edit: actually, it might benefit from a slightly different usage than I originally envisaged... let's see!)
m3x
Published: 2013/2/26 14:20  Updated: 2013/2/26 14:20
Just popping in
Joined: 12/01/2006
From: Anzio (Rome), Italy
Comments: 206
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
@Chris

to me it seems overkill to implement a whole "alloc / free" functionality for just a 64 KB block, but if there is a real demand for such feature, I'll look into it.
corto
Published: 2013/2/26 19:04  Updated: 2013/2/26 19:04
Not too shy to talk
Joined: 03/30/2007
From:
Comments: 312
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
I love that. In the pure Amiga tradition, it is tried to get the best of the available resources.

Max: Is it possible to put code inside ?

I agree that an higher level access could be interesting but that's maybe too early and ... overkill as you said.

A technical question. It is as fast as L2 cache but do you think the drawback is that the L1 cache is not used there ?

Do you have usecases in mind, for which it would be appropriate ?

Thanks !
Chris
Published: 2013/2/26 19:23  Updated: 2013/2/26 19:23
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3468
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
@m3x

Yes, you're probably right. In the meantime I've found a little memory pool routine which does exactly what I want (that is; allocate lots of little bits of memory that are the same size). I'm awaiting some feedback as to whether it helps performance in the wider context of the library (I'm a lowly SAM440EP owner, so can't test it myself).
SinanSam460
Published: 2013/2/26 21:24  Updated: 2013/2/26 21:24
Not too shy to talk
Joined: 07/16/2012
From: Istanbul
Comments: 484
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
Is it possible to use this feature to speed up software like AmiCygnix or Timberwolf ?
corto
Published: 2013/2/26 21:49  Updated: 2013/2/26 21:49
Not too shy to talk
Joined: 03/30/2007
From:
Comments: 312
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
m3x: I've found a usecase in the documentation itself, that says "Use as storage area for DMA descriptors and packet data for processing by Ethernet and Security Function."

But I am sure we can find other and more original uses

SinanSam460: Maybe it is possible but the first point is to know, in this programs or others, where are the part to speedup.
Chris
Published: 2013/2/27 10:43  Updated: 2013/2/27 10:43
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3468
 Re: Release of onchipmem.resource AmigaOS 4.1 component f...
@corto

Emulators might benefit from being able to put emulated registers on-chip. Some of the older emulated machines could have their entire RAM on-chip (I was toying with the idea of trying it with my ZX81 emulator, but it likely already runs at many times actual speed already, so I'm not sure the additional speed boost would be worthwhile). I might see if I can do something with ArcEm.

I'm playing around with this but it doesn't actually benefit me
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1794
Logged in last:
  24 hours, 63
  7 days, 123
  30 days, 176

Random Photo
SAM 460ex AmigaOS 4.1 Workbench (43/44)

New Articles List

New Members
Kirirur
Kirirur 05/31/2026
MTAmiga
MTAmiga 04/28/2026
akleinert
akleinert 04/26/2026
Ferretman
Ferretman 04/26/2026
plechaim86
plechaim86 04/23/2026
dbofizzle
dbofizzle 04/19/2026
Gdj24
Gdj24 04/05/2026
simon629
simon629 04/03/2026
Dingopathe
Dingopathe 03/29/2026
john_chandler
john_chandler 03/26/2026


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project