Memory Full

Forum / Development

64 NOPS - CLEAN Z80 CODE

Hicks * 29 Jun 2021 12:48:36 * Modified at 12:49:10

Next Saturday, I'll be releasing the second part of the "Clean z80 Coding" article, which follows up on what was published several months ago: https://64nops.wordpress.com/2020/10/21/clean-up-your-code

I realize that writing about these topics makes me even more rigorous in my own codes, so it's all good.

So, I'd like to have your feedback on part 1 (we talked about it on Discord, but there's no trace of it here), part 2 when it will be published, and also suggest other ideas that haven't been discussed yet, for a possible part 3!

I think everyone can benefit from this, especially Eliot (yes, so you have to answer)!

Targhan * 04 Jul 2021 11:25:11 * Modified at 11:25:35

Thanks for the article! I agree with all that has been said and apply it already (though I use camel-case labels (displaySpriteAndStuff) and not underscores).

Like I posted on CPCWiki, I would also use proximity/local labels for obvious labels that are often used (.loopX, etc.).

Hicks * 11 Jul 2021 23:28:39 * Modified at 23:29:02

Thanks for feedback.
I updated the two parts of the article, and I'm thinking about the third and last part!
If you want to suggest something...

Targhan * 13 Jul 2021 00:29:44

Nice addition. Nothing to add for now :).