====== Mid to late October work ====== I didn't get around to writing a blog post last week, so this one covers two weeks' worth of work. **2024-10-27** ===== Instruction set reference ===== [[https://hg.pushbx.org/ecm/insref/rev/0049d9068a70|Fixed insSTOSB stating that it "sets the flags accordingly"]]. Also add to other string instructions that flags are not modified (ins, lods, movs, outs). ===== lDOS boot ===== * [[https://hg.pushbx.org/ecm/ldosboot/rev/0e3f8cc013a0|Add section on FSIBOOT]] to the documentation * [[https://hg.pushbx.org/ecm/ldosboot/rev/d0f336f6ac05|Add sections on ROM-BIOS and MBR to sector]] to the docs * [[https://hg.pushbx.org/ecm/ldosboot/rev/f4e0d0ad0612|Fix newly added hyperlinks]] in docs * [[https://hg.pushbx.org/ecm/ldosboot/rev/45ff3831edd5|Mention patchqry]] * In iniload lDOS entry [[https://hg.pushbx.org/ecm/ldosboot/rev/efdfdbf93f95|check for lsvLoadSeg underflow]] * [[https://hg.pushbx.org/ecm/ldosboot/rev/0a8f90c39839|Update attribution year]] of iniload.asm * [[https://hg.pushbx.org/ecm/ldosboot/rev/e8135bddf252|Update iniload.asm comments]] listing known lDOS signatures * [[https://hg.pushbx.org/ecm/ldosboot/rev/c41773c20225|List lDXX (unset) signature]] in iniload.asm and documentation ===== lDebug ===== [[https://hg.pushbx.org/ecm/ldebug/rev/e19b672622be|Update dbitmap Extension for lDebug]] to add STR mode. This allows to display a string using the embedded font. The STR mode patch includes the \M escape code which causes the next byte to be mirrored. In a separate revision [[https://hg.pushbx.org/ecm/ldebug/rev/49c7d7ea4ce3|the \H escape code is added]] which takes an alphanumeric byte and displays a blank of the corresponding width, mainly for ''\H4'' to display a half-width space. (Backslashes to be displayed must be escaped as double backslashes.) Here's a fun script to try with the updated ELD, logo.sld: @?version @ext printf.eld "\r\n" @ext dbitmap.eld run set1 '#' end set0 ' ' end str "\MLDebug" @ext printf.eld "\t Presented by BTTR Software\r\n" (The reverse capital L is an acceptable way of rendering the first letter of "lDebug" or "lDOS".) ===== Enhanced DR-DOS ===== Pick two changes from SvarDOS: * [[https://hg.pushbx.org/ecm/edrdos/rev/820c1299fa5c|Re-test buffer dirty status after recursive buffer flush]], to address [[https://github.com/SvarDOS/edrdos/issues/120|an error during cross-drive copying]] * [[https://hg.pushbx.org/ecm/edrdos/rev/243525ce79db|Prefer discarded buffer]] when searching a buffer for new data (performance optimisation) Further, [[https://hg.pushbx.org/ecm/edrdos/rev/92e280052d42|the lDOS version string got updated]] to 2024 October. ===== fixmem ===== * nasm.mac: [[https://hg.pushbx.org/ecm/fixmem/rev/d8da6c3c02c4|cap-insensitively define labelsize labels and ret in proc]] * [[https://hg.pushbx.org/ecm/fixmem/rev/918e281a5dc6|replace %out directives]] by %warning * [[https://hg.pushbx.org/ecm/fixmem/rev/bb5746a5aca6|ignore .xcref, .cref, name directives, and handle .xlist]] * [[https://hg.pushbx.org/ecm/fixmem/rev/2c662df245e9|add support for I_AM and I_NEED macros]] used by MS-DOS v4 kernel sources * detect comment that [[https://hg.pushbx.org/ecm/fixmem/rev/54d6fb07091f|indicates NASM original macros to skip remainder of a file]] * nasm.mac: [[https://hg.pushbx.org/ecm/fixmem/rev/bbc415e7c4c0|insert NASM original macros comment]] * [[https://hg.pushbx.org/ecm/fixmem/rev/a3e819139fbd|allow SIZE operator to specify differently-capitalised name]] of a structure * [[https://hg.pushbx.org/ecm/fixmem/rev/90f95446fb48|switch ENDS to define a _struc_size suffixed label]] rather than _size, as _size sometimes clashed {{tag>insref ldosboot ldebug eld logo edrdos fixmem}} ~~DISCUSSION~~