24 Commits
Author SHA1 Message Date
Dagen BrockandClaude Fable 5 9ec1b36958 Modernize release workflow permissions and pinning
Scope contents:write to the release job only, SHA-pin third-party
actions, add fail-fast:false, workflow_dispatch, and auto-generated
release notes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
v1.5
2026-07-26 21:10:26 -05:00
Dagen Brock cda5daf3e6 Merge pull request #14 from digarok/bug-fixes
Fix four logic bugs found in code review
2026-07-23 18:35:52 -05:00
Dagen BrockandClaude Fable 5 d116b06190 Add DLGR conversion test; ignore build and test outputs
New DOUBLE LORES test converts gradient-80x48.bmp with "DL N" and
diffs against the checked-in GRADIENT.DLORES reference. Add a
.gitignore for the built binary and generated .SLO/.DLO outputs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCcEM6zYoVcXQt5YfvFo16
2026-07-23 18:29:23 -05:00
Dagen BrockandClaude Fable 5 64384c021e Fix out-of-bounds plot on screen row 192 in plotthumbDHGR
The glyph row was plotted before the bounds check, and the
post-increment test (y++ > 191) only breaks after row 192 has
already been plotted — indexing one past the end of the 192-entry
HB[] table and writing through a garbage offset. A 32-line title
text file triggers this (line 32 plots glyphs at y=187/188, whose
rows reach 192-193), silently corrupting the output image. Use a
pre-increment so the loop stops after plotting row 191; plotted
output for in-bounds glyphs is unchanged (verified byte-identical
for a 31-line title file).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCcEM6zYoVcXQt5YfvFo16
2026-07-23 18:16:14 -05:00
Dagen BrockandClaude Fable 5 a14a055084 Fix off-by-one scanline pairing in mono DHGR conversion
ConvertMono seeks to the stored row for image line 2y, but read the
second line of the pair sequentially — which in a bottom-up BMP is
the stored row above (image line 2y-1), not below; the pos -= packet
only updated the variable. Output line 0 averaged the top line with
a read past EOF, every other line averaged with the previous line
instead of the next, and the bottom source line was never read —
a half-line vertical phase shift in 560x384 color mono conversions.
Seek to the decremented pos so the pair is image lines 2y and 2y+1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCcEM6zYoVcXQt5YfvFo16
2026-07-23 18:12:39 -05:00
Dagen BrockandClaude Fable 5 da1219a5a5 Don't append CiderPress tags to mono filenames when tags are off
In the tags-off, non-MSDOS naming branch, the mono mainfile/auxfile
names were copy-pasted from the tags-on branch complete with #062000
suffixes, so "b2d img.bmp mono A" produced IMGM.BIN#062000 and
IMGM.AUX#062000 even though the T option was never given.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCcEM6zYoVcXQt5YfvFo16
2026-07-23 17:50:51 -05:00
Dagen BrockandClaude Fable 5 898a213d5f Fix tautological jyoffset range checks in ValidLoResSizeRange
The 40x48/80x48 and 160x96 mixed text/graphics cases used
(jyoffset > -1 || jyoffset < 9), which is always true, unlike the
&& used by every parallel branch. With J given but JT unset (or out
of range), jyoffset became 9 (or negative) and ResizeBMP's unguarded
offset += jyoffset * packet seeked past the pixel data, producing
shifted or garbage rows. Out-of-range values now fall through to the
top-justified default like the other branches.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCcEM6zYoVcXQt5YfvFo16
2026-07-23 17:48:02 -05:00
Dagen Brock 7984c4ac1d Merge pull request #13 from digarok/bug-fix-hgr-preview
Bug fix hgr preview
2026-07-23 09:01:00 -05:00
Dagen Brock 71a7a0df8e use real hgr data when generating preview instead of intermediary buffer 2026-07-23 08:56:03 -05:00
Dagen Brock f9be8986a3 fix swapped parameters 2026-07-23 08:55:16 -05:00
Dagen Brock aaa37b5b65 Merge pull request #11 from a2stuff/master
Fix double-lores conversion
2026-07-21 20:07:12 -05:00
Dagen Brock 0b15333eef Merge pull request #12 from digarok/bitrot
cleanup bitrot
2026-07-21 18:56:40 -05:00
Dagen Brock ca79fe08ac cleanup bitrot 2026-07-21 18:51:53 -05:00
Joshua Bell c6467f0ba0 Fix double-lores conversion
DLR conversion produces an 80x48 source bitmap, then needs to output
even columns of pixels for the aux memory half and odd columns of
pixels for the main memory half. The conversion was incorrectly
processing just the first 40 pixels of each row twice.

Tweak the coordinate lookups during the output pass to get the correct
pixels.
2026-07-17 16:01:49 -07:00
Dagen Brock a2929a3fc6 Merge pull request #2 from digarok/fix-path-casing
Fix path casing
v1.4
2020-06-09 07:01:47 -05:00
Dagen Brock 26fddb02fb Merge branch 'master' into fix-path-casing 2020-06-09 07:00:50 -05:00
Dagen Brock 0363868a66 only uppercase new filename, not path 2020-06-09 06:55:16 -05:00
Dagen Brock a00c62d2a1 remove uppercase code 2020-06-08 21:50:22 -05:00
Dagen Brock 9305909c2a Multiplatform CICD v1.3 2020-05-31 19:53:38 -05:00
Dagen Brock 8d63a3a4c6 segmenting artifacts 2020-05-31 19:16:56 -05:00
Dagen Brock 3fc3762767 Multiplatform CICD 2020-05-03 21:24:15 -05:00
Dagen Brock 8ee13530c5 working mac version
- note that this is the beginning of clang-formatting the code so you'll want to look at this diff with whitespace ignored
2020-05-03 14:35:20 -05:00
Dagen Brock 58e077d990 adding some initial testing 2020-05-03 12:39:44 -05:00
Dagen Brock 1dd50e882f initial commit 2020-05-03 09:55:45 -05:00