Re: A86: arg... sqrtKEY again...
[Prev][Next][Index][Thread]
Re: A86: arg... sqrtKEY again...
Well, I guess I'll fix that in the next version. Right now, it'll just
ask you to reinstall it if that happens, and that will install it to a
different location probably, so oh well; what's the likelihood of that
happening more than once anyway...
Cassady Roop
Joshua J Seagoe wrote:
>
> it fixes the problem that occurs if the three bytes you want happen to
> cross a page boundary. change the line "ld a,(6)" to "in a,(6)"
>
> -josh
>
> On Fri, 12 Nov 1999 19:48:31 -0800 Cassady Roop <croop@oregontrail.net>
> writes:
> >
> >Thanks on the 20h/10h mix-up. Unfortunately, your code doesn't work
> >either. It loads the wrong RAM page. I took out all the page
> >switching
> >code and it worked just fine. My question: What was that stuff that
> >I
> >removed intended to do?
> >
> >ld hl, $5A92
> >rst 20h
> >rst 10h
> >jr c, memlock_compromised
> >ld a,b
> >ld a,b
> >ex de,hl
> >call _load_ram_ahl
> >;***took out a bunch of stuff here. What was it supposed to do?***
> >ld de,$0006
> >add hl,de
> >ld de,id_tag_copy
> >ld bc,3
> >ldir
> >
> >Thanks,
> >Cassady Roop
> >
> >
> >
> >
> >
> >
> >> ld hl, $5A92 ;name of sqrtkey program
> >> rst 20h
> >> rst 10h
> >> jr c, memlock_compromised ;if carry, then sqrtKEY doesn't
> >exist.
> >> ld a,b
> >> ex de,hl
> >> call _load_ram_ahl
> >> ld a,(6)
> >> out (5),a
> >> inc a
> >> out (6),a
> >> ld de,-$4000+6
> >> add hl,de
> >> ld de,id_tag_copy
> >> ld bc,6
> >> ldir
> >
>
> ___________________________________________________________________
> Get the Internet just the way you want it.
> Free software, free e-mail, and free Internet access for a month!
> Try Juno Web: http://dl.www.juno.com/dynoget/tagj.
References: