Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
22 May, 2013, 22:42:48 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: ASM OS TI83Plus -  (Read 627 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
MrFinn
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 04 May, 2012, 01:29:53
Date Registered: 01 May, 2012, 20:13:31
Posts: 5

Topic starter
Total Post Ratings: 0

View Profile
« on: 03 May, 2012, 21:24:19 »
0

Is there a list somewhere that says all of the b_call commands? Im trying to find out two things:
1. how to turn off the "program running" bar in the upper right
2. and to make the screen not move when you display something in the bottom right most of the screen.

fyi im very new to asm programming
thanks for any help i can get
Logged
C0deH4cker
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 19 December, 2012, 22:22:42
Date Registered: 18 October, 2011, 23:19:08
Location: $9D95
Posts: 258


Total Post Ratings: +10

View Profile WWW
« Reply #1 on: 03 May, 2012, 22:16:42 »
0

look in ti83plus.inc for the list of bcalls.
Logged

Netham45
WOOOOOO
President
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 06:51:53
Date Registered: 26 August, 2008, 07:35:31
Location: Denver, Colorado
Posts: 2296


Total Post Ratings: +208

View Profile WWW
« Reply #2 on: 03 May, 2012, 22:26:41 »
0

You can also look here for a more complete list:
http://wikiti.brandonw.net/index.php?title=Category:83Plus:BCALLs:By_Name

Note that a fair number of those are non-official, discovered by the community.
Logged

Creator of OmnomIRC and SpyBot45
Join LOPN(Lobsters Opposing Pink Names) now, help us fight back!
Message me for more information, and to join now!
Members: Graphmastur;Stefan Bauwens
HOLY SHIT, I HAVE A BLOG



                                     
Put this in your signature if you've played the original WFRNG
Xeda112358
Xombie. I am it.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 19:26:44
Date Registered: 31 October, 2010, 08:46:36
Location: Land of Little Cubes and Tea, NY
Posts: 3757


Total Post Ratings: +609

View Profile
« Reply #3 on: 03 May, 2012, 22:29:44 »
0

For the run indicator, you will need to simply use bcall(_RunIndicOff). The official SDK on the TI site has tons of info, too. I would use the link Netham gave for undocumented stuff and the official one for documented stuff Smiley
Logged



Grammer Download (2.29.04.12)
Latest update (possibly incomplete)
My pastebin
Spoiler for FileSyst:
FileSyst is an application that provides a folder and filesystem for the TI-83+/84+ calculators. It is designed to be easy to access and use in BASIC, and it can be used to access game files and save data, or to create a command prompt, among other things:

Spoiler for Graphiti:
This is a graph explorer for graph theory. It will require lots of work to finish. Currently you can:
Add/delete vertices
Add edges (direction not shown, but they are directed)
Arrange vertices in a circle (in the future, you will be able to define levels of rings and the number of nodes in each)
Create complete graphs quickly

Plans:
Add adjacency matrix viewer
Deleting edges
Multiple graphs support
Arrows for directed graphs
Planarity testing
Matrix operations
Weighted edges
Chromatic polynomials
Chromatic numbers

Spoiler for Stats:

Samocal             [o---------]
Virtual Processor   [o---------]
EnG                 [oo--------]
Grammer             [ooo-------]
AsmComp             [ooo-------]
Partex              [oooo------]
BatLib              [oooooooo--]
Grammer82           [----------]
Grammer68000        [----------]


Pseudonyms:  Zeda, Xeda, Thunderbolt
Languages:   English, français
Programming: z80 Assmebly
             Grammer
             TI-BASIC (83/84/+/SE, 89/89t/92)
Known For:   -Creator of the Grammer programming language
              (Winning program of zContest2011)
             -BatLib- One of the most feature packed libraries for BASIC programmers available
              with over 100 functions and a simple programming language
             -Learning to program z80 in hexadecimal before using an assembler (no computer was
              available!)
╔═╦╗░╠═╬╣▒║ ║║▓╚═╩╝█


MrFinn
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 04 May, 2012, 01:29:53
Date Registered: 01 May, 2012, 20:13:31
Posts: 5

Topic starter
Total Post Ratings: 0

View Profile
« Reply #4 on: 03 May, 2012, 22:32:05 »
0

You guys are great!  Grin

Thanks for the links.
Logged
Xeda112358
Xombie. I am it.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 19:26:44
Date Registered: 31 October, 2010, 08:46:36
Location: Land of Little Cubes and Tea, NY
Posts: 3757


Total Post Ratings: +609

View Profile
« Reply #5 on: 03 May, 2012, 22:34:25 »
0

Hehe, good luck! By the way, might I ask what you are working on?


EDIT: Also, here is your topic from yesterday: http://www.omnimaga.org/index.php?topic=13417.0
« Last Edit: 03 May, 2012, 22:35:39 by Xeda112358 » Logged



Grammer Download (2.29.04.12)
Latest update (possibly incomplete)
My pastebin
Spoiler for FileSyst:
FileSyst is an application that provides a folder and filesystem for the TI-83+/84+ calculators. It is designed to be easy to access and use in BASIC, and it can be used to access game files and save data, or to create a command prompt, among other things:

Spoiler for Graphiti:
This is a graph explorer for graph theory. It will require lots of work to finish. Currently you can:
Add/delete vertices
Add edges (direction not shown, but they are directed)
Arrange vertices in a circle (in the future, you will be able to define levels of rings and the number of nodes in each)
Create complete graphs quickly

Plans:
Add adjacency matrix viewer
Deleting edges
Multiple graphs support
Arrows for directed graphs
Planarity testing
Matrix operations
Weighted edges
Chromatic polynomials
Chromatic numbers

Spoiler for Stats:

Samocal             [o---------]
Virtual Processor   [o---------]
EnG                 [oo--------]
Grammer             [ooo-------]
AsmComp             [ooo-------]
Partex              [oooo------]
BatLib              [oooooooo--]
Grammer82           [----------]
Grammer68000        [----------]


Pseudonyms:  Zeda, Xeda, Thunderbolt
Languages:   English, français
Programming: z80 Assmebly
             Grammer
             TI-BASIC (83/84/+/SE, 89/89t/92)
Known For:   -Creator of the Grammer programming language
              (Winning program of zContest2011)
             -BatLib- One of the most feature packed libraries for BASIC programmers available
              with over 100 functions and a simple programming language
             -Learning to program z80 in hexadecimal before using an assembler (no computer was
              available!)
╔═╦╗░╠═╬╣▒║ ║║▓╚═╩╝█


MrFinn
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 04 May, 2012, 01:29:53
Date Registered: 01 May, 2012, 20:13:31
Posts: 5

Topic starter
Total Post Ratings: 0

View Profile
« Reply #6 on: 03 May, 2012, 23:09:40 »
0

like i said, im VERY new to programming asm.
Im simply trying to make a program that allows me to use the arrows to move a "cursor" (any one letter output)  up, down, left, right around the screen.

when ever i get to the bottom right most square, the screen auto scrolls... Sad i still cant seem to get around that.


In basic i have almost completed a battleship program that has an ai that should be able to beat a human 50% of the time. i started learning asm because it is slow and i want to make it fast.

i have read "asm for the absolute beginner" and have "learn ti83+ in 28 days"

Sry for the long explation. anyways thats where im at.
Logged
Runer112
Anti-Riot Squad
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 17:37:02
Date Registered: 02 July, 2009, 06:38:05
Posts: 1679


Total Post Ratings: +492

View Profile
« Reply #7 on: 03 May, 2012, 23:16:48 »
0

when ever i get to the bottom right most square, the screen auto scrolls... Sad i still cant seem to get around that.

res appAutoScroll,(iy+appFlags) Smiley

EDIT: And as Xeda112358 mentioned, make sure to reverse the change before you exit with set appAutoScroll,(iy+appFlags).


Note: That's res 2,(iy+13) if you're not using ti83plus.inc, although I suggest you do use it.
« Last Edit: 03 May, 2012, 23:23:00 by Runer112 » Logged
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 18:45:43
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Total Post Ratings: +778

View Profile
« Reply #8 on: 03 May, 2012, 23:16:57 »
0

when ever i get to the bottom right most square, the screen auto scrolls... Sad i still cant seem to get around that.


1
2
res appAutoScroll, (iy + appFlags)

And if you want links to those official documents mentioned go here.

The important downloads are the "TI-83 Plus Developer Guide" and the "TI-83 Plus System Routines"



Also, since you're probably tired of crashing your calculator, might I suggest wabbitemu. Once you get used to debugging with wabbitemu, you can become an assembly pro.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
Xeda112358
Xombie. I am it.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 19:26:44
Date Registered: 31 October, 2010, 08:46:36
Location: Land of Little Cubes and Tea, NY
Posts: 3757


Total Post Ratings: +609

View Profile
« Reply #9 on: 03 May, 2012, 23:21:15 »
0

Ah, this is a case where you want the official SDK. There are a few ways to draw a cursor. You probably want _PutMap which draws a single char Smiley You could also do
res appAutoScroll,(iy+appFlags)


You will want to set that flag before exiting, though.

EDIT: Double ninja'd Big frown
« Last Edit: 03 May, 2012, 23:22:12 by Xeda112358 » Logged



Grammer Download (2.29.04.12)
Latest update (possibly incomplete)
My pastebin
Spoiler for FileSyst:
FileSyst is an application that provides a folder and filesystem for the TI-83+/84+ calculators. It is designed to be easy to access and use in BASIC, and it can be used to access game files and save data, or to create a command prompt, among other things:

Spoiler for Graphiti:
This is a graph explorer for graph theory. It will require lots of work to finish. Currently you can:
Add/delete vertices
Add edges (direction not shown, but they are directed)
Arrange vertices in a circle (in the future, you will be able to define levels of rings and the number of nodes in each)
Create complete graphs quickly

Plans:
Add adjacency matrix viewer
Deleting edges
Multiple graphs support
Arrows for directed graphs
Planarity testing
Matrix operations
Weighted edges
Chromatic polynomials
Chromatic numbers

Spoiler for Stats:

Samocal             [o---------]
Virtual Processor   [o---------]
EnG                 [oo--------]
Grammer             [ooo-------]
AsmComp             [ooo-------]
Partex              [oooo------]
BatLib              [oooooooo--]
Grammer82           [----------]
Grammer68000        [----------]


Pseudonyms:  Zeda, Xeda, Thunderbolt
Languages:   English, français
Programming: z80 Assmebly
             Grammer
             TI-BASIC (83/84/+/SE, 89/89t/92)
Known For:   -Creator of the Grammer programming language
              (Winning program of zContest2011)
             -BatLib- One of the most feature packed libraries for BASIC programmers available
              with over 100 functions and a simple programming language
             -Learning to program z80 in hexadecimal before using an assembler (no computer was
              available!)
╔═╦╗░╠═╬╣▒║ ║║▓╚═╩╝█


MrFinn
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 04 May, 2012, 01:29:53
Date Registered: 01 May, 2012, 20:13:31
Posts: 5

Topic starter
Total Post Ratings: 0

View Profile
« Reply #10 on: 03 May, 2012, 23:48:43 »
0

SWEET!

Heres whats up:
   I already have wabbitemu (which is great!) as well as the ti83plus.inc
i used the res appautoscroll and the set for it so everything works inside the program and after the program (A+ guys)

only 2 things i dont understand: what to do with sdk
and what exactly everything means with the autoscroll

but im VERY happy now because the program is working.
Logged
Xeda112358
Xombie. I am it.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 19:26:44
Date Registered: 31 October, 2010, 08:46:36
Location: Land of Little Cubes and Tea, NY
Posts: 3757


Total Post Ratings: +609

View Profile
« Reply #11 on: 04 May, 2012, 01:42:20 »
0

With the SDK, there are two PDFs that you can read. The sysroutines one has just documentation of a large number of bcalls (a few hundred pages) and the other is pretty informational about how to do certain tasks like creating variables) Smiley

The appAutoScroll is a flag that the OS uses to figure out if it should scroll or not. IY is an index register that points to the flags. As Runer pointed out, the actual routine (if you aren't using names, just numbers) is:
     res 2,(iy+13)
This means it resets bit 2 of the byte at (iy+13), so 13 bytes after the first byte of the flags.
Logged



Grammer Download (2.29.04.12)
Latest update (possibly incomplete)
My pastebin
Spoiler for FileSyst:
FileSyst is an application that provides a folder and filesystem for the TI-83+/84+ calculators. It is designed to be easy to access and use in BASIC, and it can be used to access game files and save data, or to create a command prompt, among other things:

Spoiler for Graphiti:
This is a graph explorer for graph theory. It will require lots of work to finish. Currently you can:
Add/delete vertices
Add edges (direction not shown, but they are directed)
Arrange vertices in a circle (in the future, you will be able to define levels of rings and the number of nodes in each)
Create complete graphs quickly

Plans:
Add adjacency matrix viewer
Deleting edges
Multiple graphs support
Arrows for directed graphs
Planarity testing
Matrix operations
Weighted edges
Chromatic polynomials
Chromatic numbers

Spoiler for Stats:

Samocal             [o---------]
Virtual Processor   [o---------]
EnG                 [oo--------]
Grammer             [ooo-------]
AsmComp             [ooo-------]
Partex              [oooo------]
BatLib              [oooooooo--]
Grammer82           [----------]
Grammer68000        [----------]


Pseudonyms:  Zeda, Xeda, Thunderbolt
Languages:   English, français
Programming: z80 Assmebly
             Grammer
             TI-BASIC (83/84/+/SE, 89/89t/92)
Known For:   -Creator of the Grammer programming language
              (Winning program of zContest2011)
             -BatLib- One of the most feature packed libraries for BASIC programmers available
              with over 100 functions and a simple programming language
             -Learning to program z80 in hexadecimal before using an assembler (no computer was
              available!)
╔═╦╗░╠═╬╣▒║ ║║▓╚═╩╝█


Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.41 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.