new memory checker test harness

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

new memory checker test harness

Post by dont_know_at_all » Wed Jun 11, 2003 4:59 am

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

papiraul
a lesser mummy
a lesser mummy
Posts: 76
Joined: Fri Sep 27, 2002 8:46 am

Post by papiraul » Wed Jun 11, 2003 4:53 pm

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.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Jun 11, 2003 6:38 pm

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.

AMadMonk
a lesser mummy
a lesser mummy
Posts: 77
Joined: Tue Sep 24, 2002 9:16 pm

Post by AMadMonk » Wed Jul 09, 2003 2:48 am

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)