![]() | Logo by Browallia (anonymous IP: 10.8.110.56,0) | |||||||||||
| ||||||||||||
Audio (348) Datatype (51) Demo (205) Development (618) Document (24) Driver (100) Emulation (154) Game (1033) Graphics (513) Library (120) Network (238) Office (67) Utility (947) Video (73) Total files: 4491 Full index file Recent index file
 Amigans.net  OpenAmiga  Aminet  UtilityBase  IntuitionBase  AmigaBounty
Support the site
|
[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] /************************************************************************ * * 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-2026 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |