China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 04:25
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Experts, take a look: about the negative checksum in the EXE file format View 694 Replies 2
Original Poster Posted 2003-12-21 00:00 ·  中国 云南 红河哈尼族彝族自治州 联通
初级用户
Credits 107
Posts 2
Joined 2003-12-21 00:00
22-year member
UID 14306
Gender Male
Status Offline
I want to handcraft a few DOS EXE files. I've studied them for many days, but I still can't figure out the negative checksum in the EXE header format. How is it calculated?
Sigh, I've looked up some materials too and still couldn't find it. Frustrating.
Floor 2 Posted 2003-12-24 00:00 ·  中国 云南 红河哈尼族彝族自治州 联通
初级用户
Credits 107
Posts 2
Joined 2003-12-21 00:00
22-year member
UID 14306
Gender Male
Status Offline
Sheesh, nobody answered?
Floor 3 Posted 2003-12-24 00:00 ·  中国 天津 教育网
高级用户
★★
Credits 924
Posts 243
Joined 2003-07-09 00:00
23-year member
UID 6612
Gender Male
Status Offline
Is the negative checksum just the checksum with the bits inverted?
Forum Jump: