News for hackers. Stuff that matters.
Re:Hello World by _the_inflator on Monday April 08, 2024 @04:09PM (#39973207)
Compared to a Hello World program on C64 written in assembler probably not. ;)

I need roughly 24 bytes. 16kb means 16.384 bytes. I can think of better usage of $4000 space in memory, FLI for example.

Re:Hello World by anyfoo on Monday April 08, 2024 @08:09PM (#39975038)
The majority of these 16384 bytes could be zeroes. They fill a single page, and if so, the only use you could make of those other ~16000 bytes would be to fill it with other code and/or read-only data for the same program, which just wasn't done here.

In that sense, they are not "lost", just merely "unused".

So now it would be interesting to see how much of the 16kB were not padding, though. OP said they looked at it with Ghidra, so did they see 16kB of actual code?