PEEK/POKE Video buffer
#8
(08-25-2022, 11:50 AM)BDS107 Wrote: The program with the green 1 and 0 was actually an example of PEEK/POKE.
But I see that the same thing can be achieved with _MEMPUT. So a _MEMGET does the opposite. So I can and will change this.
Can you still use PCOPY to copy screens? Or do you use _MEMCOPY? I think PCOPY is going faster?

Yes, _MEMGET is pretty much like PEEK. It has a statement and a function form depending on the use of parenthesis.

_MEMGET m, m.offset, c%

or

c% = _MEMGET(m, m.offset, INTEGER)
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
Reply


Messages In This Thread
PEEK/POKE Video buffer - by BDS107 - 08-25-2022, 09:31 AM
RE: PEEK/POKE Video buffer - by OldMoses - 08-25-2022, 11:09 AM
RE: PEEK/POKE Video buffer - by SMcNeill - 08-25-2022, 11:19 AM
RE: PEEK/POKE Video buffer - by OldMoses - 08-25-2022, 11:24 AM
RE: PEEK/POKE Video buffer - by BDS107 - 08-25-2022, 11:50 AM
RE: PEEK/POKE Video buffer - by OldMoses - 08-25-2022, 12:34 PM
RE: PEEK/POKE Video buffer - by SMcNeill - 08-25-2022, 11:59 AM
RE: PEEK/POKE Video buffer - by BDS107 - 08-25-2022, 12:05 PM



Users browsing this thread: 4 Guest(s)