Audio (342) Datatype (51) Demo (203) Development (593) Document (22) Driver (99) Emulation (146) Game (992) Graphics (494) Library (113) Network (228) Office (65) Utility (912) Video (69)
Total files: 4329
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
Mem-handler | Description: | Handler for accessing memory as a file | Download: | mem-handler.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 15kb | Version: | 52.2 | Date: | 22 Sep 2010 | Author: | Fredrik Wikström | Submitter: | Fredrik Wikström | Email: | fredrik/a500 org | Homepage: | http://www.a500.org/ | Category: | driver/handler | Replaces: | driver/handler/mem-handler.lha | License: | BSD | Distribute: | yes | Min OS Version: | 4.0 | FileID: | 5963 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 569 (Current version) | | 676 (Accumulated) | Votes: | 0 (0/0) (30 days/7 days) | |
This handler works more or less the same as Peter Corlett's MEM-Handler on
Aminet: http://aminet.net/package/disk/misc/MEM-Handler371
It can be useful when programming, f.e. when you might have some data in memory
and for some reason you need to be able to access it as a file but do not want
to create a temporary file on disk or in "T:".
Installation:
1. Drag'n'drop MEM into DEVS:DOSDrivers
2. Copy MEM-Handler to L:
Usage:
MEM:<LENGTH/A>/<BASE>/<RO=READONLY/S>
LENGTH/A - size of the file to create
BASE - base address of memory for file (if not provided, MEM-Handler will
allocate MEMF_PRIVATE|MEMF_CLEAR memory using AllocVec)
RO=READONLY/S - if this is used the created file will be write protected
LENGTH and BASE can be in either decimal (no prefix), octal (beginning with
"0") or hexadecimal (beginning with "0x" or "$") number system.
Example (can cause DSIs, don't run!):
Read 13 bytes beginning at address 0x590eb038 to the file "RAM:test.bin":
copy MEM:13/0x590eb038 RAM:test.bin
Changes:
52.2 (22-Sep-2010)
- Added support for ACTION_SHUTDOWN and ACTION_GET_DISK_FSSM packets
52.1 (26-Jun-2009)
- First released version
|