Jump to content
IGNORED

peek can be dangerous?


Recommended Posts

I am pretty sure i remember a post somewhere on this board, mentioning that certain call peek()'s can hang the system.

Sorry, i do not remember where i read that.

If anyone knows what i am talking about, please fill me in.

Either that, or i am just crazy, becuase i know i read something to that effect.

pokes can

 

peeks shouldn't unless there's a bug.

Link to comment
Share on other sites

I do not think CALL PEEK or RXB CALL MOVES would lock up system as I have written RXB programs to move entire VDP or GROM or RAM to screen and they never crash or lock up.

 

I even have a RXB demo that turns on DSR cards and reads the card, the only exception was the PGRAM card that would lock up.

Edited by RXB
  • Like 1
Link to comment
Share on other sites

One reason for BASIC to be pretty slow is all the administration it does. Perhaps it resets the GROM read address over and over again, or at least after all instructions which has a chance to modify it, to make sure it can return and continue properly.

If you load a different address to the VDP when you are running a Pascal program, then it will fail. When p-code is interpreted from VDP RAM, the PME assumes that nothing else messes up the VDP read address, unless it does it by itself.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...