Files
xmplayer/obj/hdr.rel
T
alexandClaude Sonnet 5 ee64fb85a9 Fix esp32 detection, add colored caption, live stats, single-loop playback
- Fix state_esp init bug: crt0.s never runs GSINIT and hex2bin fills
  unbacked memory with 0xFF (not 0), so a plain zero-init global always
  read 0xFF on load; give it a real 0xFF sentinel initializer instead.
- Vendor demyanenko-d/VGMPLAY.WMF's wc_api library (SDCC 4.6.0 +
  --sdcccall 1) instead of hand-rolled PRSRW/PRIAT wrappers, which
  corrupted esp32 file loading in three different shapes; colored "File:"
  caption now works.
- Trim shared-file footprint: vendor only the esp32.c functions actually
  used, drop unused sdklib.h/sdk.lib linkage.
- Re-enable periodic live stats (Pattern/Row/BPM/Time/progress bar).
- Limit playback to one loop via TRACK_SET_PARAMS/MAX_LOOP_COUNT, and
  auto-advance to the next file when a track finishes on its own
  (detected via a PLAYING->STOPPED ESP_REG_TRACK_STATUS transition).
- Pin the Z80 clock to 14MHz for the whole plugin lifetime so esp32 SPI
  wait-loop timeouts (raw iteration counts, not real time) don't depend
  on whatever turbo setting was active before the plugin started.
- Pad TRACK_INIT's timeout well past the firmware's 5s song-length
  measurement cap (XM_MEASURE_MAX_US).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-30 21:40:24 +03:00

103 lines
3.1 KiB
Plaintext

XL4
H 9 areas 1 global symbols
M wc_h
O -mz80 sdcccall(1)
S .__.ABS. Def00000000
A _CODE size 200 flags 0 addr 0
A _DATA size 0 flags 0 addr 0
A _INITIALIZED size 0 flags 0 addr 0
A _DABS size 0 flags 8 addr 0
A _HOME size 0 flags 0 addr 0
A _GSINIT size 0 flags 0 addr 0
A _GSFINAL size 0 flags 0 addr 0
A _INITIALIZER size 0 flags 0 addr 0
A _CABS size 0 flags 8 addr 0
T 00 00 00 00
R 00 00 00 00
T 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 0C 00 00 00 00 00 00 00 57 69 6C 64 43 6F 6D 6D
R 00 00 00 00
T 18 00 00 00 61 6E 64 65 72 4D 44 4C 07 00 01 00
R 00 00 00 00
T 24 00 00 00 00 1E 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 3C 00 00 00 00 00 00 00 58 4D 20 58 4D 5A 53 33
R 00 00 00 00
T 48 00 00 00 4D 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 9C 00 00 00 00 00 00 00 00 FF FF FF FF 58 4D 20
R 00 00 00 00
T A8 00 00 00 50 6C 61 79 65 72 00 00 00 00 00 00
R 00 00 00 00
T B4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T C0 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00
R 00 00 00 00
T CC 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T D8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T E4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T FC 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 08 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 14 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 20 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 2C 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 38 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 44 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 50 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 5C 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 68 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 74 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 80 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 8C 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T 98 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T A4 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T B0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T BC 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T C8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T D4 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T E0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T EC 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00
T F8 01 00 00 00 00 00 00 00 00 00 00
R 00 00 00 00