Linked by Thom Holwerda on Mon 17th Jun 2013 17:52 UTC
Games "MineAssemble is a tiny bootable Minecraft clone written partly in x86 assembly. I made it first and foremost because a university assignment required me to implement a game in assembly for a computer systems course. Because I had never implemented anything more complex than a 'Hello World' bootloader before, I decided I wanted to learn about writing my own kernel code at the same time. Note that the goal of this project was not to write highly efficient hand-optimized assembly code, but rather to have fun and write code that balances readability and speed. This is primarily accomplished by proper commenting and consistent code structuring." Just cool.
Thread beginning with comment 564864
To read all comments associated with this story, please click here.
Comment by aligatro
by aligatro on Mon 17th Jun 2013 18:46 UTC
aligatro
Member since:
2010-01-28

"and requires no more than 4 MB(!!!) of RAM."
WoW!. I wonder how much ram it would consume if it had full server with network and everything.

Edited 2013-06-17 18:47 UTC

Reply Score: 1

RE: Comment by aligatro
by linux-lover on Tue 18th Jun 2013 00:06 in reply to "Comment by aligatro"
linux-lover Member since:
2011-04-25

I hope not as much as the 1gb Minecraft's java process can soar to!

Reply Parent Score: 5

RE[2]: Comment by aligatro
by Sykobee on Tue 18th Jun 2013 08:45 in reply to "RE: Comment by aligatro"
Sykobee Member since:
2013-06-18

Yeah, large game world innit. Minecraft is odd amongst games in that the graphics aren't what is using up memory, the actual game data is.

Reply Parent Score: 2

RE: Comment by aligatro
by ferrels on Tue 18th Jun 2013 00:17 in reply to "Comment by aligatro"
ferrels Member since:
2006-08-15

Minecraft graphics are so crappy I'm surprised that this even uses 4MB. Back in the day, games with that level of graphics excellence were squeezed into 640KB or less memory.

Reply Parent Score: 5

RE[2]: Comment by aligatro
by Morgan on Tue 18th Jun 2013 00:40 in reply to "RE: Comment by aligatro"
Morgan Member since:
2005-06-29

Spoken like someone who doesn't get Minecraft. The "crappy" graphics are a feature, not a bug. It's designed to be a block game, therefore the tiles are meant to be blocky. If you don't like the default texture it's a snap to change textures and there are a lot of great, photorealistic ones out there.

Edited 2013-06-18 00:55 UTC

Reply Parent Score: 4

RE[2]: Comment by aligatro
by siride on Tue 18th Jun 2013 02:49 in reply to "RE: Comment by aligatro"
siride Member since:
2006-01-02

The graphics are fairly modern. The default textures are intentionally low-res. You can get texture packs that have much higher quality, but most people don't care for that in Minecraft.

Reply Parent Score: 3

RE[2]: Comment by aligatro
by Sykobee on Tue 18th Jun 2013 08:43 in reply to "RE: Comment by aligatro"
Sykobee Member since:
2013-06-18

Each block in Minecraft can take 4 bytes.

The Minecraft world is 256 blocks high by default, and thousands of blocks wide and high (and that extends as required).

So, for a small map, you could have 4096x4096x256x4 bytes used up just for map data. That's 17179869184 bytes - or 16,384MB to you or me. A lot of this is paged out to disk, but I think you can now see why Minecraft can use 1GB without breaking a sweat. And don't you have 4-16 GB in your system anyway?

Think before you comment next time.

Reply Parent Score: 3