binhack, bytefix (Announce)
> > > I had my own BINHACK.C on MetaDOS, with examples, that worked
> similarly,
> > > primarily run via DJGPP build of PICOC.
> >
> > yeah, but I want `--dry-run` and `--reverse` and run on win32(running on
> > DOS is extra for me) so patcherfcb is easier for me to hack on.
>
> PicoC has obvious limitations (although runs on other OSes too), but my
> particular source is still ANSI C, so it compiles file with OpenWatcom for
> Win32. Also, it can reverse patches.
>
> Not trying to nitpick or complain, but ...
>
> 1). patcherfcb.exe triggers Win7's UAC (unless I rename to P.EXE)
> 2). strupr() is not ANSI C (among other warnings)
> 3). because of excess whitespace in *.PAT, FreeDOS FC output won't work
> here
> 4). *printf() functions are overkill here
> 5). TinyC (Win32) might give smaller output (here it gives 5 kb vs. 27 kb)
yeah I know TinyC can produce smaller EXE, but it depends on MSVCRT.DLL which doesn't available in NT 3.10.
Complete thread:
- patcherfcb - roytam, 18.01.2025, 04:08 (Announce)
- patcherfcb - DosWorld, 18.01.2025, 14:48
- binhack, bytefix - Rugxulo, 01.02.2025, 00:14
- binhack, bytefix - roytam, 01.02.2025, 00:26
- binhack, bytefix - Rugxulo, 22.02.2025, 21:37
- binhack, bytefix - roytam, 23.02.2025, 03:37
- binhack, bytefix - Rugxulo, 22.02.2025, 21:37
- binhack, bytefix - roytam, 01.02.2025, 00:26
- patcherfcb - DosWorld, 03.02.2025, 18:24