nmlgc
d49fdce731
[Reduction] #274-323: xx.cpp
...
Yup. 50 functions in a single module, totalling 12,633 bytes, used in all 15
game executables, and no references to any of that in the remaining game code.
[Binary change]
* Order of 3 relocations in all of THO3, TH04 and TH05, TH02's MAIN.EXE and
MAINE.EXE, and TH01's OP.EXE and FUUIN.EXE
* Order of 2 relocations in TH02's OP.EXE and TH01's REIIDEN.EXE
* Inserts a new relocation into TH03's MAIN.EXE
2014-08-29 08:03:21 +02:00
nmlgc
e2ca057d4b
[Reduction] #273 : cputype.asm
...
Don't have the source code for that one either.
2014-08-29 05:58:32 +02:00
nmlgc
dd400d7627
[Reduction] #268-272: xmsg.cpp
...
[Binary change] Order of 6 relocations in every executable except for the TH04
ones.
2014-08-29 04:02:38 +02:00
nmlgc
e0762650c6
[Reduction] #264-267: xalloc.cpp
2014-08-29 03:24:39 +02:00
nmlgc
e1d78d0e9a
[Reduction] #260-263: xxas.cpp
...
Well. Even after downloading pretty much every (identical) copy of Turbo /
Borland C++ 3, 4, 5 and everything inbetween, I could *not* find the original
source to most of the C++ parts in the runtime. Using the IDA disassemblies
to build their slices is simply the only option.
... Really, though, who cares.
2014-08-29 03:08:23 +02:00
nmlgc
a9918e364e
[Reduction] #259 : C++ delete[] operator
...
Same for registerbgifont() being a wrapper around registerfarbgifont(). But
at least there, IDA should have noticed something weird. The original delete[]
operator refers to the delete function, so registerbgifont() would have had to
be a wrapper around registerbgidriver(), which of course doesn't make sense,
and IDA claims to *know* these functions...
2014-08-29 01:35:20 +02:00
nmlgc
0493c0c4e4
[Reduction] #258 : C++ delete operator
...
Lol, "registerbgidriver". Just because the original function is nothing but a
wrapper around free(), and registerbgidriver() is also just a wrapper around
registerfarbgidriver().
2014-08-29 01:26:20 +02:00
nmlgc
6ebf0877f7
[Reduction] #257 : xfflush
2014-08-28 21:54:04 +02:00
nmlgc
f0825bf2e5
[Reduction] #255-256: super_roll_put
2014-08-28 08:52:42 +02:00
nmlgc
7bb29aee62
[Reduction] #254 : super_roll_put_1plane
...
Misreferences in switch tables! Haven't had any of those in a while.
2014-08-28 08:38:11 +02:00
nmlgc
776c094c0a
[Reduction] #253 : super_clean
2014-08-28 08:12:58 +02:00
nmlgc
0c8e9d8550
[Reduction] #252 : 16-bit sine and cosine table
...
Nice! It's not used by master.lib itself, but ZUN makes good use of these
tables to avoid having to rely on floating-point functions.
2014-08-28 07:54:38 +02:00
nmlgc
a65a9c07c3
[Reduction] #251 : Sine table for super_wave_put() and super_vibra_put()
2014-08-28 07:17:42 +02:00
nmlgc
2d8f579e14
[Reduction] #249-250: super_put_8
2014-08-28 06:34:30 +02:00
nmlgc
7efab8b20f
[Reduction] #248 : grcg_circlefill
2014-08-28 06:02:11 +02:00
nmlgc
366ba7a85f
[Reduction] #247 : grcg_pset
2014-08-28 05:48:32 +02:00
nmlgc
eb6c0b5551
[Reduction] #246 : grcg_boxfill
2014-08-28 05:31:57 +02:00
nmlgc
a779b84843
[Reduction] #245 : dos_filesize
2014-08-28 05:14:58 +02:00
nmlgc
9e5b986403
[Reduction] #244 : egc_shift_up
2014-08-28 05:14:57 +02:00
nmlgc
cc2d874c26
[Reduction] #243 : egc_shift_right
2014-08-28 05:14:57 +02:00
nmlgc
b67d68409e
[Reduction] #242 : egc_shift_left
2014-08-28 05:14:56 +02:00
nmlgc
23b7c04376
[Reduction] #241 : egc_shift_down
2014-08-28 05:14:55 +02:00
nmlgc
b4794ec1d9
[Reduction] #240 : cutline
2014-08-28 05:14:54 +02:00
nmlgc
55629eecb0
[Reduction] #234-239: super_put
...
[Binary change] Order of 3 relocations in TH05's OP.EXE, and 2 relocations in
TH05's MAINE.EXE.
2014-08-28 02:23:54 +02:00
nmlgc
68359542c1
[Reduction] #233 : Byte mask
2014-08-28 01:37:48 +02:00
nmlgc
2cf62174c0
[Reduction] #232 : graph_start
2014-08-28 01:16:54 +02:00
nmlgc
c1dac953a5
[Reduction] #231 : graph_hide
2014-08-28 01:05:11 +02:00
nmlgc
9b3e42a150
[Reduction] #230 : graph_400line
2014-08-28 00:58:40 +02:00
nmlgc
057c665ece
[Reduction] #229 : grcg_vline
2014-08-28 00:48:06 +02:00
nmlgc
0dad2dffc8
[Reduction] #228 : grcg_hline
2014-08-28 00:17:57 +02:00
nmlgc
523da7f7b9
[Reduction] #227 : Edge pattern table
2014-08-28 00:05:06 +02:00
nmlgc
b6872319c4
[Reduction] #226 : grcg_byteboxfill_x
2014-08-28 00:04:27 +02:00
nmlgc
877fbd8bd6
[Reduction] #225 : Clipping variables for drawing
...
Well, great. Why did the trapezoid variables have to be included in this
object file? 10 of the executables don't use them, and there's no way to
locate that one needle in the haystack of uninitialized data now.
2014-08-28 00:04:26 +02:00
nmlgc
5a05e580e5
[Reduction] #223-224: memmove
2014-08-27 19:47:14 +02:00
nmlgc
f3e9147459
[Reduction] #221-222: memset
...
Two functions, just differing in their order of parameters. It's...
convenient, I guess?
2014-08-27 07:50:37 +02:00
nmlgc
444901acb5
[Reduction] #220 : memcpy
2014-08-27 07:15:15 +02:00
nmlgc
39bf07ac61
[Reduction] #219 : memcmp
2014-08-27 07:05:29 +02:00
nmlgc
4f075e1718
[Reduction] #217-218: grcg_setcolor and grcg_off
2014-08-27 07:05:16 +02:00
nmlgc
aa9ea36277
[Reduction] #215-216: graph_copy_page
2014-08-27 06:13:48 +02:00
nmlgc
a28cd273c4
[Reduction] #214 : graph_clear
2014-08-27 06:03:08 +02:00
nmlgc
199138182a
[Reduction] #213 : Graphic VRAM-related global data
...
Nothing in the BSS segment for once! Yay.
2014-08-27 05:45:01 +02:00
nmlgc
967a8e3aa5
[Reduction] #212 : graph_show
...
ReC98, where a function consisting of 3 instructions still saves over 150
lines.
2014-08-27 05:19:11 +02:00
nmlgc
a4de9710bd
[Reduction] #211 : make_linework
2014-08-27 05:05:30 +02:00
nmlgc
9bdc776f19
[Reduction] #210 : egc_shift_left_all
...
... yeah.
2014-08-27 04:57:37 +02:00
nmlgc
7240b80154
[Reduction] #209 : pfclose
2014-08-27 03:11:13 +02:00
nmlgc
27693992d9
[Reduction] #208 : bopenr
...
Had to explicitly specify "byte ptr pferrno" for binary compatibility...
2014-08-27 02:54:57 +02:00
nmlgc
64609699ef
[Reduction] #207 : PAR-related global data
2014-08-27 02:40:09 +02:00
nmlgc
95fce9b96b
[Reduction] #206 : palette_white_out
2014-08-27 00:57:45 +02:00
nmlgc
ef64c51958
[Reduction] #205 : palette_white_in
...
No nopcalls for a change?
2014-08-27 00:52:29 +02:00
nmlgc
beae93b603
[Reduction] #204 : palette_black_out
2014-08-27 00:33:43 +02:00