diff options
author | uruk | 2013-06-17 10:38:38 +0200 |
---|---|---|
committer | uruk | 2013-06-17 10:38:38 +0200 |
commit | a2adda516bdf790651283201a666f253a8bfcc49 (patch) | |
tree | bdc6479a6889d15d1b25e47e28f0c86f093a9610 /engines/avalanche/shell2.cpp | |
parent | 2f0e43bb2e402bbcf65175934d21ade6febaad60 (diff) | |
download | scummvm-rg350-a2adda516bdf790651283201a666f253a8bfcc49.tar.gz scummvm-rg350-a2adda516bdf790651283201a666f253a8bfcc49.tar.bz2 scummvm-rg350-a2adda516bdf790651283201a666f253a8bfcc49.zip |
AVALANCHE: Initial PtoC output.
Diffstat (limited to 'engines/avalanche/shell2.cpp')
-rw-r--r-- | engines/avalanche/shell2.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/engines/avalanche/shell2.cpp b/engines/avalanche/shell2.cpp new file mode 100644 index 0000000000..053bca9eed --- /dev/null +++ b/engines/avalanche/shell2.cpp @@ -0,0 +1,26 @@ +#include "ptoc.h" + + +/*#include "Dos.h"*/ +#include "graph.h" + +struct infotype { + matrix<128,255,1,8,byte> chars; + string data; +}; +infotype table; +pointer where; +integer gd,gm; +int main(int argc, const char* argv[]) +{pio_initialize(argc, argv); +; + getintvec(0x1f,where); move(where,table,1280); + gd=1; gm=0; initgraph(gd,gm,"c:\\turbo"); + output << "Now in CGA low-res 320x200." << NL; + output << "High ASCII codes work- œœœ °±² ðððññóòôõ" << NL; + output << "And the code is..." << NL; + output << table.data << NL; + output << "Press Enter..." << NL; + input >> NL; closegraph(); +return EXIT_SUCCESS; +}
\ No newline at end of file |