# | Line 37 | Line 37 | uint8 ram[RAM_SIZE]; | |
---|---|---|
37 | * Init memory management | |
38 | */ | |
39 | ||
40 | < | void MemoryInit(void) |
40 | > | void MemoryInit() |
41 | { | |
42 | // Clear memory contents | |
43 | MemoryClear(); | |
# | Line 48 | Line 48 | void MemoryInit(void) | |
48 | * Exit memory management | |
49 | */ | |
50 | ||
51 | < | void MemoryExit(void) |
51 | > | void MemoryExit() |
52 | { | |
53 | } | |
54 | ||
# | Line 57 | Line 57 | void MemoryExit(void) | |
57 | * Clear memory contents | |
58 | */ | |
59 | ||
60 | < | void MemoryClear(void) |
60 | > | void MemoryClear() |
61 | { | |
62 | memset(ram, 0, RAM_SIZE - 0x2000); | |
63 | memset(ram + 0xe000, 0x40, 0x2000); // Fill kernal ROM area with RTI |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |