AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Python file peek usage4/5/2023 ![]() The address and value parameters may contain complex expressions, as long as the evaluated expressions correspond to valid memory addresses or values, respectively. Integer_variable = PEEK ( address ) POKE address, value ![]() The terms peek and poke are sometimes used colloquially in computer programming to refer to memory access in general. As such the notions of PEEK and POKE commands are generally seen as antiquated. Today it is unusual to control computer memory at such a low level using a high-level language like BASIC. manipulate a game program to allow the user to cheat). Alternatively programmers might use these commands to copy software or even to circumvent the intent of a particular piece of software (e.g. The PEEK and POKE commands were conceived in early personal computing systems to serve a variety of purposes, especially for modifying special memory-mapped hardware registers to control particular functions of the computer such as the input/output peripherals. One of the earliest references to these commands in BASIC, if not the earliest, is in Altair BASIC. These commands are comparable in their roles to pointers in the C language and some other programming languages. These commands are particularly associated with the BASIC programming language, though some other languages such as Pascal and COMAL also have these commands. These commands originated with machine code monitors such as the DECsystem-10 monitor POKE sets the memory byte at the specified address. PEEK gets the byte located at the specified memory address. In computing, PEEK and POKE are commands used in some high-level programming languages for accessing the contents of a specific memory cell referenced by its memory address. PEEK and POKE in line 100 of a Commodore Basic program on a CBM 3016
0 Comments
Read More
Leave a Reply. |