Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ amiga(7A) — Amiga System V Release 4 Version 2.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

open(2)

close(2)

read(2)

write(2)

mmap(2)

mem(7)

console(7A)

screen(7A)

AMIGA(7A)  —  MISC REFERENCE MANUAL PAGES

NAME

/dev/amiga − Amiga hardware access device

SYNOPSIS

#include <sys/types.h>
#include <sys/amiga/amiga.h>
int fd;
fd = open("/dev/amiga", mode);

DESCRIPTION

/dev/amiga is a special file which allows access to the Amiga custom chips and their associated "chip ram".  /dev/amiga is similar to /dev/mem (see mem(7)) except that only the address ranges 0x000000-0x1fffff and 0xa00000-0xdfffff can be accessed. 

The /dev/amiga device can also be used to map the Amiga hardware into the address space of the user process via the mmap(2) system call.  Any portion of either area may be mapped, with the restriction that only chip ram which is actually installed on the machine may be mapped. 

FILES

/dev/amiga - special file for accessing Amiga hardware

SEE ALSO

open(2), close(2), read(2), write(2), mmap(2), mem(7), console(7A), screen(7A). 

WARNING

Although this interface provides some protection, it is possible to crash the machine or completely mangle all video output, among other potential disasters.  The permissions of /dev/amiga reflect this; only privileged, trusted programs will use this interface. 

Amiga Unix  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026