diff options
Diffstat (limited to 'engines/avalanche/ints.cpp')
-rw-r--r-- | engines/avalanche/ints.cpp | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/engines/avalanche/ints.cpp b/engines/avalanche/ints.cpp index a14ee55618..f15e68bef6 100644 --- a/engines/avalanche/ints.cpp +++ b/engines/avalanche/ints.cpp @@ -11,7 +11,7 @@ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License @@ -36,23 +36,25 @@ void() old1b; boolean quicko; -void new1b() /* interrupt; */ -{; - quicko=true; +void new1b() { /* interrupt; */ + ; + quicko = true; } -int main(int argc, const char* argv[]) -{pio_initialize(argc, argv); -; - getintvec(0x1b,&old1b); - setintvec(0x1b,addr(new1b())); - quicko=false; - do {; } while (!quicko); - setintvec(0x1b,&old1b); -/* r.ah:=$02; intr($16,r); - writeln(r.al and 12); { Only checks Ctrl and Alt. Both on = 12. } - until false;*/ -return EXIT_SUCCESS; +int main(int argc, const char *argv[]) { + pio_initialize(argc, argv); + ; + getintvec(0x1b, &old1b); + setintvec(0x1b, addr(new1b())); + quicko = false; + do { + ; + } while (!quicko); + setintvec(0x1b, &old1b); + /* r.ah:=$02; intr($16,r); + writeln(r.al and 12); { Only checks Ctrl and Alt. Both on = 12. } + until false;*/ + return EXIT_SUCCESS; } } // End of namespace Avalanche.
\ No newline at end of file |