Skip to content

v0.2.216

Choose a tag to compare

@hanlokesu hanlokesu released this 04 Dec 13:22
· 15 commits to main since this release

PB64Basic Enhanced v0.2.216 - batch 436.

See the full changelog in README.md


batch 436 (Gary Beene batch 8) - 50 new samples, none used in batches 1-7. Both compilers build all 50 (PB64Basic 50/50, PBWin10 50/50) and every sample launches and exits without a crash or timeout. The pixel comparison is 43 identical / 2 near / 4 diff / 1 size-mismatch; each non-identical pair is listed below with its measured cause instead of being counted as identical.

  • ROUND / CINT ties-to-even: codegen emitted llvm.roundeven.f64, which clang lowers to an external roundeven libcall on the Windows MSVC target and fails at link time. Codegen now calls the runtime pb_roundeven, implemented with modf; 2.5 -> 2, 3.5 -> 4, -2.5 -> -2, -3.5 -> -4 on x64 and x86 (examples/batch436_test.bas).
  • Source portability for ANSI APIs under %Unicode=1: ShellExecuteA, SHGetPathFromIDListA, GetFullPathNameA, and TextOutA replace the generic spellings in the affected samples; 1610 now includes RichEdit.inc for CHARRANGE.
  • Harness: 0143 captures the largest top-level window instead of a modeless child; focus cues are hidden with WM_UPDATEUISTATE before capture so the comparison measures control content rather than focus timing.
  • Remaining non-identical pairs: 0109 near 0.631% (Font dialog Size list scrolled one row: top item 10 vs 9); 0143 diff 1.163% (button bevel/focus border); 0941 diff 5.756% (anti-aliased text/bitmap edges); 0982 diff 21.934% (the sample gives all three buttons and both Graphic controls the same IDs, so PB64 draws into the first control and PBWin into the last); 0623 diff 7.8% (PBWin RichEdit starts with its text selected, PB64 does not); 1625 near 0.123% (screen capture timing/cursor); 0898 size mismatch 42.579% (Dialog New Pixels client area 143x25 vs 145x50 under %WS_ThickFrame Or %DS_Center).
  • Runtime objects pb_runtime_x64.obj and pb_runtime_x86.obj were rebuilt from the updated pb_runtime.c. Self-check: examples/batch436_test.bas -> === FAILURES: 0 on x64 and x86.