Introduction
Introduction Statistics Contact Development Disclaimer Help
Post AwfFehXdL6AdiqJepU by [email protected]
More posts by [email protected]
Post #AwfEdXy9LMYvn4bXU0 by [email protected]
0 likes, 2 repeats
I'm hacking on Solar Winds (DOS, 1993) again. I really don't understand…
Post #AwfEozMnouYdwqajqK by [email protected]
0 likes, 0 repeats
this game is about 1.1 megabytes, so maybe they just never bothered trying to s…
Post #AwfEtWoVPKgOq8iKXI by [email protected]
0 likes, 0 repeats
still, why waste 30kb?
Post #AwfFDLbYn7Ztrt6qUC by [email protected]
0 likes, 0 repeats
some of these strings are double delimited: both $ and NUL. Smells like a assem…
Post #AwfFJp2iFqZ4uDtgyu by [email protected]
0 likes, 0 repeats
anyway I am not 100% sure the two game scripts are identical. might be interest…
Post #AwfFehXdL6AdiqJepU by [email protected]
0 likes, 0 repeats
@foone have you tried if it works without the dat file present?my gut says mayb…
Post #AwfFehdeygzW1X8TDs by [email protected]
0 likes, 0 repeats
@0 it just crashes with a file-missing error if the dat file is missing, it doe…
Post #AwfG2pfqkpdjtXfLKi by [email protected]
0 likes, 0 repeats
@foone Have you ever looked at the DOS game 'Gods?' I love the music in…
Post #AwfJHssFRH2g1eKkjY by [email protected]
0 likes, 1 repeats
@FreakyFwoof @foone I've always thought it was regular mods, this being the…
Post #AwfKXznlY85C6CU3cm by [email protected]
0 likes, 0 repeats
the other interesting thing about solar winds that I discovered a while back: i…
Post #AwfNb5CEFUFhYr5coa by [email protected]
0 likes, 0 repeats
here's another bit of evidence that this program was written in assembly:it…
Post #AwfNdq7AmIoTeh2VAu by [email protected]
0 likes, 0 repeats
very un-c-like behavior
Post #AwfOUPfDqtUSy32DD6 by [email protected]
0 likes, 0 repeats
this may be the first game I've seen that reads the palette out of the VGA …
Post #AwfQ9ypW6tyFrOEbDM by [email protected]
0 likes, 0 repeats
@foone Solar Winds was written by James Schmalz who, I'm pretty sure, wrote…
Post #AwfQ9ywFhrMICHNyiG by [email protected]
0 likes, 0 repeats
@TomGwozdz yeah I'm planning to compare against silverball /epic pinball to…
Post #AwfQdb72r4uWzQYWR6 by [email protected]
0 likes, 0 repeats
all the DAT filenames are prefixed with BH_hypothesis: the original title for S…
Post #AwfQhb0DCsnno3GZDU by [email protected]
0 likes, 0 repeats
@foone I think Civ I also might, considering that its fade-out seems to be sens…
Post #AwfQyLSSFo9gWESmLg by [email protected]
0 likes, 0 repeats
@foone is it possible that they had the script built in but needed to change it…
Post #AwfR119kBxp4QGzBEO by [email protected]
0 likes, 0 repeats
@foone curious to see what you can find out if anything :neomouse_magnify:
Post #AwfRPJCIlahvKJlUIq by [email protected]
0 likes, 0 repeats
@foone my guess would be that the script was growing enough that they were worr…
Post #AwfRerqiDLp98o5N7w by [email protected]
0 likes, 0 repeats
@foone @0 Maybe they had originally planned to use the one embedded into the ex…
Post #AwfRlQKWvauhor9uyG by [email protected]
0 likes, 0 repeats
@maon @foone Oh wow, memories. It is. I was new to mods back then, so had no id…
Post #AwfS9daNIOSJsf7GYi by [email protected]
0 likes, 0 repeats
I think this game doesn't have a random number generatorinstead, every time…
Post #AwfT9i5yd29HozUq3M by [email protected]
0 likes, 0 repeats
@[email protected] so the game would be deterministic if your rtc were broken?
Post #AwfT9iC0GcyA7gJeRk by [email protected]
0 likes, 0 repeats
@tauon no, because DOS maintains the time while it's running.
Post #AwfTDPRrtojB9CV3T6 by [email protected]
0 likes, 0 repeats
@foone omg I remember that game slightly weirdly fondly! But as a kid I never …
Post #AwfTDPYxTSOnVBoiWG by [email protected]
0 likes, 0 repeats
@dan_ballard just general hacking because it's there. I don't think it …
Post #AwfTZFd15iAV3s84pM by [email protected]
0 likes, 0 repeats
@foone speedrun manipulation possibility detected
Post #AwfTZFk6fLq7PrRjsW by [email protected]
0 likes, 0 repeats
@pence I actually already did a speedrun for solar winds! the end goal of the g…
Post #AwfU6FtP84yTRBX3QW by [email protected]
0 likes, 0 repeats
okay I found the code that determines which sprite to use for NPC ships. I hard…
Post #AwfUMtUFgc3Es1hXV2 by [email protected]
0 likes, 0 repeats
*(wchar_t *)(u_00000000000000000000000000000000_1019_b9a0 + 100) = L'\0&#39…
Post #AwfVH64C6Ovw6PJRDs by [email protected]
0 likes, 0 repeats
oh hey hardcoding the ship to type 0 causes some WEIRD problems when you restar…
Post #AwfVWjUbncpEiw7iQS by [email protected]
0 likes, 0 repeats
@foone It knows you well.
Post #AwfVYxgQ0iGlJWi5zc by [email protected]
0 likes, 0 repeats
@[email protected] oh, i thought it was like the ps2 where it stopped working…
Post #AwfVYxnVaLwNfW1l2m by [email protected]
0 likes, 0 repeats
@tauon @[email protected] whats the button combo bc my ps2’s rtc battery is…
Post #AwfVYxub9zc01VLQ5w by [email protected]
0 likes, 0 repeats
@silly @[email protected] square and x i think
Post #AwfVaXql1qlllyIjiK by [email protected]
0 likes, 0 repeats
@foone I love this technique. Though you can improve it by multiplying by a lar…
Post #AwfVdq29sV6P2PCio4 by [email protected]
0 likes, 0 repeats
@foone Amazing! Sadly not RNG limited, then πŸ˜†
Post #AwfVi5RQXEaJyw37Cq by [email protected]
0 likes, 0 repeats
@foone somewhere out there there's a DSP chip that fits this exact descript…
Post #AwfVkuvc4xiGFEWC3M by [email protected]
0 likes, 0 repeats
@foone you might not be but i am
Post #AwfVwQQnIBJ58Paf8y by [email protected]
0 likes, 0 repeats
@foone ... I was going to ask if this was Tyrian, is there any relation?
Post #AwfVwQXsroyhUOuKC8 by [email protected]
0 likes, 0 repeats
@Mendie_Taoma I don't believe so. other than the music, this game was solel…
Post #AwfWHPn6rpBlEN2M3E by [email protected]
0 likes, 0 repeats
@gewt unsurprised
Post #AwfXJbMotn0PfNLYdU by [email protected]
0 likes, 0 repeats
guh. I'm staring confused at this palette fade, wondering why it's only…
Post #AwfYSBJFFYHxPVKUbY by [email protected]
0 likes, 0 repeats
okay I figured out where the fade-out and fade-in routines are and disabled the…
Post #AwfYZY5YxHsy5PRWE4 by [email protected]
0 likes, 0 repeats
anyway decoding this has given me a new perspective on a childhood bug: I playe…
Post #AwfYdfPZfgPRxJlbJw by [email protected]
0 likes, 0 repeats
it could also be the vsync. maybe it was waiting for a screen refresh signal th…
Post #AwfZb3qUT9igp2g5Sq by [email protected]
0 likes, 0 repeats
@foone I can see why most games wouldn't read the palette. Yes, you've …
Post #AwfaPXXEMK6ZNhjtzs by [email protected]
0 likes, 0 repeats
@gewt @foone Which architecture? 144bit sounds really unusual...
Post #AwfaPXdbybD1hUizwW by [email protected]
0 likes, 0 repeats
@vaporeon_ @foone im being technical and exaggering itanium specs
Post #AwfaQ3cJ4zBAsiMPLs by [email protected]
0 likes, 0 repeats
@foone OTOH, why not?
Post #Awfbi69WUS5Bue401Y by [email protected]
0 likes, 0 repeats
@foone this gave me a cursed idea: `double`-segmented architecture.Addresses ar…
Post #AwfcR2kNzwxiNkjmHA by [email protected]
0 likes, 0 repeats
@dgelessus AHHHHHH
Post #Awfcm082vcjOLInW08 by [email protected]
0 likes, 0 repeats
well I don't understand how to use the text drawing routine properly, but I…
Post #AwfcpT3XpjsavbLSKm by [email protected]
0 likes, 0 repeats
It seems to be embedding coordinates into a 16bit integer but not in a way that…
Post #AwfdRC2hXPzvAJwJFo by [email protected]
0 likes, 0 repeats
@foone oh wow I LOVED this game as a kid! I hadn't even thought about it in…
Post #AwfdjY48OZK8gJMWTw by [email protected]
0 likes, 1 repeats
@foone we used similar technique in C64 ;)
Post #AwfgvqqQhWpqGEVgau by [email protected]
0 likes, 0 repeats
okay I was misunderstanding, I think.it's just DI, the high byte being the …
Post #Awfh6LNY1xXrrB0JSS by [email protected]
0 likes, 0 repeats
yeah something fucky is going on: it render ONE VALUE with an X coord >255
Post #Awfh9sEwJHmkdtf1we by [email protected]
0 likes, 0 repeats
BUT HOW?
Post #AwfhOrrM0TVbo3mKIa by [email protected]
0 likes, 0 repeats
@foone Only allow even-numbered x-coordinates?
Post #AwfiDKJsT0vaYLBH28 by [email protected]
0 likes, 0 repeats
@foone Drawing text starting that far right is unlikely. Maybe if it needs to s…
Post #AwfkXGgRtXT2yaNJB2 by [email protected]
0 likes, 0 repeats
@SvenGeier good theory, but nope. 0001 is one pixel to the right of 0000
Post #Awfkbpukqk43OuFEGW by [email protected]
0 likes, 0 repeats
@foone Put the extra bit in the carry flag!
Post #AwfkirhMcCPsxdKgvQ by [email protected]
0 likes, 0 repeats
I love reverse engineering by breaking the code.I confirmed which function is d…
Post #AwflGrhF82rAnhUMOu by [email protected]
0 likes, 0 repeats
@foone the game also glitched out weirdly in cutscenes for me back in the day t…
Post #AwfnXm7BKmNqJwoQgy by [email protected]
0 likes, 0 repeats
ghidra, if you know this code is at 231e:0bbe and it's MOV BYTE PTR CS:[0x4…
Post #Awfnp01mrKegOUVCYi by [email protected]
0 likes, 0 repeats
and if I double click the 44, I end up at 00:44WRONG AGAIN, GHIDRA
Post #Awfnz4GDyayQPy3XhA by [email protected]
0 likes, 0 repeats
231e:0002? that's not... No!
Post #Awfq7NCddLBTOIT0T2 by [email protected]
0 likes, 0 repeats
the game stores the activation status for 39 missions.the game only has 17 miss…
Post #Awfrmt8du1S2GRxRHU by [email protected]
0 likes, 0 repeats
@fooneAn extra bit in that? 17x2=38 close to 39?
Post #Awg11rxdShyoXl1ljM by [email protected]
0 likes, 0 repeats
@fooneIt's been ages since I had to deal with x86 segmentation fuckery, but…
Post #AwgWKat4GMKrfhIdPM by [email protected]
0 likes, 0 repeats
@foone oh, ghidra does dos games - does it also do windows 3.1 games? I always …
Post #AwgWKb0rnMZe3swrZ2 by [email protected]
0 likes, 0 repeats
@Patashu it does, but it's not exactly the greatest at it. much like DOS pr…
Post #AwgWUSNgk8sIBbKDSq by [email protected]
0 likes, 0 repeats
@foone DLC?
Post #AwgWUSU4MPykVOJJPU by [email protected]
0 likes, 0 repeats
@AT1ST 1993!although it is shareware: you can pay to get the second half of the…
Post #AwjTrSv6qjvOfuS7Bw by [email protected]
0 likes, 0 repeats
got damn ghidra. I have a disassembly that shows CMP BYTE PTR [0x0], 0x1and a d…
Post #AwjTxCyH3nz8woffY8 by [email protected]
0 likes, 0 repeats
also yeah, fun segmented memory thing. NULL is a valid memory address and here …
Post #AwjUn99GWC2q9MZujI by [email protected]
0 likes, 0 repeats
*puVar4 = *puVar4;NO
Post #AwjUrgDZVbSFs5koxE by [email protected]
0 likes, 0 repeats
the matching disassembly:MOV AH, byte ptr [DI]MOV byte ptr ES:[DI], AHDO YOU KN…
Post #AwjWfqF6bwcvObxEno by [email protected]
0 likes, 0 repeats
@[email protected] I've had it give similarly crazy results for a piece o…
Post #AwjZNztIIg7ty9w2IS by [email protected]
0 likes, 0 repeats
@foone you’re sure that is a tool, and not a game posing as a tool?
Post #AwjbvBwSiPYyoGNBJo by [email protected]
0 likes, 0 repeats
found the cheat code (it's well known (it's in the MANUAL), but I hadn&…
Post #Awjh5hR0yq0F9KUfE8 by [email protected]
0 likes, 0 repeats
@asie ouch. segment-spanning functions are not something I've had to deal w…
Post #AwjktwPLssfDvhMeeG by [email protected]
0 likes, 0 repeats
found a copy-paste bug! the code that draws these three red dots miscolors the …
Post #AwjlMBHQBRjYAA7Xt2 by [email protected]
0 likes, 0 repeats
the code looks like:MOV AL, 0x34MOV byte ptr ES:[button_offset + 0xa07 ],ALM…
Post #AwjnJpbO0j1oG7Sz68 by [email protected]
0 likes, 0 repeats
so if your gun is on 1-laser mode, it fires every 13-somethings (frames?)with i…
Post #AwjnP19sTKLnY34YvQ by [email protected]
0 likes, 0 repeats
yeah it's frames. at least logic frames, I don't think this game unhook…
Post #AwjvYYD7kjPSIWeDz6 by [email protected]
0 likes, 0 repeats
huh! this game doesn't implement highlighted text by the usual way of just …
Post #AwjwKWIcA8tsGm5bRA by [email protected]
0 likes, 0 repeats
POP AHPUSH AHPOP AHIN OR OUT, MAKE UP YOUR MIND!
Post #AwjwObUOo9efWaY5Qm by [email protected]
0 likes, 0 repeats
@foone this code is a cat
Post #Awjwj3lFP6YV02BRjc by [email protected]
0 likes, 0 repeats
@foone average 00’s song lyrics
Post #Awjx2dd4GtLlkDh3Wy by [email protected]
0 likes, 0 repeats
@foone You do the hokey pokey and decompile around.That's what it's all…
Post #AwjxYNgf4xZlZGViMK by [email protected]
0 likes, 0 repeats
@foone "i write my assembly in a boston accent"
Post #Awjxgg8QNHC36DS8zg by [email protected]
0 likes, 0 repeats
@foone I'm @Mandy_babie on #Mastodon! Come follow me at https://mastodon.xy…
Post #Awjy35ixukk4pmERI8 by [email protected]
0 likes, 0 repeats
@foone Followed by the little-known but vital HKY and CKY instructions, which a…
Post #Awk49Zwp3Yug27Bqmu by [email protected]
0 likes, 0 repeats
so I went and beat the game while having a breakpoint on a function that tells …
Post #Awlc5Ck6yuKEVOI4Dw by [email protected]
0 likes, 0 repeats
why write bool is_joystick_button_down(int button) when you can instead write t…
Post #Awlc9vhlkrXz6yRpke by [email protected]
0 likes, 0 repeats
I know programmers who don't use copy paste and they're all cowards
Post #AwlcCa94MypZ78Tx4a by [email protected]
0 likes, 0 repeats
@foone, do they, by any chance, each call is_joystick_button_down() with an app…
Post #AwlcTSqqk1MjPp0gXA by [email protected]
0 likes, 0 repeats
@lp0_on_fire nope. no parameters. this code actually very rarely uses parameter…
Post #AwlccIDndFk13OxEkS by [email protected]
0 likes, 0 repeats
the only difference between the code is if it ANDs the result against 0x10 (but…
Post #Awlcf8bdq3OA6JSlLU by [email protected]
0 likes, 0 repeats
years ago I asked for the source for this game in the hopes of building a moder…
Post #Awldybjlr06huD74ls by [email protected]
0 likes, 0 repeats
this code does the following:sets joy_left to falsesets joy_right to falsereads…
Post #Awle4klND0lxdVnEfI by [email protected]
0 likes, 0 repeats
@foone it’s like a little dance.
Post #Awle7lEBwALHwkhsPI by [email protected]
0 likes, 0 repeats
this is in the function read_joystick_analog_x, which is the same as read_joyst…
Post #AwlekXqFdlCXix0DUO by [email protected]
0 likes, 0 repeats
@foone wild guess, they just thought copy_pasting the function would've bee…
Post #AwlfNduJ1Uk7pTXgLQ by [email protected]
0 likes, 0 repeats
@foone switch (button) { default: return false; case 1: return is_joystic…
Post #Awlgg4MNVjnB2P1VKa by [email protected]
0 likes, 0 repeats
@foone perhaps because of a lack of well-defined calling conventions, making re…
Post #AwlgnVAcEHIkDQ47V2 by [email protected]
0 likes, 0 repeats
@foone I wish having "joy left" set to "false" wasn't s…
Post #AwliCg6wmwvJLEv0gS by [email protected]
0 likes, 0 repeats
@foone That sounds suspiciously like something I'd do to work around some d…
Post #AwlnVedmyk8k3R9EY4 by [email protected]
0 likes, 0 repeats
@foone premature optimization is the root of all evil.There's also some kin…
Post #AwlnXroqx7ORVQNVJY by [email protected]
0 likes, 0 repeats
@eniko Now do that with a linked list of function pointers instead. πŸ˜‰@foone
Post #AwlndGExaCjWh7A4NU by [email protected]
0 likes, 0 repeats
@foone its a whole int! youre gunna look pretty silly copying and pasting when …
Post #AwlnhNUMZjZSKjKTI0 by [email protected]
0 likes, 0 repeats
@foone just call it "monomorphization" and now it's a feature!
Post #AwlniaskGUdcA4JVCq by [email protected]
0 likes, 0 repeats
@eniko @foone god I hate C
Post #AwlnibnSrc0Yzyqnc8 by [email protected]
0 likes, 0 repeats
@eniko @foone oh, I misremembered how default works and for some reason thought…
Post #AwlzBa75IjGbff2t28 by [email protected]
0 likes, 0 repeats
@foone Wait - isn't this the correct way to read DOS analog joysticks? You …
Post #Awm96minzkkUrw2aGW by [email protected]
0 likes, 0 repeats
@eniko @foone I'm sure people will tell you that three IF statements would …
Post #Awm99nvhxZBLU6W1q4 by [email protected]
0 likes, 0 repeats
@foone Because is_joystick_button_down(1) breaks the "no magic numbers&quo…
Post #AwmCigeBKPUYtaduMa by [email protected]
0 likes, 0 repeats
@foone They probably used a C macro that embedded all the code. So the binary g…
Post #AwnIxfVMePzEa10OP2 by [email protected]
0 likes, 0 repeats
it keeps track of how many enemies/planets are on screen by adding 2 to a globa…
Post #AwnJ0wBX5hk5BIHvAu by [email protected]
0 likes, 0 repeats
on 16-bit system, 2 is a very suspicious number
Post #AwnJ8hLm88jlULmOQ4 by [email protected]
0 likes, 0 repeats
yep there's an array of pointers!
Post #AwnJCBQAmeb9cXUxGK by [email protected]
0 likes, 0 repeats
@foone we have vtable at home
Post #AwnLvVNfcYKASp4Bqi by [email protected]
0 likes, 0 repeats
@foone Because there will always be button n+1
Post #AwnLvVThG992lVt0F6 by [email protected]
0 likes, 0 repeats
@RealGene it's the PC joystick port! it famously doesn't have enough bu…
Post #AwngKYaKqIyGizDIJs by [email protected]
0 likes, 0 repeats
@foone
Post #AwpiesjAFfQtDA5Aoa by [email protected]
0 likes, 0 repeats
@TomF @foone And therefore you should read both at once (two bits on one port),…
Post #AwpiesoTvtgbTeZQ6S by [email protected]
0 likes, 0 repeats
@StompyRobot @foone Ah yes fond memories of the framerate increasing when you m…
Post #AwuWxHde91AM1ZJF3I by [email protected]
0 likes, 0 repeats
this file loading code is broken. it tries to load the file in 64kb chunks but …
Post #AwuXfkXG4FDWO8WZMW by [email protected]
0 likes, 0 repeats
at least this is a compression algorithm that isn't too complicated: it&#39…
Post #AwuXix4ltlfm9Pj85Y by [email protected]
0 likes, 0 repeats
although technically this is the second time I hacked this compression, I did f…
Post #AwubHxGvSesqkynJLc by [email protected]
0 likes, 0 repeats
this game uses a ton of hardcoded offsets into data files. I wonder if this was…
Post #Awuch325HRb5ohNhvE by [email protected]
0 likes, 0 repeats
@foone For most of the horrors you're posting about I don't even know h…
Post #AwudfolivZOFF6hqYC by [email protected]
0 likes, 0 repeats
@foone Autogenerated header file with a bunch of enums/# defines (or language e…
Post #Awudfos6XqUhYtgwUq by [email protected]
0 likes, 0 repeats
@snowfox that's what I hope, but I fear it's not the case
Post #AwudoHHOoC4xz5YXfk by [email protected]
0 likes, 0 repeats
one of the performance things done in this code is that the blit function is fu…
Post #AwudpGz7OGINMLTomm by [email protected]
0 likes, 0 repeats
@foone that's good, I guess...
Post #AwufVVI0hD0xqE19No by [email protected]
0 likes, 0 repeats
oh god.the compression has two varieties. There's no header to determine wh…
Post #AwugkujaTVYV3SpR8S by [email protected]
0 likes, 0 repeats
oh hey this is interesting: See this palette-cycling-ass effect? The palette ne…
Post #AwuheEA3wnBXEYaUy0 by [email protected]
0 likes, 1 repeats
@foone haha
Post #AwujVABXYqVmCi5Ibg by [email protected]
0 likes, 1 repeats
okay, so this fire effect is being run dynamically: it's iterating over par…
Post #AwujZ1AP26bxOOOGW0 by [email protected]
0 likes, 0 repeats
but it's happening per-pixel, which means they need to keep track of which …
Post #AwujjVdGcLv0m8tUkS by [email protected]
0 likes, 0 repeats
IT'S RIGHT THERE, BABY!
Post #AwujvAoFrVIlfaayki by [email protected]
0 likes, 1 repeats
The game uses the palette entries 0 and 143 to determine if it's going up o…
Post #Awujyr6D5R8bhIkXOS by [email protected]
0 likes, 0 repeats
it's at the top (left and right) and bottom because it was misplaced. The o…
Post #Awuk1WVQ6oLMhGoV60 by [email protected]
0 likes, 0 repeats
but since it's invisible, who cares?
Post #Awuk1aQFXyaIqOQQam by [email protected]
0 likes, 0 repeats
the developer may not have even known they misplaced it
Post #Awuk71mZFbfz9CSVfM by [email protected]
0 likes, 0 repeats
I could probably fix it, though.
Post #AwukLzz4Df4luhRazI by [email protected]
0 likes, 0 repeats
@foone Surely someone would have set the colors visible to see what it looks li…
Post #AwukkDwrx1mQApy35k by [email protected]
0 likes, 0 repeats
@foone unclosed parentheses in comment.
Post #AwuksXkeCybNuMDZgG by [email protected]
0 likes, 0 repeats
this is what the logo loaded from the datafiles looks like: Since each pixel st…
Post #AwulH1IS0m14UUhUTw by [email protected]
0 likes, 1 repeats
@foone looks like the gradient is changed through some sort of perlin noise gen…
Post #AwulLgN3EyPn2S4kHA by [email protected]
0 likes, 0 repeats
@foone no fix, just make it so there is a config line to turn the black to a co…
Post #AwurTy0GAPoplYkTCK by [email protected]
0 likes, 0 repeats
@foone aaaand now I have Devin Townsend stuck in my head again
Post #Awus0WB0e9Th1HIY7c by [email protected]
0 likes, 0 repeats
@foone getting >64k file reading/writing wrong seems fairly common. I guess …
Post #AwuuQbikr6L5eVeO4u by [email protected]
0 likes, 0 repeats
@fooneThat seems to be the current industry consensus on adding LLM training si…
Post #AwuyYLVBRMqDU3FRI0 by [email protected]
0 likes, 0 repeats
@foone i guessed they would've used even/odd palette entries or made a cycl…
Post #AwvNdpvcF0we9RKIiW by [email protected]
0 likes, 0 repeats
@foone such a favorite
Post #AwvRmiypqK451cKGSO by [email protected]
0 likes, 0 repeats
@foone Hm. There's enough free palette space there that I think they could …
Post #AwvRmjQqACSyQTQd6m by [email protected]
0 likes, 0 repeats
@foone (i.e. if you need <128 palette entries, duplicate it, then sneak the …
Post #Aww31VqOf4ZKvqIGJM by [email protected]
0 likes, 0 repeats
god this code.I KNOW PROGRAMMERS WHO REUSE COMMON CODE AS FUNCTIONS AND THEY&#3…
Post #Aww43qBY6X5YYIrSxE by [email protected]
0 likes, 0 repeats
why have a load_sprite function when you can just inline slightly different fil…
Post #Aww45T4H1cHVQzEa8W by [email protected]
0 likes, 0 repeats
@foone I try to use at least three different programming languages for each com…
Post #Aww4BX0jHKrJOsT3oW by [email protected]
0 likes, 0 repeats
it's also got a weird palette file.See, VGA is 6 bit per channel, not 8. Bu…
Post #Aww4HpUJUgFqRZJC4W by [email protected]
0 likes, 0 repeats
it instead loads all palettes as 0000000 for all colors, then reloads the palet…
Post #Aww4L4o6zeWQpB7LKy by [email protected]
0 likes, 0 repeats
so 0x3F ends up as 0x3F, as does 0x40, 0x41, and so on up to 0xFF
Post #Aww6xv7h8H3LzXvXXM by [email protected]
0 likes, 0 repeats
@foone I have heard a claim that if it's stupid but works, it isn't stu…
Post #AwwBDJNxbj43Ot873w by [email protected]
0 likes, 0 repeats
@foone Blame the compiler, it probably inlined it all behind their backs!
Post #AwwBKjFhpjmleUo13o by [email protected]
0 likes, 0 repeats
ugh. this program uses the same DS value for all functions EXCEPT the communica…
Post #AwwBNfB3ROCpsm1s4u by [email protected]
0 likes, 0 repeats
@StompyRobot no compiler, this was written in x86 assembly
Post #AwwBUl9rbQh4SUr8JE by [email protected]
0 likes, 0 repeats
@foone macros then
Post #AwwBYHIwXVUL1mmSjA by [email protected]
0 likes, 0 repeats
@StompyRobot I hope so, and it's not just all copy-paste
Post #AwwEc8HALjBm2xTkgK by [email protected]
0 likes, 0 repeats
@foone Reminds me of those sizecoded demos where similar effects are done with …
Post #AwwEc8NtwgZoNqd8BE by [email protected]
0 likes, 0 repeats
@nikku4211 yeah no, this EXE is definitely not sizedcoded. it's got duplica…
Post #AwwFA49SBrBD6K3Ilk by [email protected]
0 likes, 0 repeats
@foone sounds like there's a good chance some of my former coworkers wrote …
Post #AwwFA4Fpo8HfQ72OiO by [email protected]
0 likes, 0 repeats
@mk is your former coworker James Schmalz? because that's who wrote this :)
Post #AwwFHmzPsilSBu2Y7s by [email protected]
0 likes, 0 repeats
@foone well, no, but:We had a tool to parse a kind of log file. The tool was w…
Post #AwwFSot1Aa4DG8J67E by [email protected]
0 likes, 0 repeats
@mk yikes
Post #AwwFTKCajr8yNohfQe by [email protected]
0 likes, 0 repeats
@foone Then it's definitely an epic MegaGame that really lives up to its pu…
Post #AxEQw4dmIO8lfy1VLM by [email protected]
0 likes, 0 repeats
@foone (...although surely you could also just copy-and-mirror the gradient to …
Post #Ay3dXoiv1zllpG9Ebw by [email protected]
0 likes, 0 repeats
@dgelessus @foone I think I know some allocators that would love to be able to …
Post #Ay3dY5Ssms2jkRmATY by [email protected]
0 likes, 0 repeats
@dgelessus @foone You could have just posted nothing at all, nobody would have …
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.