Is it possible to change the screen mode directly from BASIC using the gate array? I can't seem to get it to work.
Isn't that what the "mode" command does? Mode 0, mode 1 and mode 2 ? Or have I mis-understood the question?
Bryce.
Quote from: dthrone on 11:15, 22 September 10
Is it possible to change the screen mode directly from BASIC using the gate array? I can't seem to get it to work.
yes, but the interrupt will set it back again.
Maybe one of these sources will help?
http://www.cpctech.org.uk/source.html
True this...
And don't forget the secret screen mode 3 ;-)
Ok, in case you have an assembler, use this:
Switch to mode 1:
di
exx
ld c,&8d
exx
ei
ret
To switch to mode 2:
di
exx
ld c,&8e
exx
ei
ret
But it may not help you reading the characters properly any longer ;-)
Quote from: arnoldemu on 13:50, 22 September 10
yes, but the interrupt will set it back again.
Maybe one of these sources will help?
http://www.cpctech.org.uk/source.html (http://www.cpctech.org.uk/source.html)
Thanks! I think the problem is definitely the interrupt. Can you give me a brief explanation on this or refer me to a specific document to read up on it?
Quote from: dthrone on 12:38, 26 September 10
Thanks! I think the problem is definitely the interrupt. Can you give me a brief explanation on this or refer me to a specific document to read up on it?
You will not have problems with the interrupts if you use my solution.