Free-up ~15 kB of space

Completed patches for Keen1.
Post Reply
Posts: 554
Joined: Sun Jul 05, 2009 12:32 pm

Free-up ~15 kB of space

Post by lemm » Sat Nov 07, 2009 7:32 pm

By rewriting the procedure that draws tiles into a more compact form, $38C0 = 14528 bytes are freed. Of course the procedure takes marginally longer to execute now, but on DOSBox at 3000 cycles it is not noticeable.

$1940 bytes are freed in the code segment
$1F80 bytes are freed starting at segment 1000:0.

Hope that's enough room to fit your patches in =).

EDIT: The first byte is located at $E6C0.
Last edited by lemm on Mon Nov 09, 2009 12:18 pm, edited 1 time in total.

Posts: 2832
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Mon Nov 09, 2009 10:28 am

I think I shall need to make a new folder in the Patch Index for these sort of things.

So where is the first freed bytes segment located?

Post Reply