Vera Color Registers

Get technical support from the community & developers with specific X16 programs if you can't find the solution elsewhere
(for general non-support related chat about programs please comment directly under the program in the software library)
TomXP411
Posts: 1783
Joined: Tue May 19, 2020 8:49 pm

Vera Color Registers

Post by TomXP411 »



On 12/5/2022 at 10:11 AM, desertfish said:




This is not exactly what's happening, if you call the appropriate ROM routines after resetting the vera like this you'll get the normal text screen back. The emulator doesn't hang but it seems like it because the rest of the vera registers isn't set up anymore to display text mode etc.



The routine to call is CINT ($FF81) this will reactivate normal text mode setup after Vera was reset.



Thanks. That helps a lot. ? It also may be the answer to "how do I clean exit" when it comes to custom character sets and color palettes. 

 

User avatar
desertfish
Posts: 1097
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Vera Color Registers

Post by desertfish »


The only problem is that the video output mode (vga <> composite) is also reset to vga , so you'll have to keep track of that yourself and reset it afterwards

TomXP411
Posts: 1783
Joined: Tue May 19, 2020 8:49 pm

Vera Color Registers

Post by TomXP411 »



On 12/5/2022 at 4:34 PM, desertfish said:




The only problem is that the video output mode (vga <> composite) is also reset to vga , so you'll have to keep track of that yourself and reset it afterwards



It didn't occur to me until just now that there might not be a physical switch to put the computer into CVBS mode on boot. Otherwise, there's not much point in using just a composite monitor, since you always need a VGA monitor attached, even if it's just to switch modes after bootup.

 

Post Reply