Doug_M
Member
Okay so I'm not actually poking holes, lol. But I'm trying to run a program written for an old EPROM programmer. The initialization routine as follows:
always hangs when it gets to memory location 33779. I did a peek before the basic program is loaded and it is 0. But after I load it (but have not run it) the location is 26. I can start MBASIC with the /M switch to reserve memory but I can't do that with a value low enough (i.e. 33779) as that doesn't leave enough memory for the program itself to be loaded.
If I change the starting value in line 240 to be 8192 less than 33779 it runs to near the end then craps out with a syntax error (but no line number). When I list the program it has erased itself from all after line 270. Obviously I am missing something but I haven't found it reading what old manuals I can find. Ideas?
Thanks,
Doug
Code:
240 BA=28672
250 FOR X=BA TO BA+8192
260 POKE X,255
270 NEXT X
always hangs when it gets to memory location 33779. I did a peek before the basic program is loaded and it is 0. But after I load it (but have not run it) the location is 26. I can start MBASIC with the /M switch to reserve memory but I can't do that with a value low enough (i.e. 33779) as that doesn't leave enough memory for the program itself to be loaded.
If I change the starting value in line 240 to be 8192 less than 33779 it runs to near the end then craps out with a syntax error (but no line number). When I list the program it has erased itself from all after line 270. Obviously I am missing something but I haven't found it reading what old manuals I can find. Ideas?
Thanks,
Doug