davidgiven / cpm65

CP/M for the 6502
BSD 2-Clause "Simplified" License
276 stars 25 forks source link

dinfo: replace several labels by structured programming macros. #167

Closed ivop closed 2 months ago

ivop commented 2 months ago

Cleaned it up a little.

I noticed the native asm does not have .zbreakif eq so there are still a few labels left.

davidgiven commented 2 months ago

Merged, thanks.

I'd forgotten that the native assembler doesn't breakif. I forget why.

ivop commented 2 months ago

~Well, it does have unconditional .zbreak, but not conditional :)~

I found the culprit. It's not .zbreakif conditional but .zbreak conditional. Syntax is slightly different from the zif.inc macros.

davidgiven commented 2 months ago

I got about 1/4 the way through implementing this before realising that this should already work...

.zbreak eq