Posted By
siz on 2017-05-25 14:30:09
| Re: There is something (or bug?) about YAPE (1.1.2b).
That's not a YaPE bug. It's a well known (=documented bug?) of BASIC 3.5 with more than 16k RAM. When you enter graphics mode it will change memory allocation. The GRAPHIC command sets color and luminance memory to $1800 and bitmap memory to $2000. On a C16 (or C116) this means that the only remaining RAM is from $1000 to $17ff so it will set the end of BASIC memory to $1800. On a plus/4 (or any computer with more than 16k RAM) it will set the start of BASIC to $4001 and relocate the BASIC program there. So when you save a BASIC program after using GRAPHIC command it will save it starting from $4001. To load it back you either have to switch on graphics mode first to relocate BASIC to $4001 or load your program with DLOAD or LOAD"name",8 and NOT LOAD"name",8,1. I suspect you did the latter one.
EDIT: I reread your post and you are not using DISK I/O. You can recover your program if you enter POKE44,16:RENUMBER after loading it.
|