|
84734 packages online
|
|
|
|
|
|
No screenshot available
|
|
Small tool to poke a value to a given memory address.
Version :
$VER: APoke 1.03 (9.6.2016)
Arguments :
A=ADDRESS/A - Mandatory, Address to poke.
Can be decimal or hexa number (using $ or 0x).
S=SIZE/A - Mandatory, Number of bytes to poke.
Valid values: 1=Byte, 2=Word, 4=Long.
V=VALUE/A - Mandatory, Value to poke.
Can be decimal or hexa number (using $ or 0x).
Q=QUIET - Do not display result.
Error messages are still displayed.
Examples of usage :
>APoke ? ; Help.
>APoke $DFF1F4 2 $0000 ; Set SAGA Video Mode to OFF
>APoke $DFF1F4 2 $0102 ; Set SAGA Video Mode to DblX + RGB16
>APoke $DFF1F4 2 $0202 ; Set SAGA Video Mode to DblY + RGB16
>APoke $DFF1F4 2 $0302 ; Set SAGA Video Mode to DblXY + RGB16
>APoke $DFF1F4 2 $0001 ; Set SAGA Video Mode to CLUT
>APoke $DFF400 4 $00ff0000 ; Set SAGA CLUT Color #0 to RED
>APoke $DFF404 4 $0000ff00 ; Set SAGA CLUT Color #1 to GREEN
>APoke $DFF408 4 $000000ff ; Set SAGA CLUT Color #2 to BLUE
>Version FULL APoke ; Get Version of APoke.
Return Codes ($RC) :
If all OK => 0 (OK)
Invalid Value => 10 (ERROR)
Invalid Size => 10 (ERROR)
Invalid Address => 10 (ERROR)
Invalid Arguments => 10 (ERROR)
Fail to open DOS => 20 (FAIL)
Compilation :
Full ASM Source code is provided in archive.
Written with Devpac 3.18, code compatible with MC68020+.
|
Contents of util/shell/APoke.lha
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown] 738 1224 60.3% -lh5- b967 Jun 9 15:58 APoke
[unknown] 768 1716 44.8% -lh5- 2b37 Jun 9 16:00 APoke.readme
[unknown] 1827 7317 25.0% -lh5- dfab Jun 9 15:58 APoke.s
[unknown] 917 5177 17.7% -lh5- dd9e Jun 9 02:06 hex.i
[unknown] 576 1650 34.9% -lh5- ca99 Jun 9 12:02 os3.i
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 5 files 4826 17084 28.2% Jun 10 16:03
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |