  | 78896 packages online |
|
 |
| disk/misc/mem-handler.lha | | | | No screenshot available |
|
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.1 (26-Jun-2009)
- First released version
|
Contents of disk/misc/mem-handler.lha PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 194 267 72.7% -lh5- 44fa Aug 2 1994 mem
[generic] 2511 4460 56.3% -lh5- 5e64 Jun 26 01:50 MEM-Handler
[generic] 737 1263 58.4% -lh5- f6d7 Jun 26 02:45 mem-handler.readme
[generic] 5632 6238 90.3% -lh5- f644 Jun 26 02:34 mem-handler.readme.info
[generic] 4473 5405 82.8% -lh5- b571 Jun 26 02:34 MEM.info
[generic] 2685 10520 25.5% -lh5- 6284 Jun 26 01:49 Source/main.c
[generic] 246 396 62.1% -lh5- d34a Jun 26 02:05 Source/Makefile
[generic] 118 206 57.3% -lh5- 6688 Jun 26 01:50 Source/MEM-Handler_rev.h
[generic] 130 252 51.6% -lh5- ff7e Jun 26 01:50 Source/MEM-Handler_rev.i
[generic] 2 2 100.0% -lh0- 9795 Jun 26 01:50 Source/MEM-Handler_rev.rev
[generic] 136 265 51.3% -lh5- f11c Jun 26 01:50 Source/MEM-Handler_rev.s
[generic] 316 611 51.7% -lh5- 0543 Jun 26 02:03 Source/test.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 12 files 17180 29885 57.5% Jun 26 05:46
|
|
|
 |
Aminet © 1992-2010 Urban
Müller and
the Aminet team.
Aminet contact address: <aminet aminet net> |