For the CLSN:
I would do it this way:
Limit the Numbe of boxes to 256 (good for numbering)
For the "Same name" boxes I would really much like to create some kind of grouped version (read sth. about it somewhere).
So say you call the box "Group:Name" and then you can check for collision with "Group:Name" or wirh "Group:*" which would include all boxes of the group ("*.*" is forbidden because of speed) Also I would limit the objects in one group to 8).
Objects that dont need grouing (like the one box character) will get in a "general group" which will have no name ":foe01" for example. The unnamed group will accept 64 boxes.
This is my idea for the usage in the data section:
Group:Name ---> 0:0 (first group, first name)
In the memory area for the CLSN boxes you will have 1 byte for the group (0 beeing the unnamed group) and 1 byte for the id. This byte (5 bits remaining) does also include:
*a collide flag that will call the COLLIDE function with the names of the 2 objects if set and if a collision happens (good for constantly moving objects)
*a rotate flag (need to be set if the box needs to be rotated too (good for speed if you have a sprite where the box needn't be rotated). The box is only rotated if on
*a flip flag (same as above for flipping)
2 preserved flags
then the 4 edges folow (? 1 byte) --> 4 byte and then you have 6 bytes per box.
this makes for the unnamed group a maximum of 600 bytes
and for the other groups (255*8*6) = 11,96 KB maximum
...
thinking about it I also come slowly to the conclusion that a data section has some major benefits for speed on such complex solutions that actually are not set up but only changed during runtime ... maybe I'll reintroduce it. .. so till I decided this and worked it out no beta

Anyway
I need urgently a good 5x6 font (5 pixles + 1 free col for space and 6 pixels + 1 free line) If anyone is skilled at making one (paint) then PLEASE do so. I simply can't do a good font ... I had one for CNC but it looked ugly. I can upload it if you want but I don't think I'll use it for MLC2 ...
here is the new MLC2 verision: www.earthforge.com/huhnm/MLC/MLC21012.pdf
(I also updated the link in the first post)