Commit Graph

25 Commits

Author SHA1 Message Date
Philippe Symons
9268cbd42e Reduce binary size by eliminating libstdc++
This commit removes all references to things in the libstdc++ library to remove a decent chunk of bloat.

This means every std::to_string() call, std::string and std::vector. (as well as iostream related stuff).

I replaced those with my own versions ptgb::to_string() and ptgb::vector. Especially the latter is not exactly the same,
but close enough.

I also replaced operator new and delete with my own implementation to avoid pulling in everything related to exceptions
from libstdc++

Another problem was the fact that libtonc uses siscanf, which pulls in everything related to the scanf family of functions
and locale support. The worst part of that was that it included a 13KB "categories" symbol from libc_a-categories.o,
which was pulled in because of the locale support integrated into newlibc's siscanf() function. To fix that, I created a
custom, extremely restricted implementation of siscanf. libtonc only used this function to parse at most 2 integers from a
string anyway.
2025-04-09 20:04:08 +02:00
The Gears of Progress
af21da42b5 continuing work on updated text engine 2025-03-04 11:33:02 -05:00
The Gears of Progress
5eb4321513 Final edits for v1.1.1 2024-12-13 12:08:09 -05:00
The Gears of Progress
fa56964f34 Adding in Yellow to new data transfer 2024-12-13 10:58:11 -05:00
The Gears of Progress
6a8184d2e7 Updating Red/Blue FE/FD code 2024-12-11 18:10:43 -05:00
The Gears of Progress
884ebc9216 Adding data packets to GSC 2024-10-31 10:59:36 -04:00
The Gears of Progress
cd2a9971a5 Adding data packets to Red/Blue 2024-10-30 14:56:44 -04:00
The Gears of Progress
3fc484928e Fixing the bug with English Gold 2024-08-28 15:27:49 -04:00
The Gears of Progress
1ec09842ad Updating tons of graphics 2024-08-19 14:47:29 -04:00
The Gears of Progress
b7f056ce79 Updating Dex Graphics 2024-08-08 16:07:43 -04:00
The Gears of Progress
eae1973f1e Updating gen 2 to the new z80 system 2024-08-03 12:21:39 -04:00
The Gears of Progress
b3cd6a3f92 Updating Yellow z80 2024-08-01 13:55:22 -04:00
The Gears of Progress
430364d956 Updating z80 commands 2024-08-01 13:03:46 -04:00
The Gears of Progress
5fee006f26 Updating Red and Blue's payload to use the z80 class 2024-07-30 18:01:43 -04:00
The Gears of Progress
41bcbfcb9e Adding Z80 compiler and updating Yellow 2024-07-30 16:42:17 -04:00
The Gears of Progress
a5ed8b5bda Prep for Z80-ASM 2024-07-26 12:13:39 -04:00
The Gears of Progress
add977cf02 Prep for bug testing 2024-07-03 17:44:33 -04:00
The Gears of Progress
a8a8edefb3 Finalizing event compatibility 2024-06-28 11:50:22 -04:00
The Gears of Progress
f7cc4b5667 Finalizing the mystery events, sans sprites/music 2024-06-28 11:08:47 -04:00
The Gears of Progress
7181407915 Implementing custom fanfare 2024-06-25 13:20:59 -04:00
The Gears of Progress
7e82dd7b65 Adding support for gen 2 2024-06-11 16:34:58 -04:00
The Gears of Progress
e0f78a3195 Finalizing beta v2 2024-05-29 13:11:44 -05:00
The Gears of Progress
bf7f7f401c Continuing Payload Work 2024-05-02 12:18:24 -05:00
Remnants of Forgotten Disney
5cb282c8a7 Implementing Yellow and Gold/Silver Payloads 2024-04-29 08:29:09 -05:00
Remnants of Forgotten Disney
888c257e49 Implementing internal payload builder 2024-04-21 21:44:14 -05:00