Everything2
Near Matches
Ignore Exact
Full Text
Everything2

peek

created by c3w

(thing) by Rollo (3.2 mon) (print)   ?   (I like it!) Thu Mar 30 2000 at 20:00:26

Command in Commodore BASIC used to fetch a value from memory. Using this, you could write a complete joystick driver in less than 20 lines of code or check if the motor in the tape drive was running!

(idea) by Jargon (1.8 y) (print)   ?   (I like it!) Thu Jul 19 2001 at 13:41:05

PEBKAC = P = pencil and paper

peek n.,vt.

(and poke) The commands in most microcomputer BASICs for directly accessing memory contents at an absolute address; often extended to mean the corresponding constructs in any HLL (peek reads memory, poke modifies it). Much hacking on small, non-MMU micros used to consist of `peek'ing around memory, more or less at random, to find the location where the system keeps interesting stuff. Long (and variably accurate) lists of such addresses for various computers circulated (see interrupt list). The results of `poke's at these addresses may be highly useful, mildly amusing, useless but neat, or (most likely) total lossage (see killer poke).

Since a real operating system provides useful, higher-level services for the tasks commonly performed with peeks and pokes on micros, and real languages tend not to encourage low-level memory groveling, a question like "How do I do a peek in C?" is diagnostic of the newbie. (Of course, OS kernels often have to do exactly this; a real kernel hacker would unhesitatingly, if unportably, assign an absolute address to a pointer variable and indirect through it.)

--The Jargon File version 4.3.1, ed. ESR, autonoded by rescdsk.


(definition) by Webster 1913 (print) Wed Dec 22 1999 at 1:52:30

Peek (?), v. i. [OE. piken: cf. F. piquer to pierce, prick, E. pique. Cf. Peak.]

To look slyly, or with the eyes half closed, or through a crevice; to peep.

[Colloq.]

 

© Webster 1913.


printable version
chaos

killer poke pencil and paper poke real operating system
PEBKAC ICMP bouncing bomb Hey Hey 16K Creating a Commodore 64 character set
Irena Born to code Joystick The Spring Pond Beavers
50/50 raffle George Washington's 1794 State of the Union Address Keek Drink minimum
TRS-80 Color Computer II OO programming in Commodore 64 BASIC A watched pot never boils radio communication
The difference between Everything2 and H2G2 Z80 dim Freshman Fifteen
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
Night of the Long Knives
Louis IX
Proof that Napoleon Bonaparte never existed
/msg'ing a secret
There's nothing noble about being a soldier
Building an ICBM out of matchstick heads and PVC pipe
Wrap Up In Noder Love: An E2 Craft Project and Fundraiser
Information doesn't want to be anything
The Fire Sermon
flint knapping
George Washington's Inaugural Addresses
The Rape of Nanking
Who is allowed to donate blood?
New Writeups
Glowing Fish
Tualatin River(place)
The Jacket
Words of Advice(idea)
John_Fox
Good Intentions Gone Wrong(person)
Cuckowski
Slavonic Princess(poetry)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
etouffee
Wild tides guard her secrets(poetry)
This page courtesy of The Everything Development Company