Rairii,
@Rairii@haqueers.com avatar

current status: so the open firmware framebuffer is set to use a colour lookup table

I'M GOING TO NEED TO KNOW WHERE THAT TABLE IS IN MEMORY

Rairii,
@Rairii@haqueers.com avatar

<some looking at linux drivers and reversing of os9 drivers later, followed by memory pokes in OF>

where the base address is the second value in assigned-addresses, where OS9 detects this by lower bit of the first u32 (flags?) as 0x18:

U16LE base+0xb0 is index, then U32LE base+0xb4 is data (00rrggbb) - this is what linux uses, probably for wider device support

there's also 30-bit RGB (10:10:10) at U32LE base+0xb8, which is what OS9 uses

Rairii,
@Rairii@haqueers.com avatar

interesting. in OF the first 16 colours are definitely the VGA colours

not sure what the other 240 colours are

jernej__s,

@Rairii Can you post the palette?

Rairii,
@Rairii@haqueers.com avatar

@jernej__s I tried dumping the palette but I think that register is write-only.

I ended up filling the framebuffer and observing the colours appeared to be similar to the VGA ones.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • rosin
  • GTA5RPClips
  • vwfavf
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • Youngstown
  • ngwrru68w68
  • slotface
  • thenastyranch
  • ethstaker
  • khanakhh
  • kavyap
  • InstantRegret
  • normalnudes
  • modclub
  • osvaldo12
  • anitta
  • everett
  • Durango
  • cisconetworking
  • cubers
  • Leos
  • provamag3
  • tacticalgear
  • tester
  • megavids
  • JUstTest
  • All magazines