Contents | < Browse | Browse >
Simon N Goodwin (firstname.lastname@example.org)
Powerful and dangerous STRUCTURED PEEK and POKE for the Amiga Shell
Would you like to be able to read analogue joysticks, switch the audio
filter, check library and device versions, reset MIDI devices, blink the
power LED, check your Amiga chip set or CPU type, start and stop floppy
drive motors or change the sex of the narrator device - all from the
comfort of your shell or a script file?
All these and much more - including numerous ways to crash the machine
- are now available via structured PEEK and POKE extensions for the
Amiga Shell. These make automatic program configuration simpler and
prevent the need to write and test 'trivial' stand-alone utilities to
check or tweak system variables or registers. They've very convenient
when hacking but positively dangerous for people who don't know their
way around the Amiga system.
Examples of ease of use:
peek long hex lib=exec 62
returns the top limit of Chip memory (e.g. $200000, $80000 etc.).
POKE CIAA 0 2
turns the audio filter off
o Permits access to all system library, device and resource variables
o Read bytes, words, long words or strings from any memory address
o Convenient access to memory pointers, using indirect addressing
o Supports input and output in decimal, hexadecimal or binary formats
o Access to CIAA, CIAB and CUSTOM chip registers by name and offset
o AmigaGuide & text documentation with many examples including scripts
Any Amiga or emulator with Kickstart 2.0 or above.
Available on Aminet, e.g.
Well-annotated stand-alone assembler source file included.
The author cannot be held responsible if PEEK_POKE causes damage.
Copyright (c) 1996-7 by Simon N Goodwin.
It's freely distributable.
Cheers, Simon N Goodwin, email@example.com AKA firstname.lastname@example.org