APoke 1.03
Poke value to a given memory address.
Short: Poke value to a given memory address.
Author: flype
Uploader: flype44 gmail com (flype)
Type: util/shell
Version: 1.03
Architecture: m68k-amigaos >= 2.0.0
Distribution: Aminet
Required: 68020+
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+.
Gratis
Desde el Amiga: abre Hangar y busca APoke.
| Autor | flype |
|---|---|
| Categoría | util/shell |
| Tamaño | 5 KB |
| Fecha | 2025-05-15 |
| Para | m68k-amigaos >= 2.0.0 |
| Origen | Aminet |