http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Site \ question

Click here to log in (you must be logged in to post comments).

AuthorComment
Barrett
Administrator
avatar
Posted: 9 May 2005
13:45 GMT
Total Posts: 1676
<<faq 56>>

is this accurate?

my 85/86 knowledge comes back from my days in 7th grade, so i don't remember very well, but i don't remember this being the case.

then again i am probably wrong.

---
-Barrett A
Andy
Administrator
Posted: 9 May 2005
14:11 GMT
Total Posts: 939
I don't know, I know nothing about the 85/6es... I'll look into it though.
allynfolksjr
Administrator
avatar
Posted: 9 May 2005
14:51 GMT
Total Posts: 1892
I don't have much experience with them either, but the person who added that seems to be in love with the 85/86s, so maybe it's correct.
Lunchbox
Carrier
avatar
Posted: 9 May 2005
15:22 GMT
Total Posts: 2007
The processors are the same for both calculators so all the instructions will be the same, but since the 86 has about 4 times the RAM the 85 does, locations for CALL routines would be offset by some, I imagine. I've never programmed for either, but that's just my educated guess.
Andy
Administrator
Posted: 9 May 2005
17:26 GMT
Total Posts: 939
Demo, aren't the basics a bit more different than that? I thought it was more involved than the 83/83+ relationship.
Lunchbox
Carrier
avatar
Posted: 9 May 2005
18:11 GMT
Total Posts: 2007
I doubt it, the 83/83+ relationship is a LOT different, mainly due to the addition of Flash memory. Assembly programs, as you know, are just a bundle of op codes (and arbitrary data) that are sent to the processor and executed based on the code sent. Since the 82/83/83+/84+/85/86 all have the same processor, it will recognize op codes writen for any model. Where it starts to get different is where the processor has to interact with hardware peripherals, like the LCD, the RAM, etc. I suppose, therefore, a program written for the 83+ would run on any model (even an 85/86), but it would screw you over when it tries to act upon a call or b_call macro, tries to access a 83x-specific ram area, or sends commands to a port.
TI Freak
Probe
Posted: 9 May 2005
19:29 GMT
Total Posts:

Edit
We tried to run an 83 asm program on an 83+, but it wouldn't work. It didn't screw anything up, but just gave an error (I think syntax, this has been some time ago...)
Andy
Administrator
Posted: 9 May 2005
19:32 GMT
Total Posts: 939
Umm, we're only dealing with BASIC right now... I never said anything about assembly. I know for a FACT that the 83 and 83+ aren't binary compatible. On the 83, rom calls are just that -- calls. 83+ needs the banked call routine...
TI Freak
Probe
Posted: 9 May 2005
19:38 GMT
Total Posts:

Edit
Just replying to L's statement, that I have experimented with it. :) Making Codex mess up can make the screen do some VERY strange things...
Lunchbox
Carrier
avatar
Posted: 9 May 2005
21:33 GMT
Total Posts: 2007
To TI-freak: You haven't even seen strange until you've seen some of thee screw-ups i've gotten from mesing with assembly. Nasty stuff...

To Andy: Since BASIC is an interpreted language, it is entirely possible , and probable, that advances have been made when transitioning from the 85 to the 86. Also, you're right about the ROM calls. 83 uses CALL instruction, while 83/84+ use the b_call macro, which is defined as rst 28h / .WORD xxxx, where xxxx is the label name/hex address.
Ray Kremer
Ultralisk
Posted: 11 May 2005
12:23 GMT
Total Posts: 310
As far as Basic goes, there is very little that changed between the 85 and 86. There's a handful of new commands on the 86 that the 85 won't recognize, of course. The main thing is the change in implied multiplication, i.e. 1/2x is treated as 1/(2x) by the 85 (and 82) but is treated as (1/2)x by the 86 (and 83).
Lunchbox
Carrier
avatar
Posted: 11 May 2005
15:28 GMT
Total Posts: 2007
That's an order of operations thing, and any good programmer would put parentheses to specify the difference anyway. I wonder why TI originally had it different...
Morgan
Ultralisk
Posted: 13 May 2005
00:30 GMT
Total Posts: 321
As far as I know, yes that is correct. As Ray said,there are more commands for the 86 like "Text(" that exist on the 86 but lack on the 85. The menu( command is also a bit different due to the lack of the more feature within the menu system, but 85's menu( commands will still work on the 86 in BASIC.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org