I published a new gist on github of my working test suite for my chastelib set of functions using the 64-bit API. The putstring function finally works now that I fixed the stack alignment issue I was having because I am new to 64-bit Windows programming. The other functions like intstr and strint were copied from the Linux version because they are independent of which operating system is being used as long as it is a 64-bit capable Intel machine.
test suite for 64 bit Windows Assembly version of chastelib
The original 32-bit Windows test suite is available as well. It behaves in the exact same way as the 64-bit but uses the 32 bit registers and stack based calling convention for Windows. This was easier because it doesn’t required the weird stack alignment that 64-bit does.
test suite for 32 bit Windows Assembly version of chastelib
There is still a lot I don’t understand about Windows API programming but I am keeping it simple and sticking only to making console based programs. There may eventually be a book that I write on this subject.
Leave a comment