Increase requested partition size to 2MB.
This gives a GC heap of around 650kB and a similar amount for OS-managed data such as resources.
This commit is contained in:
parent
6b69bb4030
commit
9d4c8c655a
2 changed files with 26 additions and 3 deletions
|
|
@ -108,10 +108,10 @@ REZ=Rez
|
||||||
RINCLUDES=/Retro68-build/toolchain/RIncludes
|
RINCLUDES=/Retro68-build/toolchain/RIncludes
|
||||||
REZFLAGS=-I$(RINCLUDES)
|
REZFLAGS=-I$(RINCLUDES)
|
||||||
|
|
||||||
$(BUILD)/micropython.bin $(BUILD)/micropython.APPL $(BUILD)/micropython.dsk: $(BUILD)/micropython.code.bin
|
$(BUILD)/micropython.bin $(BUILD)/micropython.APPL $(BUILD)/micropython.dsk: $(BUILD)/micropython.code.bin etc/micropython.APPL.r
|
||||||
$(REZ) $(REZFLAGS) \
|
$(REZ) $(REZFLAGS) \
|
||||||
--copy "$(BUILD)/micropython.code.bin" \
|
--copy $< \
|
||||||
"$(RINCLUDES)/Retro68APPL.r" \
|
etc/micropython.APPL.r \
|
||||||
-t "APPL" -c "mupy" \
|
-t "APPL" -c "mupy" \
|
||||||
-o $(BUILD)/micropython.bin --cc $(BUILD)/micropython.APPL --cc $(BUILD)/micropython.dsk
|
-o $(BUILD)/micropython.bin --cc $(BUILD)/micropython.APPL --cc $(BUILD)/micropython.dsk
|
||||||
hmount $(BUILD)/micropython.dsk
|
hmount $(BUILD)/micropython.dsk
|
||||||
|
|
|
||||||
23
ports/m68kmac/etc/micropython.APPL.r
Normal file
23
ports/m68kmac/etc/micropython.APPL.r
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
#include "Processes.r"
|
||||||
|
#include "Retro68.r"
|
||||||
|
|
||||||
|
resource 'SIZE' (-1) {
|
||||||
|
reserved,
|
||||||
|
ignoreSuspendResumeEvents,
|
||||||
|
reserved,
|
||||||
|
cannotBackground,
|
||||||
|
needsActivateOnFGSwitch,
|
||||||
|
backgroundAndForeground,
|
||||||
|
dontGetFrontClicks,
|
||||||
|
ignoreChildDiedEvents,
|
||||||
|
is32BitCompatible,
|
||||||
|
notHighLevelEventAware,
|
||||||
|
onlyLocalHLEvents,
|
||||||
|
notStationeryAware,
|
||||||
|
dontUseTextEditServices,
|
||||||
|
reserved,
|
||||||
|
reserved,
|
||||||
|
reserved,
|
||||||
|
2 * 1024 * 1024, /* preferred partition size */
|
||||||
|
1024 * 1024 /* min partition size */
|
||||||
|
};
|
||||||
Loading…
Reference in a new issue