
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
Short: | AmigaOS 4: simple 4 unit ram device source |
Author: | Olaf Barthel, Fredrik Wikstrom (OS4 port and modifications) |
Uploader: | fredrik a500 org (Fredrik Wikstrom) |
Type: | dev/src |
Version: | 51.1 |
Architecture: | generic |
Date: | 2006-06-21 |
Download: | dev/src/ramdev.lha - View contents | Readme: | dev/src/ramdev.readme |
Downloads: | 856 |
|
/************************************************************************
*
* ramdev.c -- Skeleton device code.
*
* A sample 4 unit ramdisk that can be bound to an expansion slot device,
* or used without. Works with the Fast File System.
* This code is required reading for device driver writers. It contains
* information not found elsewhere.
*
* This example includes a task, though a task is not actually needed for
* a simple ram disk. Unlike a single set of hardware registers that
* may need to be shared by multiple tasks, ram can be freely shared.
* This example does not show arbitration of hardware resources.
*
************************************************************************/
v51.1 changes (Fredrik Wikstrom):
- is now an OS4 device
- uses CreateTask()/DeleteTask() as opposed to setting up the Task structure (stack, etc.) manually
- supports the NSCMD_DEVICEQUERY command (reports itself as a trackdisk type device)
Hopefully this will make it easier for people to write device drivers for OS4...
|
Contents of dev/src/ramdev.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 2190 5251 41.7% -lh5- 2e74 Jun 12 21:42 ramdev_files/dev_io.c
[generic] 2853 8144 35.0% -lh5- 5dff Jun 20 17:36 ramdev_files/dev_io_cmd.c
[generic] 1701 3774 45.1% -lh5- 5048 Jun 12 21:36 ramdev_files/dev_task.c
[generic] 1204 2713 44.4% -lh5- 2865 Jun 12 21:27 ramdev_files/dev_unit.c
[generic] 2295 6504 35.3% -lh5- 1371 Jun 20 14:18 ramdev_files/include/ramdev.h
[generic] 491 944 52.0% -lh5- 3353 Jun 18 20:41 ramdev_files/Makefile
[generic] 493 949 51.9% -lh5- 8559 Jun 16 11:08 ramdev_files/Makefile.gcc
[generic] 547 1749 31.3% -lh5- 0922 Jun 20 16:47 ramdev_files/ramdev-mountlist
[generic] 3754 9948 37.7% -lh5- adbd Jun 20 17:39 ramdev_files/ramdev.device
[generic] 119 212 56.1% -lh5- ed09 Jun 16 10:17 ramdev_files/ramdev.device_rev.h
[generic] 132 258 51.2% -lh5- ec51 Jun 16 10:17 ramdev_files/ramdev.device_rev.i
[generic] 2 2 100.0% -lh0- 9795 Jun 16 10:17 ramdev_files/ramdev.device_rev.rev
[generic] 135 271 49.8% -lh5- feb9 Jun 16 10:17 ramdev_files/ramdev.device_rev.s
[generic] 960 2093 45.9% -lh5- 0ad6 Feb 20 2003 ramdev_files/releasenotes
[generic] 71 77 92.2% -lh5- 310a Sep 3 1992 ramdev_files/script
[generic] 5502 14277 38.5% -lh5- ea93 Jun 20 17:46 ramdev_files/init.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 16 files 22449 57166 39.3% Jun 21 13:18
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |