diff options
Diffstat (limited to 'engines/avalanche/test2.cpp')
-rw-r--r-- | engines/avalanche/test2.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/avalanche/test2.cpp b/engines/avalanche/test2.cpp new file mode 100644 index 0000000000..a4f678d650 --- /dev/null +++ b/engines/avalanche/test2.cpp @@ -0,0 +1,17 @@ +#include "ptoc.h" + + +/*#include "Dos.h"*/ + +const array<1,22,char> signature = string("*AVALOT* v1.00 ąttą ")+'\3'+'\0'; +pointer getint1f; +array<1,22,char> x; +int main(int argc, const char* argv[]) +{pio_initialize(argc, argv); +; + getintvec(0x1f,getint1f); + move(getint1f,x,22); + if (x==signature) + output << "Signature found." << NL; else output << "Signature NOT found!" << NL; +return EXIT_SUCCESS; +}
\ No newline at end of file |