[A83] Re: 83-Plus Assembly programming header
[Prev][Next][Index][Thread]
[A83] Re: 83-Plus Assembly programming header
Thanks dude, I got it working. I am so happy!
>-----Original Message-----
>From: assembly-83-bounce@lists.ticalc.org
>[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Joe Pemberton
>Sent: Wednesday, April 04, 2001 7:25 PM
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Re: 83-Plus Assembly programming header
>
>
>
>if you're not programming for ION you have to use
>B_CALL(_xxxxx) instead.
>it is case-sensitive. If it's not equated in your include
>file, put this
>into it:
>#define B_CALL(xxxx) rst 28h \ .dw xxxx
>#define B_JUMP(xxxx) call 50h \ .dw xxxx
>
>
>----------------------------------------------
>Original Message
>From: "Matt Durant"<darthvader102@knology.net>
>Subject: [A83] Re: 83-Plus Assembly programming header
>Date: Wed, 4 Apr 2001 19:05:45 -0400
>
>>
>>When I tried to compile my program with the bcall(_setxxop1)
>it gave me an
>>error and said "unrecognized command" all 4 times I used it.
>>
>>>-----Original Message-----
>>>From: assembly-83-bounce@lists.ticalc.org
>>>[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of
>>>ComAsYuAre@aol.com
>>>Sent: Wednesday, April 04, 2001 5:50 PM
>>>To: assembly-83@lists.ticalc.org
>>>Subject: [A83] Re: 83-Plus Assembly programming header
>>>
>>>
>>>ROM calls need to use the macro bcall instead of just doing
>>>explicit calls.
>>>Try:
>>>
>>>yes:
>>> ld a,1
>>> bcall(_setxxop1)
>>> bcall(_stox)
>>> ret
>>>
>>>And do the same for all the other ROM calls. Calls to
>>>subroutines within
>>>your own program can use regular call, but all ROM calls need
>>>to use bcall.
>>>
>>>
>>>In a message dated 4/4/2001 5:37:49 PM Eastern Daylight Time,
>>>darthvader102@knology.net writes:
>>>
>>>
>>>> Can you tell me if my code is right? This is for TI-83 PLus
>>>and it only
>>>> causes my calc to crash:
>>>>
>>>> .NOLIST
>>>> #define equ .equ
>>>> #define EQU .equ
>>>> #include "ti83plus.inc"
>>>> .LIST
>>>> .org 9D95h
>>>>
>>>> begin:
>>>> ld a,6
>>>> cp 6
>>>> jr z,yes
>>>> jr nz,no
>>>>
>>>> yes:
>>>> ld a,1
>>>> call _setxxop1
>>>> call _stox
>>>> ret
>>>>
>>>> no:
>>>> ld a,0
>>>> call _setxxop1
>>>> call _stox
>>>> ret
>>>>
>>>> .end
>>>> END
>>>>
>>>> That is exactly what is in the "test.z80" file. I compiled
>>>it with TASM and
>>>> manually removed the first 8 chars of the object code and
>>>the last two, and
>>>> then the last line.
>>>>
>>>> Have I done anything wrong?
>>>>
>>>>
>>>> Please help me.
>>>>
>>>
>>>
>>>
>>>
>>>----
>>>Jonah Cohen
>>><ComAsYuAre@aol.com>
>>>http://jonah.ticalc.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>_____________________________________________
>Free email with personality! Over 200 domains!
>http://www.MyOwnEmail.com
>
>
>
>
References: