[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.7796197 [View]
File: 914 KB, 282x194, asdfjkl;.gif [View same] [iqdb] [saucenao] [google]
7796197

>Store all resources in arrays and have the compiler load them into RAM automatically
>All resources loaded and available at all times. Pretty comfy, but uses too much RAM
>Change it so resources are stored in ROM and loaded manually as needed
>Start compiling
>It's taking forever
>Look at the task manager
>The compiler is writing hundreds of MB per second
>Look at the ROM file
>It's over 40 GB and growing fast
>Panic, force kill the compiler
>Spend several hours looking for a solution
>Eventually find a solution
>The solution is really fucking stupid
>Rename a few output sections in the linker file
>It compiles and works perfectly
Why me?

If I compile the ROM to ihex format (basically a text file of hexadecimal numbers), then it works even without the "solution". On top of that, the ihex files are identical either way. It makes no fucking sense. fml.

Navigation
View posts[+24][+48][+96]