Hi John, I took your advice and used the stack for most of the RAM I needed. I also used the INPBUF and ALTLCD RAM areas for some interrupt code, a jump table to some functions I needed to be in RAM, and some variables. So nothing clever to share, sorry :D
I found that using most of ALTLCD somehow caused Bad Things to Happen - after turning the computer off and then later on again, sometimes it would freeze either right away or when I tried to start my game again. I don't know why. Currently I'm using 201 bytes of the 320 in ALTLCD and this has been reliable for me. If you have any idea why I have problems using more than that could you please let me know? I found that juggling variables using only push/pop/xthl got too complicated in some functions, so I ended up using more static variables than I would have liked (in INPBUF, ALTLCD). Thanks for your advice and help with this project. Clint On Sat, Aug 29, 2015 at 11:19 AM, John R. Hogerhuis <[email protected]> wrote: > Congratulations! > > I seem to recall some memory management discussions. Any final design > decisions you would like to share? It's always intriguing to see how > programmers do more with less. > > -- John. >
