Skip to content

v0.2.223

Choose a tag to compare

@hanlokesu hanlokesu released this 06 Dec 05:02
· 4 commits to main since this release

PB64Basic Enhanced v0.2.223 - batch 443.

See the full changelog in README.md


batch 443 (v0.2.223) - Gary Beene batch 10: 50 samples never used by batches 1-9 (506 ids excluded). Both compilers compile 50/50; 47/50 run (3 are deliberately compile-only: set wallpaper, wipe drive, paint the desktop). Strict pixel comparison: 38 identical / 3 near / 6 diff / 3 skipped.

Compiler fixes: (1) Color = expr is now parsed as a variable assignment, not the console COLOR statement, so samples such as 0217 compile and run; (2) x64 dynamic DECLARE ... LIB thunks widen every i32 parameter to a 64-bit slot, so 64-bit pointers passed to GLU32 are no longer truncated (1221 sphere); (3) wglCreateContext, wglGetProcAddress, gluNewQuadric, gluNewTess and gluNewNurbsRenderer are recognised as pointer-returning calls on x64; (4) ListView is created as a Unicode window (CreateWindowExW) and the parent answers WM_NOTIFYFORMAT with NF_UNICODE, so owner-data notifications arrive as LVN_GETDISPINFOW and Row 0 text is no longer cut to R (0566); (5) the preprocessor no longer forces %LVN_GETDISPINFO to the ANSI -150 value.

Sample-side corrections, all recorded in meta.json: pDoc is QUAD for the Scintilla document pointer (0696); tree handles are Long Pointer with BYVAL (0127); %LVS_Icon is explicit where the source relied on a default view (0386); RichEdit samples include richedit.inc and drop the missing xptheme.xml manifest (033/0668); Unicode APIs use WSTRINGZ instead of ASCIIZ (1032/0954/0092/1104); a tutorial prefix before the second #Compiler is trimmed (0751).

Six pages whose upstream code cannot compile on both compilers (missing bitmap/icon/resource files, AFXWIN include incompatibility, Unicode/ANSI signature clashes) were replaced; the originals are archived in batch10_replaced and the replacement ids are recorded in the selection and index files, so this is disclosed rather than silently dropped.

Remaining non-identical pairs are sample-owned animation, randomness or font rasterisation: 1012 Fire 62.957%, 1104 screensaver 19.351%, 0435 random-colour icons 4.608%, 1215 Display List 5.046%, 1238 World 17.348%, 0668 Arial Black anti-aliasing 1.128%; near: 0867 MS Sans Serif button metrics 0.336%, 1108 FPS digits 0.592%, 1221 OpenGL rounding 0.009%. Self-check: examples/batch443_test.bas (Color assignment, QUAD size, fails=0).