|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2016-1-28. : 9:42 pm] Moose -- http://gadgets.ndtv.com/apps/news/oracle-says-it-is-killing-the-java-plugin-795547 awww yis[2016-1-28. : 8:24 am] * KrayZee catches Generalpie*[2016-1-28. : 8:15 am] * Generalpie yawns and flops over*[2016-1-28. : 7:50 am] O)FaRTy1billion[MM] -- lolwut, apparently there's a problem with my disable floor missile trap[2016-1-28. : 7:47 am] O)FaRTy1billion[MM] -- Then I was interested how SC actually handled iscripts, since there were so many unknowns in the iscript documentation so I started disassembling it ![]() [2016-1-28. : 7:46 am] O)FaRTy1billion[MM] -- I started by making this, just to see if I could mostly[2016-1-28. : 7:38 am] O)FaRTy1billion[MM] -- initially it was just curiosity, then now I'm finishing it for chkd[2016-1-28. : 7:37 am] O)FaRTy1billion[MM] -- tomorrow I'll have to look at what calls the image's rendering function to figure out how this buffer is initially set ... I'm not even sure how SC decides when to or not to draw with player colors[2016-1-28. : 7:35 am] giszo -- btw, thanks for your help, finally I was able to render that overlay properly: http://minimaldiff.hu/openscpp/scv_w_ol.png[2016-1-28. : 7:33 am] O)FaRTy1billion[MM] -- I set it in the main menu and navigated to a game lobby, and hovered over race selection and it cleared[2016-1-28. : 7:33 am] O)FaRTy1billion[MM] -- Huh, apparently this buffer isn't set for every GRP. I set it to entirely 0xFF while in the menus, and the cursor was white until I hovered over something[2016-1-28. : 7:32 am] giszo -- yep, you're right, 8..15, the bottom part was interesting for the selection circle :-)[2016-1-28. : 7:31 am] giszo -- isn't player color values at the bottom part (index 0-7) of the palette used to draw the unit GRP?[2016-1-28. : 7:28 am] O)FaRTy1billion[MM] -- and then it just write that array[GRP value] to the buffer[2016-1-28. : 7:26 am] O)FaRTy1billion[MM] -- Oh, I found it. It just has a 256 char array that is a remapping table containing 0x00 to 0xFF that it copies the player values on to[2016-1-28. : 7:18 am] O)FaRTy1billion[MM] -- It copies the player colors to something, but I don't see it reference it to draw them ... unless it just overwrites the WPE, but I don't see anything that restores the values[2016-1-28. : 7:17 am] O)FaRTy1billion[MM] -- I just realized I don't actually know how SC draws player colors. ;o[2016-1-28. : 7:13 am] NudeRaider -- a little love for a victim of fisting and abuse? http://imgur.com/gallery/pqctb[2016-1-28. : 6:59 am] O)FaRTy1billion[MM] -- Should I draw grps like SC does? It specifies a draw rectangle and will only draw within that rectangle[2016-1-28. : 3:13 am] dumbducky -- Mini Moose 2707Mini Moose 2707 shouted: We finally made it to x87?! I think the math coprocessor that came out right after the 8086 was called the 8087[2016-1-28. : 3:13 am] dumbducky -- FaRTy1billionFaRTy1billion shouted: floats actually use a lot of integer math, and particularly with assembly (carry flags, add with carry instructions) it's trivial to extend math beyond the wordsize You can do it with integer math, but FPUs are way faster.[2016-1-28. : 2:50 am] jjf28 -- Dem0nDem0n shouted: MIPS, though... the useless language we learn instead of x86![]() [2016-1-28. : 2:42 am] Dem0n -- smh cooked my chicken for like 7 minutes on each side, still kind of undercooked.[2016-1-28. : 2:41 am] O)FaRTy1billion[MM] -- now that I've done nothing in the past 3 hours, it's time to leave ![]() [2016-1-28. : 2:37 am] O)FaRTy1billion[MM] -- I never finished my 3D rendering ASM code ;o I was having problems with some of my math functions (I don't remember which ones, sin or exp or something) and didn't really look in to it[2016-1-28. : 2:35 am] O)FaRTy1billion[MM] -- I don't actually know enough about x86 to do anything meaningful, and z80 is pretty useless for anything with any sort of complexity ![]() [2016-1-28. : 2:33 am] O)FaRTy1billion[MM] -- Mini Moose 2707Mini Moose 2707 shouted: Gotta be that one guy on Project Euler who manages to solve the problem in assembly Maybe I will.[2016-1-28. : 2:32 am] Moose -- Gotta be that one guy on Project Euler who manages to solve the problem in assembly[2016-1-28. : 2:32 am] O)FaRTy1billion[MM] -- z80 you want to add to a, d, and b you have to add to a, move that to c, copy d to a, add to a, move a to h, move b to a, add to a, then move a to l .. and hten shuffle around more to use those ( and hope that where you stored the results wasn't something you needed)[2016-1-28. : 2:31 am] O)FaRTy1billion[MM] -- x86 you add on to EAX, but then you can also turn around and add on to EDX or EBX[2016-1-28. : 2:30 am] O)FaRTy1billion[MM] -- so any more complex task you have to shuffle all the registers around to do anything |
IskatuMesk