Re: A83: Plain Jump


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

Re: A83: Plain Jump




How about this:

ld hl,levelName
ld bc,9  ; zero isn't really needed....
ld de,op1
ldir
ld hl,260
jp $448a

levelName:
$06,"PLANLVL1",0

Joe Wingbermuehle
http://www.usmo.com/~joewing/

-----Original Message-----
From: Evil Sam <evil_sam@hotmail.com>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Monday, September 28, 1998 9:05 PM
Subject: Re: A83: Plain Jump


>
>>There's a rom call that creates a program:
>>
>>createprog =$448A ; create program with type/name in op1 with hl bytes
>>
>>btw, I'm just too lazy to make an editor for my programs hehe
>>
>>Joe Wingbermuehle
>>http://www.usmo.com/~joewing/
>>
>
>
>   What do you mean by name/type? Like this?:
>CreateProg:
> ld     de,NameProg
> ld     (OP1),de
> ld     hl, 260
> jp   $448a
>
>NameProg:
> .db "planlvl1",0
>
>   That doesn't work. Is there a certain way I need to load the name 
>into OP1?
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>


Follow-Ups: