TI 83/84
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsSOFTWARETI 83/84

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old September 15th, 2009, 07:03 PM
PT376 PT376 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 5 PT376 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 42 sec
Reputation Power: 0
Need to know how to use TI-OS user variables in 83/84 Plus Asm.

My question is: How do I use the value from the TI-OS user variables(A - Z, Theta) in an assembly program? This is the code I have so far. I am attempting to get the value from the TI-OS variable D and display it, but it consistently displays 0, no matter what D is.

Code:
.NOLIST
 #include "ti83plus.inc"
 #include "mirage.inc"
.LIST

.org $9D93
 .db $BB, $6D
 B_CALL(_ClrLCDFull)
 LD HL, VarD
 B_CALL(_Mov9ToOP1)
 B_CALL(_ConvOP1)
 EX DE, HL
 B_CALL(_DispHL)
 ret

VarD:
 .DB RealObj, tD, $00, $00

.end
END

Reply With Quote
  Trader Rating: 0 · #2  
Old September 15th, 2009, 07:34 PM
archnaid's Avatar
archnaid archnaid is offline
Moderator
Dev Hardware Specialist (4000 - 4499 posts)
 
Join Date: Feb 2004
Posts: 4,059 archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)  Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 1 Month 1 Week 2 Days 13 h 24 m 28 sec
Reputation Power: 5917
I'm not greatly experienced in such languages, but that appears to be a source file and not an ASM binary. What are you using to compile this?

Reply With Quote
  Trader Rating: 0 · #3  
Old September 15th, 2009, 07:45 PM
PT376 PT376 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 5 PT376 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 42 sec
Reputation Power: 0
Quote:
Originally Posted by archnaid
I'm not greatly experienced in such languages, but that appears to be a source file and not an ASM binary. What are you using to compile this?


It is the source file and i'm using the TASM Assembler Version 3.2.

Reply With Quote
  Trader Rating: 0 · #4  
Old September 17th, 2009, 06:12 AM
archnaid's Avatar
archnaid archnaid is offline
Moderator
Dev Hardware Specialist (4000 - 4499 posts)
 
Join Date: Feb 2004
Posts: 4,059 archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)archnaid User rank is General 74th Grade (Above 100000 Reputation Level)  Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2Folding Points: 692672 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 1 Month 1 Week 2 Days 13 h 24 m 28 sec
Reputation Power: 5917
I've done some brief looking, but the only thing I've seen is references to an area of memory that stores system variables. No info on how to access it.

My guess would be that this sort of thing would be best done by a ROM call?

Reply With Quote
  Trader Rating: 0 · #5  
Old September 17th, 2009, 12:28 PM
PT376 PT376 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 5 PT376 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 42 sec
Reputation Power: 0
I used to be better at assembly for the TI-83/84 +, but I stopped doing it for a while. I had this working before, but I deleted all my source code for all my programs and forget how to do this.

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWARETI 83/84 > Need to know how to use TI-OS user variables in 83/84 Plus Asm.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek