0 Members and 2 Guests are viewing this topic.
ld hl, *name* rst 20h bcall(_chkFindSym) ret c ld a, b or a ret z ex de, hl ld de, appBackUpScreen ld bc, 2+2+*nameLength*+1+3+3+3 push af bcall(_flashToRam) pop af ld bc, 2+2+*nameLength*+1+3+3+3+$4000 or a sbc hl, bc add hl, bc adc a, 0 push af ex de, hl dec hl dec hl dec hl ld a, (hl) dec hl ld l, (hl) ld h, a push hl push de ld de, $9D95 bcall(_insertMem) pop hl pop bc pop af bcall(_flashToRam) jp $9D95
thepenguin77:I thought maybe we could add the routine you posted here to the wiki, since there are currently no examples. Would that be ok?
Ah i thought we could add it as an example of how to use _FlashToRAM since currently there isn't any, but thanks for the link, i hadn't seen that before