-
Archives
Recent Comments
- roman on How to decode the Nikon DSLR firmware
- Simeon on How to decode the Nikon DSLR firmware
- Barry on How to decode the Nikon DSLR firmware
- Simeon on Expectation Stress
- Rand Thompson on Expectation Stress
Category Archives: Programming
TrackPopupMenu in WinCE 5.0
After banging my head against the MSDN documentation* for a few days, it turns out that TrackPopupMenu and TrackPopupMenuEx (in CE 5.0 the former maps to the latter) are not in Menu.lib as per the documentation but in Coredll.lib. Also … Continue reading
Posted in C++
Leave a comment
IDA-Pro and Pascal: Sets & Propogating Types
In Pascal there is the Set object, that you set (n<256) bits and then can later check if bit n is set or not. Sort of like a bool array. When you decompile a DOS Pascal program the IDA-Pro Flirt … Continue reading
IDA Pro and Pascal: base one arrays
Today I have finally solved how to handle Pascals base one arrays in IDA Pro. So if you have a fixed size array block, it will normally be packed after some other data. you can see the stru_1DA79 is an … Continue reading
IDA Script: Fixing overlay jumps
In the DOS Gold Box games they use overlays to manage the ‘more code than memory’ problem of the DOS environment. So when this code here (seg000:00F6) calls the sub_21979 it goes via a sub function sub_10180 Which jumps to … Continue reading
Programming Challenges: 110206 Erdos Numbers
I had first tired the Erdos Numbers problem back in 2004, and at the time I was having some odd problems with wrong answers, so ended up submitting the problem 160 times, using while(true); blocks to find which Scenario was … Continue reading