[A86] Re: _getky flaw and weird 6-line-bug


[Prev][Next][Index][Thread]

[A86] Re: _getky flaw and weird 6-line-bug




Hey, guys!

Thanks a lot for all the advice! The program now works as it should so I feel 
confident to go on to porting a bigger one (can't imagine an even smaller one ;-
)

I'm setting _winBtm to 8 at the start and do a "res 4, (iy+9)" right before the 
final ret. Sadly I found that resetting this on flag at the beginning of the 
program is of no use, so constructs like "ld hl, error_message \ jp _puts" 
aren't possible as I always have to reset the on flag before exiting. TI seems 
to not have thought very thoroughly about this...

Yeah, and I'm now using call _get_key instead of _getky. Thanks for the extra 
speed (even though I don't feel it).

BTW, "res 3, (iy+9)" (did you mean this, Henk?) is rather contra-productive as 
then the program exits on any "ON" press. Might serve as a kind of boss key, 
though ;-)

Bye, Burkart

P.S.: I'm getting off-topic but as these mailing lists seem pretty cool to me, 
why aren't they organized as newsgroups? Would make some things better, like 
giving the ability to read "old" messages and a tree structure not only via the 
web archive.



References: