Post Av3lcGh1xRSibGbPpA by [email protected] | |
More posts by [email protected] | |
Post #Av3Yz8cyoOHiqHHaWe by [email protected] | |
0 likes, 0 repeats | |
hacking on Star Trek: Judgement Rites.I set a memory breakpoint on the VGA buff… | |
Post #Av3ZltF4nsNVJYLgSu by [email protected] | |
0 likes, 1 repeats | |
@foone wow that screenshot is bringing back some childhood memories | |
Post #Av3ZrAafjKwyZDy31c by [email protected] | |
0 likes, 0 repeats | |
I call this memory dump "silence on the bridge" | |
Post #Av3ZucmRNTWErh7T4y by [email protected] | |
0 likes, 0 repeats | |
@foone Very carefully organized palette where every color (that can have a dial… | |
Post #Av3aJjRhjT4emGOOQK by [email protected] | |
0 likes, 0 repeats | |
@saua that's what I figured yeah, but the palette isn't arranged to do … | |
Post #Av3aSAn3wxurtxPKpE by [email protected] | |
0 likes, 0 repeats | |
so the dosbox debugger is stopped at 1376:C506, an ADD command. I hit F11, &quo… | |
Post #Av3aVpKBhWhMU8dypk by [email protected] | |
0 likes, 0 repeats | |
dynamic core: not even once | |
Post #Av3at5s4LcbySnaOqO by [email protected] | |
0 likes, 0 repeats | |
I don't know why there are so many memcopies in 90s DOS software. like, it … | |
Post #Av3b0XVhz3EmDEg48G by [email protected] | |
0 likes, 0 repeats | |
putting aside that Real Mode software often had (at least) two memcopies: you n… | |
Post #Av3b3svOp1mdUrI0Po by [email protected] | |
0 likes, 0 repeats | |
billiam t. gates: 4 memcpys ought to be enough for anyone | |
Post #Av3bWBtdsaAURcxspc by [email protected] | |
0 likes, 0 repeats | |
found a priority bitmap | |
Post #Av3bZ19IILfbyqdM1Y by [email protected] | |
0 likes, 0 repeats | |
@foone Since x86 has a dedicated memcpy instruction, just setting DS:SI, ES:DI … | |
Post #Av3bm5OtnZRMvoAFns by [email protected] | |
0 likes, 0 repeats | |
@KeyJ yeah but they do a farcall to this rep movs-based memcopy. just like the … | |
Post #Av3brUu0PYNFTIIKIa by [email protected] | |
0 likes, 0 repeats | |
@foone OK, *now* I fully understand your complaint! :) | |
Post #Av3cPXFaBhMIbEcLs8 by [email protected] | |
0 likes, 0 repeats | |
found the backbuffer I'm and watching for that get drawn on.it seems to be … | |
Post #Av3dgcqIkV0UowVPJQ by [email protected] | |
0 likes, 0 repeats | |
I'm back on my "figure out what it does by breaking it" bullshit.… | |
Post #Av3e2vHMsnomN5nXN2 by [email protected] | |
0 likes, 0 repeats | |
specifically it seems to be blitting in 8x11 pixel chunks. I don't know why… | |
Post #Av3eINxgWYtVfkxrKi by [email protected] | |
0 likes, 0 repeats | |
@foone Even after all these years, seeing decades of pixel art since then -- I… | |
Post #Av3eIO3iA9iNyRmfj6 by [email protected] | |
0 likes, 0 repeats | |
@fortyseven that's the great thing about quality pixel art, it doesn't … | |
Post #Av3edo0Qt4AOWqSnzM by [email protected] | |
0 likes, 0 repeats | |
@[email protected] maybe 8x11 is the size of a letter (including padding)? | |
Post #Av3edo6SWezGpXHcNk by [email protected] | |
0 likes, 0 repeats | |
@unnick oh that makes sense! it may be exactly that | |
Post #Av3f1eCwy4Nh5fgfhI by [email protected] | |
0 likes, 0 repeats | |
Found it! There's a lookup table that remaps the palette to a darker versio… | |
Post #Av3fGCToLHoxRAVsCu by [email protected] | |
0 likes, 0 repeats | |
I have no idea how I'm going to implement this into the death generator. it… | |
Post #Av3gO116we509lNZzM by [email protected] | |
0 likes, 0 repeats | |
as @unnick pointed out, the 8x11 is the font size.I found the font but it'… | |
Post #Av3gSVAcmEs8ply6Pg by [email protected] | |
0 likes, 0 repeats | |
I assume this made sense in some other mode. planar EGA, maybe? | |
Post #Av3gXbiDsjVeZU7Oee by [email protected] | |
0 likes, 0 repeats | |
@foone @unnick lol bitplanes in 2bpp | |
Post #Av3ghhEQDRd6aKzR7A by [email protected] | |
0 likes, 0 repeats | |
@foone maybe it's so they can more easily support rendering in either 1bpp … | |
Post #Av3hBLMo4aRbSb35MW by [email protected] | |
0 likes, 0 repeats | |
@gsuberland could be! | |
Post #Av3i89UfrP7violqoi by [email protected] | |
0 likes, 0 repeats | |
ugh. this is the wrong font.It has the same SHAPE, so I think it's based on… | |
Post #Av3jYvtSdLKnJYhMbA by [email protected] | |
0 likes, 0 repeats | |
@foone you only really need two, because every near pointer can be converted to… | |
Post #Av3jYw0CEIipeRqk64 by [email protected] | |
0 likes, 0 repeats | |
@erincandescent nope! too slow.You gotta use rep MOVSW to move 16bits at a time… | |
Post #Av3jtjNUMUFsZxf2rQ by [email protected] | |
0 likes, 0 repeats | |
@erincandescent but yeah, you should only need two memcpys. I still keep findin… | |
Post #Av3lYuLCbcPaPKn2vI by [email protected] | |
0 likes, 0 repeats | |
@gsuberland @foone @unnick Bitplanes were a pretty standard practice at the tim… | |
Post #Av3lcGh1xRSibGbPpA by [email protected] | |
0 likes, 0 repeats | |
@foone 😂 | |
Post #Av3ldmfsXMOU4ump4y by [email protected] | |
0 likes, 0 repeats | |
Captured the whole font!At the wrong size! Fuck! | |
Post #Av3lewhSkQRTSg56Xo by [email protected] | |
0 likes, 0 repeats | |
@[email protected] the letters line up pretty nicely with a 8x11 grid | |
Post #Av3liNV5Yq6ZRyvjKS by [email protected] | |
0 likes, 0 repeats | |
@KeyJ @foone Was rep movsb still faster on the 286/386/486? (It looks like Judg… | |
Post #Av3lveY3UMUS5VeDiK by [email protected] | |
0 likes, 0 repeats | |
@dalias @foone @unnick yup, just seems quaint with 2bpp | |
Post #Av3m4iqasHFY1kdxdQ by [email protected] | |
0 likes, 0 repeats | |
got all the glyphs. Next steps, unicode matching and figuring out how many pale… | |
Post #Av3mnG5Gf8WdqnkAKW by [email protected] | |
0 likes, 0 repeats | |
@foone that's quaint! | |
Post #Av3xGWkCnXUhSeUFnM by [email protected] | |
0 likes, 0 repeats | |
@foone @erincandescent ....almost surprised they didn't throw MOVSD in ther… | |
Post #Av3xIS3TCgbzUrPoqO by [email protected] | |
0 likes, 0 repeats | |
@foone pinging @georgetakei for reasons :3 | |
Post #Av3xkoNnmZRqr0Rsbg by [email protected] | |
0 likes, 0 repeats | |
@[email protected] @[email protected] Maybe you can make… | |
Post #Avz0LpmWoqanpEVmAC by [email protected] | |
0 likes, 0 repeats | |
@snowfox @foone For large aligned blocks, optimizations like rep movsd (386+) o… | |
Post #Avz0LptyNAY0CJzilc by [email protected] | |
0 likes, 0 repeats | |
@snowfox @foone Just checked quickly - glibc indeed does that: on x86, for 8 by… |