Re: A86: Asm newbie question
[Prev][Next][Index][Thread]
Re: A86: Asm newbie question
it displays AHL at the current cursor coords in decimal
-----Original Message-----
From: Andy S Johnson <the_laser@juno.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Sunday, February 01, 1998 11:05 PM
Subject: Re: A86: Asm newbie question
>
>Could somebody please explain exactly what this mysterious rom call at
>$4a33 does, and how to use it, or point me to some documentation?
>---
>Andy Johnson
>"Change is inevitable...
> except from vending machines"
>
>On Sun, 1 Feb 1998 19:34:26 -0800 "Jeremy Goetsch"
><jeremy@stupidzone.com> writes:
>>
>>Actually, you would want to load 0 into A, D into H, and E into L,
>>since A
>>is the most significant byte.
>>
>>-----Original Message-----
>>From: Trey Jazz <joemama@minot.com>
>>To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
>>Date: Sunday, February 01, 1998 5:02 PM
>>Subject: Re: A86: Asm newbie question Part 2
>>
>>
>>>
>>>hmmm ok.....u are telling the calc to get a key and not diplaying
>>anything
>>>(ld d into a and e into h and 0 into l and call $4a33)
>>>
>>>-----Original Message-----
>>>From: Matt Gabbert <gabbo@webspan.net>
>>>To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
>>>Date: Sunday, February 01, 1998 6:54 PM
>>>Subject: Re: A86: Asm newbie question Part 2
>>>
>>>
>>>>
>>>>Robby Gutmann wrote:
>>>>
>>>>> you can't do "ld hl,bc" you have to do "ex de,hl" (or maybe
>>switch
>>>>> the order, not sure). this command exchanges the values in hl and
>>de.
>>>>
>>>>I tried this: (just the end of a section of code)
>>>>
>>>> ld a,5
>>>> ld (_curRow),a
>>>> ld a,5
>>>> ld (_curCol),a
>>>> ld de,300
>>>> ex de,hl
>>>> call _getkey
>>>>
>>>>but nothing appears...
>>>>
>>>>I tried:
>>>>
>>>>load h into a, l into h, 0 into l and call $4a33
>>>>
>>>>(or at least what i could figure what this means) but then i got
>>>>something like:
>>>>
>>>>5033:
>>>>
>>>>where I wanted 300 to be displayed.
>>>>
>>>>ALSO, i'd appreciate it if you would write out the code as I would
>>enter
>>>>it instead of me trying to guess what some of it means, and tell me
>>what
>>>>calls like $4a33 are (I couldnt find it in ti86asm.inc)
>>>>
>>>>Matt
>>>>
>>>
>>
>>
>
>_____________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>Or call Juno at (800) 654-JUNO [654-5866]
>