Page 1 of 1

new memory checker test harness

Posted: Wed Jun 11, 2003 4:59 am
by dont_know_at_all
eqlib\memtest

A simple program that calls the EQ memcheckers and our memcheckers with some test data. After the patch, cut and paste (with a few edits) the memcheckers from eqgame.exe into the asm files, build and run.

Output should be pairs of numbers. If they don't print in pairs, the checkers changed. See testmem.c -- it's really simple.

I'm sleeping late...

Posted: Wed Jun 11, 2003 4:53 pm
by papiraul
Getting an error using nmake

ml.exe /omf /c orig.asm
'ml.exe' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'ml.exe' : return code '0x1'
Stop.

Posted: Wed Jun 11, 2003 6:38 pm
by dont_know_at_all
Sorry, you need an assembler too. There isn't one released with VS so I had to grab one out of the win2k3 environment.

I have verified that the memcheckers all still work.

Posted: Wed Jul 09, 2003 2:48 am
by AMadMonk
vs6 includes an inline assembler (which is arguably easier and saner to use than ML, which is an old friend/foe of mine... provided you have your link options set up right)