Page 1 of 1

How to restore text mode?

Posted: Thu Sep 29, 2022 6:28 pm
by GHo0ST
Hi Keith,

I'm working on a small something and have found your tutorials invaluable, thank you.

My question is, how do you restore text mode after going into graphics mode? I've tried using

move.w #%0000000011000000,$e82600
dc.w $ff00

and while this gets me back to DOS, the text looks like its still in 256x256 res, rather than the 'normal' text res. I guess I must be missing something obvious but not sure what...

Re: How to restore text mode?

Posted: Sat Oct 01, 2022 2:23 pm
by akuyou
I think it's 768x512 high res mode. As I'm sure you know, there is no such thing as a text mode - all graphics modes have a text layer.

The settings are on this page, but I think I made a mistake in the value for $E80028 before, which was causing the screen size to be wrong.

https://www.chibiakumas.com/68000/x68000.php

Re: How to restore text mode?

Posted: Sun Oct 02, 2022 7:51 am
by GHo0ST
That worked perfectly, thank you! 8-)