Got my copy - thanks Bill! I notice you've identified the helper functions for PEEK and POKE, two features which seemed otherwise missing.
I just might try to get this Basic running on the 65Org16 CPU. (If I succeed, it should magically get 32-bit integers because bytes have 16 bits.) However, I won't get a chance to start for a couple of days.
I nobbled the memory check to run in lib6502's run6502, which has 64K of RAM. Without this change, it all seems to work but puts the top of RAM at $809b which will presumably cause trouble.
Code:
INC $23 ; Increment $23 (for next memory page)
BPL SKP_PI ; don't allow memcheck to go above $8000
PLP
LDA #1 ; push a not-equal result
PHP
SKP_PI plp ; Now look at the result of the memory test
(A check against location $0 being found again at the start of some higher page might be a nice enhancement)
I've also found that I can do without the 'cryptic perl' mentioned in an earlier message if I use control-J at the end of each line, before hitting 'enter' (the ^J is echoed as ^M)
Cheers
Ed