Re: A86: unlock


[Prev][Next][Index][Thread]

Re: A86: unlock




Stephen Hicks wrote:

> I've been having the same problem.  It displays "Mem cleared\Defaults
set",
> lowers the contrast, then promptly exits out, clears the screen, and puts
> back up what was there before...  I was thinking that maybe it copies the
> text mem into a buffer before bringing up the reset prompt, so we'd need
to
> find where it copies it to first... ?  or maybe force it to homescreen
> mode...?

Do this when [f4] is pressed:

 call _clrScrn
 ld hl,$0503
 ld ($c00f),hl
 ld hl,mem_cleared
 call _puts
 ld hl,$0504
 ld ($c00f),hl
 ld hl,defaults_set
 call _puts
 call _homeup
 call $4ab5            ;-)
 jp _jforcecmdnochar

mem_cleared:
.db "Mem cleared",0
defaults_set:
.db "Defaults set",0

I haven't tried this, but it should work.


Follow-Ups: References: