Tilegen background colour

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Tilegen background colour

Postby Bart » Sun Dec 05, 2021 12:37 am

Ian wrote:Well I think I found out where the white is coming from. I *think* it's coming from jtag, it seems to get written at exactly the point where the screen flashes white in harley, and the same for the intro in lost world.


I believe there are some tilegen registers (and almost certainly other video-related registers) that are not exposed in the memory map but which are documented by Charles MacDonald's System 24 docs. They must be set through JTAG. I wonder if the JTAG routines themselves are structured in a logical way (e.g., write this 32-bit value to this register, with the JTAG bit pattern being constructed on the fly) or whether everything is pre-encoded as a bitstream. If the former, then it might be possible to make sense of what is going on by simply reverse engineering the top-level routines that write to JTAG.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Tilegen background colour

Postby Jiterdomer » Mon Jan 10, 2022 9:36 am

Are you guys still working on this one?
Feel the heartbeat of my machine through this tight seat. I feel every motion of my machine
Image
User avatar
Jiterdomer
 
Posts: 627
Joined: Mon Sep 26, 2011 6:37 pm
Location: Los Angeles, California

Re: Tilegen background colour

Postby Ian » Mon Jan 31, 2022 3:24 pm

Not currently
But I wonder if the jtag (assuming that is what is changing the colour) is just setting an xor flag. Something like that would invert the bits being written. OpenGL can do something like this to invert the colours written to the colour buffers.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Previous

Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 0 guests