Page 1 of 1

How to exit program from graphic to calculating mode

Posted: Mon Aug 12, 2019 4:23 am
by deetee
Is there a command to exit a program from graphic mode to calculator mode (without pressing the EXIT key)?

For example to exit this program (and show the stack) immediately after drawing the pixel:

Code: Select all

00 { 10-Byte Prgm }
01 CLLCD
02 10
03 10
04 PIXEL
05 ???
TIA and regards
deetee

Re: How to exit program from graphic to calculating mode

Posted: Tue Aug 13, 2019 2:43 am
by mcc
Hi deetee,

To achieve this, you may add a CLA in the beginning and a AVIEW at the end.
Basically any "do something with the stack-screen" will work.

BUT:
The DM42 has no "video ram" or that alike. You overwrite the graphic screen
with the stack screen. There is no separation between those.
If you want back the graphic screen you have to PIXEL its contents again.

HTH!
:)

Cheers!
mcc

Re: How to exit program from graphic to calculating mode

Posted: Tue Aug 13, 2019 5:49 am
by deetee
Hello mcc!

Thank you very much for your hint.

Finally I did it with AVIEW, CLLCD and STOP.

CLLCD was necessary to avoid the annoying view of the alpha register on top of the stack. So I can exit my "fastplot" program (in a regular way) directly to the stack.

Regards
deetee

Re: How to exit program from graphic to calculating mode

Posted: Tue Aug 13, 2019 3:53 pm
by mcc
Hi deetee,

happy to hear that it works for you! :)

Have a nice day! :)
Cheers!
mcc