Hi all,
here's my situation:
I'm working on a DOS2 program, which switches to SCREEN5 using direct VDP
I/O and writes VRAM directly as well. When I exit the program, I want to
switch back to the screenmode DOS2 was in before running my program. But I
don't know how!
I figured all base-variables should still be the same, so I tried calling
SUBROM 0D5h using Alex Wulm's CALSUB routine, but that crashes! I also
tried setting SCREEN0 and reinitialising VRAM manually, but that doesn't
seem to work right either. I don't even know if either method is correct.
Anyway, can anybody help me to a piece of code that does what I need?
Thanks in advance,
Patriek
,--. ,-------. ,--. Homepage: \"To make a mistake is
| '--.| __ \ \__/ http://www.tni.nl/ / human, but to really
| __|| | | | ,--. E-mail: \ fuck things up, you
| | | | | | | | [EMAIL PROTECTED] / need a computer."
| '---' | | '--' | \- Glenn Scott,
\_________| |________| The New Image -since 1991-/ Secret Agent W7
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
The MSX faq: http://www.faq.msxnet.org/
The MSX newsgroup: comp.sys.msx
The MSX IRC channel: #MSX on Undernet
****