Play library: implement repetition and halt commands#1091
Conversation
Perfect, thank you. I will implement your new features in the next version. |
|
@wilco2009, would it be possible to maintain a single version of the library, with conditional macros? Something like: That way it would be much less pain to maintain multiple architectures. |
|
I agree with you, that's the correct way to do it. |
|
Well, I'm not sure this is possible in Boriel, that's why I'm asking... But I hope you'll manage to sort it out. Maybe @boriel can give an advise. |
|
@wilco2009 commented this idea, and it's an antipattern. @wilco2009 can use if your version is 100% compatible (that's what zxnext arch does with many libraries, because they are 100% compatible). |
This adds support for repetition
()and haltHcommands to thePlayroutine.@wilco2009, you might probably want to incorporate these changes to your zx81sd port.