#
✕ nick:marcan
#asahi · 2021-08-01 01:01
marcanthe other weird thing is the contexts
#asahi · 2021-08-01 01:01
marcanthen that goes after, then gets popped, back to 0
#asahi · 2021-08-01 01:01
marcanall commands are at offset 0 until a callback happens and a command gets issued during the callback
#asahi · 2021-08-01 01:00
marcanhm? no, it's a stack
#asahi · 2021-08-01 00:59
marcanthe other side will issue an ack packet when the call is complete (no offset in the ack, you need to keep track of the stack and ack the most recent call in that channel) which means outbuf is populated
#asahi · 2021-08-01 00:59
marcanin the same place
#asahi · 2021-08-01 00:58
marcanthe packets are all tag,inlen,outlen,inbuf,outbuf
#asahi · 2021-08-01 00:58
marcanalyssa: tx/rx are the same, the code is confusing because it plays with the inbuf/outbuf offsets
#asahi · 2021-07-31 16:51
marcanI did ask about your masochistic tendencies when signing up for this :p
#asahi · 2021-07-31 16:46
marcanlol
#asahi · 2021-07-31 16:46
marcanso call it getDefaultStride or whatever
#asahi · 2021-07-31 16:45
marcanapparently DisplayPipePlaneBaseAlignment.DefaultStride?
#asahi · 2021-07-31 16:45
marcanbut dougall already worked it out in #-re
#asahi · 2021-07-31 16:45
marcanit's inlined
#asahi · 2021-07-31 16:41
marcanI need to write something to convert the Construct-based type definitions to something like C
#asahi · 2021-07-31 16:38
marcanthat will disable m1n1
#asahi · 2021-07-31 16:38
marcanyou can just bputil back into reduced security mode
#asahi · 2021-07-31 16:38
marcanI wanted to get ahead of the changes, no point in being behind in versions
#asahi · 2021-07-31 16:37
marcanyes, it's not out yet
#asahi · 2021-07-31 16:37
marcanyes, you need 12.0 beta3
#asahi · 2021-07-31 16:34
marcan/kick alyssa
#asahi · 2021-07-31 16:34
marcanxerpi[m]: I'm sure I can `strings` that out :p
#asahi · 2021-07-31 16:33
marcanthis is why I said I wanted to clean it up :p
#asahi · 2021-07-31 16:33
marcanit's a u32 of course
#asahi · 2021-07-31 16:33
marcanalyssa: yes, that was just a quick hack
#asahi · 2021-07-31 12:44
marcanplane scaling works fine too
#asahi · 2021-07-31 12:44
marcanmode switching probably works too but I didn't get around to trying it because I need to decode the structures that enumerate the modes, but that's a 30 min problem
#asahi · 2021-07-31 12:43
marcanthat should be enough functionality for a "real" graphics driver (i.e. proper vsync and hardware cursor)
#asahi · 2021-07-31 12:43
marcanit works fine, I got page flipping to work for RGBA surfaces
#asahi · 2021-07-31 12:42
marcanpipcet[m]: those names were alyssa's suggestion because she can't wait for me to clean up the code apparently :p
#asahi · 2021-07-31 09:26
marcanI'll probably spend some time on it soon, seeing as alyssa is signing up to do the DCP kernel driver apparently
#asahi · 2021-07-31 09:26
marcanI've been designing the installer in my head for a while now :)
#asahi · 2021-07-31 09:25
marcanI've already tested this, I already did a manual macOS install once, worked fine to the kernel (then exploded due to no sealed OS volume)
#asahi · 2021-07-31 09:24
marcanwhich means no need for any temporary space since this all fits in RAM
#asahi · 2021-07-31 09:24
marcanwe only need the recovery image and firmware bundles; we can skip the actual OS image which is most of it
#asahi · 2021-07-31 09:23
marcanI already have actual professional experience streaming zip files ;)
#asahi · 2021-07-31 09:23
marcanin fact I plan to make the installer stream bits of the ipsw, so it doesn't have to download the whole thing
#asahi · 2021-07-31 09:23
marcanidevicerestore already pulls ipsws from Apple, we'll do exactly the same thing
#asahi · 2021-07-31 09:22
marcanyou can get restore images from Apple's server. it's not like the old macs; ever since T2 they have to support the DFU flow and that means having a publicly accessible API for this
#asahi · 2021-07-30 09:15
marcandottedmag: streaming again in a bit
#asahi · 2021-07-30 09:10
marcandottedmag: no, just some fail, sorry
#asahi · 2021-07-30 05:47
marcanhttps://youtu.be/liLiJIkE5rM bit more DCP work
#asahi · 2021-07-29 13:03
marcanapple have also been customizing firmware for ages (see: AirDrop etc)
#asahi · 2021-07-29 13:00
marcan(and for other things)
#asahi · 2021-07-29 13:00
marcanthey've been using broadcom for wifi since time immemorial
#asahi · 2021-07-29 13:00
marcanit's not licensed, it's just a broadcom chip
#asahi · 2021-07-29 12:52
marcanas long as you don't want wifi
#asahi · 2021-07-29 12:52
marcanthere's also a whole display driver that doesn't use DCP, you know
#asahi · 2021-07-29 12:51
marcanfrom before they started doing this
#asahi · 2021-07-29 12:51
marcanold code

plus ›