Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2012-08-13
09:51:04
 Re: Combining Text and freely placeable bitmaps on screen

Good thing you got it working.

One minor optimization you could do is this: you use the variable "e" as a flag. All BASIC expressions get evaluated as an integer, -1 for TRUE and 0 for FALSE. So instead of an IF/THEN/ELSE, you could assign the value like this: "e=ev=0". (Looks a little funny, but it works.) This way, e will be -1 if ev was zero, and 0 otherwise. So you just have to change the e=1 conditions to e=-1.

You could also do z2=z1+DEC("400"), less calculations and it also makes it easier to change the luminance/color map address if needed.



Back to top


Copyright © Plus/4 World Team, 2001-2024