Commit Graph

35 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
8160bcd276 updating box menu, pre sprite grabbing 2025-03-22 15:57:22 -04: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
1ec09842ad Updating tons of graphics 2024-08-19 14:47:29 -04:00
The Gears of Progress
7e82dd7b65 Adding support for gen 2 2024-06-11 16:34:58 -04:00
The Gears of Progress
2cfec76b3c Adding support for Yellow and fixing other bugs 2024-06-07 13:55:01 -04: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
Remnants of Forgotten Disney
611d78d23a Finalizing Link Cable Connection 2024-04-14 12:26:04 -05:00
Remnants of Forgotten Disney
301ccf602b Finalizing Red/Blue Payload 2024-04-07 16:46:39 -05:00
Remnants of Forgotten Disney
13450924c2 Implementing new payload system 2024-03-29 23:39:58 -05:00
Remnants of Forgotten Disney
6bef2b58f2 Reworking global frames 2024-03-27 12:04:18 -05:00
Remnants of Forgotten Disney
d7d8648eb4 Finalizing the RB transfer rewrite 2024-03-27 11:20:54 -05:00
Remnants of Forgotten Disney
53e7748d48 Organizing files 2024-03-19 13:52:23 -05:00
Remnants of Forgotten Disney
020d27433d Preparing for ASM rewrite 2024-02-24 14:53:12 -06:00
Remnants of Forgotten Disney
1b5f30087a Modifying Pokemon Injection 2024-02-19 08:29:37 -06:00
Remnants of Forgotten Disney
584c7862c3 Updating Link Cable Implementation 2024-02-12 13:28:06 -06:00
Remnants of Forgotten Disney
df1df7ea7f Pre-link rewrite 2024-02-04 12:35:54 -06:00
Remnants of Forgotten Disney
8bb76ca58c Double checking formatting 2023-11-29 08:28:55 -06:00
Remnants of Forgotten Disney
e7fd5f1aba Dialouge system update and text formatting 2023-10-28 17:38:58 -05:00
Starport75
16d4fd642c Implemented Generation 1 2023-08-07 23:38:16 -05:00
Starport75
62ac986314 Working build! 2023-08-05 16:38:43 -05:00
Starport75
2283704747 Link connection errors 2023-08-04 18:33:26 -05:00
Starport75
880f2cce58 Moving link connection to Pokemon_Party class 2023-08-04 14:52:04 -05:00
Starport75
4f74de5309 it works 2023-07-05 23:32:41 -05:00
Starport75
f0802c507e Begining work on Gen 1/2 data conversion 2023-06-18 17:32:41 -05:00
Starport75
dbcb967aae Slightly optimized speed 2023-06-15 19:25:43 -05:00
Starport75
eee4781664 IT WORKED 2023-06-15 19:00:30 -05:00
Starport75
1948cde3dd Almost working SPI 2023-06-14 21:12:52 -05:00
Starport75
34365bc2d9 Porting arduino code 2023-06-10 17:32:33 -05:00