zx81

Help: ZX81 BASIC “Peek” function

天大地大妈咪最大 提交于 2020-01-10 05:02:26
问题 I need a way to find if the character ('<') has hit a wall (Black pixel Graphic) -On a ZX81 game. I'm been looking at another game... which uses code if peek(peek 16398 +256*peek 16399) = code "**blackpixel graphic**" then ... Which seems to work for them... Is this correct code? I'm not really knowledgable with addresses and getting memory and stuff. Please help me... -If you know a better way. Please answer :) Thanks, 回答1: Located at addresses 16398 and 16399 are two bytes that form the

Help: ZX81 'BASIC' Peek function [duplicate]

馋奶兔 提交于 2019-12-10 12:49:17
问题 This question already has answers here : Help: ZX81 BASIC “Peek” function (3 answers) Closed 5 years ago . I need a way to find if the character ('<') has hit a wall (Black pixel Graphic) -On a ZX81 game. I'm been looking at another game... which uses code if peek(peek 16398 +256*peek 16399) = code " blackpixel graphic " then ... Which seems to work for them... Is this correct code? I'm not really knowledgable with addresses and getting memory and stuff. Please help me... -If you know a

Help: ZX81 BASIC “Peek” function

只愿长相守 提交于 2019-11-29 14:08:41
I need a way to find if the character ('<') has hit a wall (Black pixel Graphic) -On a ZX81 game. I'm been looking at another game... which uses code if peek(peek 16398 +256*peek 16399) = code "**blackpixel graphic**" then ... Which seems to work for them... Is this correct code? I'm not really knowledgable with addresses and getting memory and stuff. Please help me... -If you know a better way. Please answer :) Thanks, Located at addresses 16398 and 16399 are two bytes that form the cursor location. (See http://web.ukonline.co.uk/sinclair.zx81/chap28.html ). In other words, peek 16398 + 256