Post Awpw3DNlITblX85Kwi by maysonic@twit.social
 (DIR) More posts by maysonic@twit.social
 (DIR) Post #AwpXgRBhPA4Yn235lY by foone@digipres.club
       2025-08-04T15:31:49Z
       
       0 likes, 0 repeats
       
       ugh. DMA. as a reverse engineer, I hate DMA
       
 (DIR) Post #AwpXjZPvGSinBKCBs0 by foone@digipres.club
       2025-08-04T15:32:16Z
       
       0 likes, 0 repeats
       
       what code writes this memory value? WHO KNOWS! but the debugger can tell you when the DMA controller writes it
       
 (DIR) Post #AwpYLXDDuVGjLcMHtQ by foone@digipres.club
       2025-08-04T15:39:18Z
       
       0 likes, 0 repeats
       
       it's nice when you can just find the code that loads some data, instead of having to find the code that inserts a request in the queue for a DMA-setup function to start the DMA for and then wait for completion
       
 (DIR) Post #AwpYlBYT3R0phwWhkm by foone@digipres.club
       2025-08-04T15:43:55Z
       
       0 likes, 0 repeats
       
       correction:sets the pointer to the list of sprites to be enqueued by the DMA request function
       
 (DIR) Post #AwpYoT9M5q8d98LWvw by foone@digipres.club
       2025-08-04T15:44:21Z
       
       0 likes, 0 repeats
       
       indirection: the cause of, and solution to, all programming problems
       
 (DIR) Post #AwpbpK4dcgy99KEqTw by foone@digipres.club
       2025-08-04T16:18:15Z
       
       0 likes, 0 repeats
       
       So I've found the load_portrait code and I can adjust the portrait ID, but the palette and layout seems to be stored elsewhere. So they come in corrupt.
       
 (DIR) Post #Awpc6MEkpkWAmV5prM by sapphicselene@sakurajima.moe
       2025-08-04T16:21:17Z
       
       0 likes, 0 repeats
       
       @foone Demons are taunting him lol
       
 (DIR) Post #Awpd5VEU0DqYLT7eG8 by foone@digipres.club
       2025-08-04T16:32:24Z
       
       0 likes, 0 repeats
       
       I'm calling bingo. I found the code I need to hack to load different portraits. I just need to iterate through all 255 values and screenshot 'em
       
 (DIR) Post #Awpw3DNlITblX85Kwi by maysonic@twit.social
       2025-08-04T20:04:43Z
       
       0 likes, 0 repeats
       
       @foone Except for of-by-two errors
       
 (DIR) Post #AwrYK5momYv2JYEvJo by foone@digipres.club
       2025-08-05T14:48:26Z
       
       0 likes, 0 repeats
       
       the background gradient is drawn entirely as solid pixels of palette value 0.Those punks just keep rewriting the palette as the screen is being drawn, resulting in the gradient.
       
 (DIR) Post #AwrYagXTu944vxyhm4 by gunstick@mastodon.opencloud.lu
       2025-08-05T14:51:19Z
       
       0 likes, 0 repeats
       
       @foone I wont tell you how to do bitmap graphics without video ram...https://youtu.be/9QERYotsvUwWriteup:https://beyondbrown.mooo.com/post/anatomy/
       
 (DIR) Post #AwraFZdOa35NLYo07U by foone@digipres.club
       2025-08-05T15:10:00Z
       
       0 likes, 0 repeats
       
       it's a neat trick and I need to figure out how to make it stop
       
 (DIR) Post #AwrbAnJYOJNEHSoFmK by rk@mastodon.well.com
       2025-08-05T15:20:12Z
       
       0 likes, 0 repeats
       
       @foone That’s some Amiga shit right there.
       
 (DIR) Post #AwrdMbR8ZsSMpH7CaW by foone@digipres.club
       2025-08-05T15:44:52Z
       
       0 likes, 0 repeats
       
       I coudn't figure out how to stop it, but I did figure out where in the ROM it stored the intended color ramp, and just overwrote it with a bunch of #FF00FF
       
 (DIR) Post #AwrdPvtcxxeD9I1ray by foone@digipres.club
       2025-08-05T15:45:04Z
       
       0 likes, 0 repeats
       
       or rather, #7C1F because 15bit RGB