It’s all been a bit “jazz improv” recently as we fought to get ourselves to 100% coverage of z80 opcodes. Hopefully we are now back on track as we queue up /bmad-bmm-create-story 5.1 - finally, the elusive comments!

We kick off development with /bmad-bmm-dev-story 5.1 - this should be short and sweet. Astonishingly code review finds a register clobbering issue, but it is quickly fixed.

strings.asm

/ is pretty basic:

Backslash comment

It just sets the current Text Input Buffer pointer to the end, so there’s nothing left to parse.

( is slightly more elaborate, as it has to scan forwards to find a matching ‘)’ – here’s the relevant part:

Paren comment

Testing

Testing comments