[AmigaOS / ApolloOS Command Reference\UnSet]APEEK
Arguments : A=ADDRESS/A - Mandatory, Address to peek. Can be decimal or hexa number (using $ or 0x). S=SIZE/N - Optional, Number of bytes to peek. Default value: 2. Valid values: 1=Byte, 2=Word, 4=Long. C=COUNT/N - Optional, Number of values to peek. Default value: 1. Valid values: from 1 to 99. Examples of usage : >APeek ? ; Help. >APeek $F80000 ; Read ROM Identifier. >APeek $F8000C 2 2 ; Read ROM Version and Revision. >APeek 0xBFE601 1 ; Read CIAA Timer B Low byte register. >APeek 0xBFE701 1 ; Read CIAA Timer B High byte register. >APeek 0xDFF300 2 9 ; Read SAGA Video Core ModeLine registers. >Version FULL APeek ; Read Version of APeek. Examples of output : > APeek ADDRESS=$BFE601 SIZE=1 [00] $00BFE601: $93 147 > APeek ADDRESS=$F8000C SIZE=2 COUNT=2 [00] $00F8000C: $0028 40 [02] $00F8000E: $003F 63 > APeek ADDRESS=$F80000 SIZE=2 COUNT=10 [00] $00F80000: $1114 4372 [01] $00F80002: $4EF9 20217 [02] $00F80004: $00F8 248 [03] $00F80006: $00D2 210 [04] $00F80008: $0000 0 [05] $00F8000A: $FFFF 65535 [06] $00F8000C: $0028 40 [07] $00F8000E: $003F 63 [08] $00F80010: $0028 40 [09] $00F80012: $000A 10 Return Codes ($RC) : If all OK => 0 (OK) Invalid Count => 10 (ERROR) Invalid Size => 10 (ERROR) Invalid Address => 10 (ERROR) Invalid Arguments => 10 (ERROR) Fail to open DOS => 20 (FAIL)