Skip to content

v0.16.2 - Smart Print Optimization + DZRP Celebration

Choose a tag to compare

@oisee oisee released this 04 Jan 15:21
· 1680 commits to main since this release

🎉 v0.16.2: Smart Print Optimization + DZRP Celebration

Highlights

  • Smart @print optimization saves 9+ bytes per program
  • Stateful print tracking reuses print_string helper
  • Explicit loop halt intent: loop { asm { EI; HALT } }
  • ZXSpeculator screenshot in README!

Print Optimization

  • Tracks print_string usage across module
  • Lowers inline threshold from 8 to 3 chars once helper exists
  • "Answer: " (8 chars): 24 bytes inline → 15 bytes via helper
  • Code size analysis documented in source

DZRP Integration

  • mzrun: compile → assemble → upload → run in ONE command
  • ZXSpeculator recommended emulator
  • Full step debugging, breakpoints, memory inspection
  • Hot reload workflow for rapid development

Screenshot Proof

MinZ on ZXSpeculator

  • hello_print.minz running on ZXSpeculator
  • Shows "HELLO WORLD!", "This is MinZ!", "Answer: 42"
  • Register panel visible with IFF flags enabled

Recommended emulator: https://github.com/oisee/ZXSpeculator