![]() | Logo by DaveyD (anonymous IP: 23.22.212.158) | |||||||||||||
| ||||||||||||||
Audio (307) Datatype (46) Demo (166) Development (464) Cross (37) Debug (8) Edit (3) Example (31) Game (19) Guitool (5) Ide (3) Install (0) Language (30) Library (234) Misc (23) Utility (71) Webtool (0) Document (18) Driver (77) Emulation (125) Game (722) Graphics (384) Library (58) Network (160) Office (43) Utility (623) Video (47) Total files: 3240 Full index file. Download Recent index file. Download
 Amigans.net  OpenAmiga  Aminet  UtilityBase  IntuitionBase  AmigaBounty
Support the site
|
/************************************************************************ * * 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... |
| Copyright (c) 2004-2013 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |