https://bitbucket.org/coutts/5dplus
Tip revision: 0d7cbec6dea8a278a468d89a5bf23bf5670a3172 authored by Coutts on 21 June 2012, 12:32:49 UTC
Fix font sizes (thanks Alex!) and fixed problem of bmp_buffer moving around, using a pointer to the bmp_vram now instead of the raw address. Also testing ML menu with skeleton shoot menu, not working yet though.
Fix font sizes (thanks Alex!) and fixed problem of bmp_buffer moving around, using a pointer to the bmp_vram now instead of the raw address. Also testing ML menu with skeleton shoot menu, not working yet though.
Tip revision: 0d7cbec
link.script
/*#################################################################################
# #
# _____ _ _ #
# | ___| | | | | #
# |___ \ __| |_ __ | |_ _ ___ #
# \ \/ _` | '_ \| | | | / __| #
# /\__/ / (_| | |_) | | |_| \__ \ #
# \____/ \__,_| .__/|_|\__,_|___/ #
# | | #
# |_| #
# #
#################################################################################*/
/*###############################################################################
# #
# Linker script for our hack. We link to 0x7F0000 because our code is #
# copied to there from 0x800000 by the COPY() function in init.c #
# #
# This is done to avoid our code being overwritten by the original firmware #
# when it is loaded into memory. #
# #
################################################################################*/
SECTIONS {
first 0x980000:
{
entry.o;
funclist.o;
bmp.o;
font-large.o;
font-med.o;
font-small.o;
init.o;
debug.o;
gui.o;
menu.o;
bootdisk.o;
stdio.o;
chdk-gui_draw.o;
libgcc.a;
shoot.o;
}
}