Return to Dustin’s world

Why are the two PowerBASIC files different?

I compiled the same DOS menu twice. The EXEs came out the same size with different hashes.

SALINASA.BAS

Loading source…
Compare the compiler reports

PowerBASIC 3.50 compiler reports

PowerBASIC 3.50 compiled the same menu statements twice. The DOS test entered 1, 2, 8, x and q. Both builds displayed TOW, BARGE and SOUNDING, ignored x and finished on q.

ObservationAB
Reported code784 bytes784 bytes
Reported data3,024 bytes3,024 bytes
Reported stack2,048 bytes4,096 bytes
EXE file sizeEqual
File hashesDifferent
Inspect the measured executables

In the DOSBox-X run of the downloadable batch, each executable was 26,966 bytes. The files differed at 39 byte positions.

SALINASA.EXE · SHA-256
f07e45d97c2d0a79b9a57d76b166aed6aec451a3dcc0997e2222d50e4d5764fa
SALINASB.EXE · SHA-256
ddcc1c79bdaa89eb1c8430a50d52071542fcd280ee29499145a89565512a0034

Which build setting changed?

Run a matching key in both builds before you save an answer.