Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

binhack, bytefix (Announce)

posted by roytam, 23.02.2025, 03:37

> > > 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:

Back to the forum
Board view  Mix view
22555 Postings in 2097 Threads, 401 registered users, 14 users online (1 registered, 13 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum