How to change background color in Visual 6502?

Let's talk about anything related to the 6502 microprocessor.
Post Reply
Bryan Parkoff
Posts: 109
Joined: 25 Dec 2007

How to change background color in Visual 6502?

Post by Bryan Parkoff »

I use Magnifier which it comes with Windows 10. I enable inversion. The Visual 6502's colors on this browser does not match my sight. I know how to change the colors by modifying rgba's values in expertWires.js and Wires.js.

I am unable to find the rgba's value for background. After Magnifier's color inversion is enabled, the background color is set to white instead of black. The javascript should have background color's variable.

How can I do that?

Take care,
Bryan
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: How to change background color in Visual 6502?

Post by BigEd »

It's possible that changing this line will help, but I haven't tried it:
https://github.com/trebonian/visual6502 ... res.js#L79
Bryan Parkoff
Posts: 109
Joined: 25 Dec 2007

Re: How to change background color in Visual 6502?

Post by Bryan Parkoff »

BigEd wrote:
It's possible that changing this line will help, but I haven't tried it:
https://github.com/trebonian/visual6502 ... res.js#L79
It worked! Thank you for sharing this source code.

Take care,
Bryan
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: How to change background color in Visual 6502?

Post by BigEd »

Phew! Glad I could help.
Post Reply