This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple script for taking SDCC .map file output and compiling CSV summary of symbols and corresponding space in memory map | |
# Usage: reads .map file from standard input and outputs CSV format report | |
import fileinput | |
areas = {} | |
def get_area(name: str): | |
if not name in areas: | |
areas[name] = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include "util.h" | |
inline void clear_screen(const char *with) | |
{ | |
SMS_setNextTileatLoc(0); | |
for (int i = 0; i < 896; i++) | |
SMS_print(with); | |
} |