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 Rugxulo Homepage, Usono, 22.02.2025, 21: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)

 

Complete thread:

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