Commit Graph

492 Commits

Author SHA1 Message Date
nmlgc 23aa61c002 [Reduction] #446: abort
The one with the single underscore, which is just raise + a wrapper around the
one with two underscores.
2014-09-02 21:45:19 +02:00
nmlgc 9d5aa934d4 [Reduction] #445: flushall 2014-09-02 21:44:35 +02:00
nmlgc 429f134a51 [Reduction] #442-444: fseek and ftell 2014-09-02 21:04:29 +02:00
nmlgc b82a03c3f8 [Reduction] #441: grcg_round_boxfill
No local symbol definitions for variables here, as they are used in both the
normal function and the retfunc.
2014-09-01 21:08:57 +02:00
nmlgc 6250206235 [Reduction] #432-440: xxv.cpp
OK, *that's* the last piece of C++ crud shared across all main executables.
According to the object in the library file though, it seems to include one
more dword named
	__DestructorCountPtr
in the BSS segment. Neither games nor the runtime itself seem to use it, and
as a consequence, it doesn't even seem to be included in the games' BSS
segments, given that they all end with the symbols of xx.cpp...
2014-09-01 13:51:23 +02:00
nmlgc f994832a28 [Reduction] #431: toupper
Neither is this one. Also, interesting how IDA didn't identify the function in
one third of the cases.

[Binary change] Order of 2 relocations in TH03's MAINL.EXE, TH04's MAIN.EXE
and MAINE.EXE, and TH05's MAINE.EXE.
2014-09-01 12:01:35 +02:00
nmlgc 49d85b2c0b [Reduction] #430: tolower
... huh? That is certainly not multi-byte safe.
2014-09-01 12:01:34 +02:00
nmlgc 4e16a92b07 [Reduction] #429: ctype 2014-09-01 12:01:32 +02:00
nmlgc b4dd0d452d [Reduction] #428: text_puts 2014-09-01 08:58:15 +02:00
nmlgc ce245eae9f [Reduction] #427: grcg_trapezoid 2014-09-01 08:45:00 +02:00
nmlgc c90b76bff9 [Reduction] #426: graph_200line
Yup. TH03's graphics layer is actually set to a resolution of 640x200 and
upscaled by the hardware, which gives the game its distinctive low-res look.
2014-09-01 08:41:20 +02:00
nmlgc 1276b727ff [Reduction] #425: grcg_settile_1line 2014-09-01 07:39:11 +02:00
nmlgc a27c177235 [Reduction] #424: grcg_triangle 2014-09-01 07:30:58 +02:00
nmlgc 5b91dd3b42 [Reduction] #423: grcg_polygon_c 2014-09-01 06:52:28 +02:00
nmlgc b2c9ba67bc [Reduction] #422: draw_trapezoid
Yup. From TH03 on, ZUN uses a different version of master.lib, containing more
features than the last official version 0.23 from May 1995. Given the relative
insignificance of the features in question, I presume that Amusement Makers
must have kept their own, improved fork of master.lib, rather than ZUN having
hacked master.lib on his own.

Anyway, that doesn't matter. In the end, we still have to reverse-engineer each
and every one of these changes, and some of the more complicated functions
won't even be reduced before the actual reverse-engineering step of this
project.

[Binary change] Order of 3 relocations in TH05's OP.EXE.
2014-08-31 18:08:50 +02:00
nmlgc 7dc06e0047 [Reduction] #421: super_zoom 2014-08-31 15:27:30 +02:00
nmlgc 5009e416a0 [Reduction] #420: grcg_fill 2014-08-31 12:22:19 +02:00
nmlgc 14b9f10d14 [Reduction] #419: super_convert_tiny 2014-08-31 11:42:22 +02:00
nmlgc 2db5e73934 [Reduction] #418: grcg_line 2014-08-31 11:30:26 +02:00
nmlgc 3549c5496e [Reduction] #417: ems_read 2014-08-31 11:15:56 +02:00
nmlgc 44a2c223f6 [Reduction] #416: ems_space 2014-08-31 11:05:56 +02:00
nmlgc 5261b79d12 [Reduction] #415: ems_write 2014-08-31 11:02:40 +02:00
nmlgc 2c16f56bb1 [Reduction] #414: ems_setname 2014-08-31 10:58:51 +02:00
nmlgc 3660316127 [Reduction] #413: ems_movememoryregion 2014-08-31 10:56:55 +02:00
nmlgc 958f32c884 [Reduction] #412: ems_free 2014-08-31 10:49:03 +02:00
nmlgc d4f0bb7c27 [Reduction] #411: ems_exist 2014-08-31 10:43:56 +02:00
nmlgc 267749bd40 [Reduction] #410: ems_enablepageframe 2014-08-31 10:37:04 +02:00
nmlgc 4b848cc7e8 [Reduction] #409: ems_allocate 2014-08-31 10:32:28 +02:00
nmlgc e9e6d14ab6 [Reduction] #408: gaiji_backup and gaiji_restore 2014-08-31 10:23:41 +02:00
nmlgc bd2ef210c0 [Reduction] #407: gaiji_entry_bfnt 2014-08-31 10:09:59 +02:00
nmlgc 73aad4c7e6 [Reduction] #404-406: gaiji_write and gaiji_write_all 2014-08-31 09:50:38 +02:00
nmlgc 8c68537820 [Reduction] #401-403: gaiji_read and gaiji_read_all 2014-08-31 09:42:55 +02:00
nmlgc c793095729 [Reduction] #400: grc_clip_polygon_n 2014-08-31 08:55:51 +02:00
nmlgc 1546628658 [Reduction] #399: grc_setclip 2014-08-31 08:36:33 +02:00
nmlgc 2ed0225877 [Reduction] #396-398: grcg_circle 2014-08-31 08:01:45 +02:00
nmlgc 1a45a549c4 [Reduction] #395: grcg_circle_x 2014-08-31 07:43:20 +02:00
nmlgc 79db80bb09 [Reduction] #394: graph_pack_put_8 2014-08-31 07:26:45 +02:00
nmlgc ae3804ff89 [Reduction] #393: graph_scroll 2014-08-31 06:54:13 +02:00
nmlgc 4373c64119 [Reduction] #392: graph_scrollup 2014-08-31 06:43:32 +02:00
nmlgc 6c3cfa94ae [Reduction] #390-391: Sound I/O 2014-08-31 06:27:47 +02:00
nmlgc 563ba7001e [Reduction] #389: text_putsa 2014-08-31 05:52:43 +02:00
nmlgc bd09a355b8 [Reduction] #388: text_putca 2014-08-31 05:41:23 +02:00
nmlgc 8f6d34cfe5 [Reduction] #387: text_boxfilla 2014-08-31 05:39:50 +02:00
nmlgc c34c0aa09f [Reduction] #386: palette_entry_rgb 2014-08-31 05:14:54 +02:00
nmlgc 5b09a08612 [Reduction] #385: gaiji_putsa 2014-08-31 05:05:48 +02:00
nmlgc 9242a2dcee [Reduction] #384: gaiji_putca 2014-08-31 04:56:17 +02:00
nmlgc 00c6ed5f5e [Reduction] #380-383: super_put_rect
[Binary change] db 0 → nop after the end of superptr_draw in all affected
executables.
2014-08-31 04:46:46 +02:00
nmlgc 1607f39dab [Reduction] #379: gdc_outpw 2014-08-30 14:15:00 +02:00
nmlgc dd4c95e249 [Reduction] #377-378: super_large_put
[Binary change] db 0 → nop after the end of the DISP8 function in both
executables.
2014-08-30 14:02:08 +02:00
nmlgc 1a0ec60825 [Reduction] #376: iatan2 2014-08-30 13:44:36 +02:00