dreamEworks – [-1] – When Things Get Harder

If an index of a series starts from negative, it usually means it’s an article of those behind-the-scene works.

As one is writing my own OS, there is no surprise that the OS won’t work normally. So time is spent to debug.

When it comes to Memory Managing, the bug finally came.

For a not quite apparent reason my malloc() just refuse to give me a memory chunk. It always return NULL instead of somewhere available. Then I spent like a week in debugging that. But it yielded no fruit.

Honestly I am considering pushing down the project and start over. But that would be too costly for an amateur programmer — I still have homework to do, after all!

Now I am honestly stuck. Hopefully I could figure this out before the end of this year.

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s