Commodore Amiga A500 Technical Reference Manual page 148

Hide thumbs Also See for Amiga A500:
Table of Contents

Advertisement

memrw.i—parameter area definition for access to other
processors mem
Copyright © 1986, Commodore-Amiga Inc., All rights reserved
1FND
JANUS_MEMRW_I
JANUS.MEMRWJ
SET1
; this is the parameter block for the JSERV_READPC and JSERV_
; READAMIGA; services — read and/or write the other processors
; memory.
STRUCTURE MemReadWrite,O
UWORD mrw_Command
UWORD mrw_Count
ULONG mrw_Address
UWORD mrw_Buffer
UWORD mrw_Status
LABEL
MemReadWrite_SIZEOF
; Command definitions:
MRWC_NOP
MRWC_READ
MRWC_WRITE
MRWC_READIO
MRWC_WRITEI0
MRWC_WRITEREAD EQU 5 ; write from buffer, then read back
; Status definitions:
MRWS_INPROGRESS EQU $ffff
MRW5_0K
MRWS_ACCESSERR EQU $0001 ; some sort of protection
MRWS_BADCMD
ENDC
IFND
JANUSJ5ERV1CES_I
145
; see below for list of commands
; number of bytes to transfer
; local address to access. This is
: a machine pointer for the 68000, and
: a segment/offset pair for the 808x.
: The address is arranged so the native
; processor may read it directly.
; The offset in buffer memory for the
: other buffer.
; See below for status.
EQU 0 ; do nothing — return OK status
code
EQU 1 ; xfer from address to buffer
EQU 2 ; xfer from buffer to address
EQU 3 ; only on 808x — read from IO
space
EQU 4 ; only on 808x — write to IO space
; we've noticed command and
are working on it
EQU $0000 ; completed OK
violation
EQU $0002 ; command that the server
doesn't understand
JANUS_SERVICES_I
EQU
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Amiga a2000

Table of Contents