Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
A new way to use subroutines : why not in an app ?
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: A new way to use subroutines : why not in an app ? (Read 9486 times)
0 Members and 1 Guest are viewing this topic.
DrDnar
LV7
Elite (Next: 700)
Posts: 546
Rating: +97/-1
Re: A new way to use subroutines : why not in an app ?
«
Reply #15 on:
October 31, 2012, 06:37:09 pm »
It works fine, as long as you know what you're doing. That means keeping track of what app page is active and making sure you reset the current app page to the correct value before returning. This applies even if you ran the program from the OS, which still has associated fixed app pages. Also, still no multi-page app support.
Logged
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's
The Republic
, circa 380 BC
Hayleia
Programming Absol
Coder Of Tomorrow
LV12
Extreme Poster (Next: 5000)
Posts: 3367
Rating: +393/-7
Re: A new way to use subroutines : why not in an app ?
«
Reply #16 on:
November 01, 2012, 03:37:55 am »
I just thought about something
stupid
. We could make Axe librairies using this Axiom
We could make apps with a lot of useful routines inside (they could be hybrid Axe/ASM for more speed) and then users could code easier. I think that would be great for newbies since they would learn by coding and would not be afraid by the task of making a tilemapper
The only problem would be the side. Will anyone really use 16384 bytes of routines and still have some more code ? o.o°
(except if all newbies start as I did and make Pokemon as their first project
)
Logged
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.
click here to know where you got your last +1s
Matrefeytontias
Axe roxxor (kinda)
LV10
31337 u53r (Next: 2000)
Posts: 1982
Rating: +310/-12
Axe roxxor
Re: A new way to use subroutines : why not in an app ?
«
Reply #17 on:
November 01, 2012, 06:30:31 am »
@DJ_O It's fully useable and doesn't contain any bug if you use it correctly
Just respect the format I described in the first post for your apps and it'll be ok.
@Hayleia good idea, it's just that newbies will have a hard time with pages
«
Last Edit: November 01, 2012, 08:41:12 am by Matrefeytontias
»
Logged
/\ >< [- |_| _\~ [- /?
All of the TI-z80 screenshots that I will post, unless I specifically mention that it's not the case, will run at 6 MHz.
Always
. If you find that unbelievable, you should check the last link of my sig
Nerdiness
Projects :
[Ndless3.1] nKaruga
,
[Axe] Worms (yes !)
,
[Ndless 3.1] F-Zero TrackSpire (dropped)
,
[Ndless 3.1] nSpeedX 3D (paused)
,
[Ndless 3.1] nRayC, an easy-to-use raycasting (3D) engine in C for your Nspire ! (paused)
Proud author of :
[TI-8x] Jetpack 8x+
,
[TI-8x+] Gravity Walls
,
[ASM for Axe] AxeDCS axiom for Axe programmers
,
[TI-8x+] WiredWorks : a SolidWorks on your Ti-83+/84+ !
,
[TI-8x+] Super Crate Box
,
[Axe] IkarugaX, an awesomely challenging danmaku/shoot-them-up for your TI-83+/84+ !
,
[ASM for Axe] AxeJh3D axiom, a very fast 3D ASM library for Axe coders !
If at a certain moment you think that I'm awesome, you can express it by
giving me one more Internet (>^_^)>
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: A new way to use subroutines : why not in an app ?
«
Reply #18 on:
November 04, 2012, 07:53:15 am »
What if you made an app with about 300 routines. These could be tilemapping routines, floating-point math routines, Input routines, Menu( routines, different text routines using different fonts, math parsing (so that users could input equations and stuff), arbitrary precision math, matrix and vector support, and all sorts of other goodies. Then, you can make an axiom with three commands:
OpenLib (This basically finds the app and swaps the page in MemBank1 so that routines can be called directly)
ExitLib (This will put the appropriate page back in MemBank1 and must be called upon exiting the program)
ExecLib (This will allow you to execute functions in the app)
This could easily fit into one app page and provide the kind of tools that would make it amazing for math. Heck, you could build a CAS if you were motivated enough
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Matrefeytontias
Axe roxxor (kinda)
LV10
31337 u53r (Next: 2000)
Posts: 1982
Rating: +310/-12
Axe roxxor
Re: A new way to use subroutines : why not in an app ?
«
Reply #19 on:
November 04, 2012, 08:06:46 am »
Hm, yeah, I'll change the already existing funcs into these ones. Good idea
But no, I can't build a CAS even if I'm motivated
Logged
/\ >< [- |_| _\~ [- /?
All of the TI-z80 screenshots that I will post, unless I specifically mention that it's not the case, will run at 6 MHz.
Always
. If you find that unbelievable, you should check the last link of my sig
Nerdiness
Projects :
[Ndless3.1] nKaruga
,
[Axe] Worms (yes !)
,
[Ndless 3.1] F-Zero TrackSpire (dropped)
,
[Ndless 3.1] nSpeedX 3D (paused)
,
[Ndless 3.1] nRayC, an easy-to-use raycasting (3D) engine in C for your Nspire ! (paused)
Proud author of :
[TI-8x] Jetpack 8x+
,
[TI-8x+] Gravity Walls
,
[ASM for Axe] AxeDCS axiom for Axe programmers
,
[TI-8x+] WiredWorks : a SolidWorks on your Ti-83+/84+ !
,
[TI-8x+] Super Crate Box
,
[Axe] IkarugaX, an awesomely challenging danmaku/shoot-them-up for your TI-83+/84+ !
,
[ASM for Axe] AxeJh3D axiom, a very fast 3D ASM library for Axe coders !
If at a certain moment you think that I'm awesome, you can express it by
giving me one more Internet (>^_^)>
aeTIos
Nonbinary computing specialist
LV12
Extreme Poster (Next: 5000)
Posts: 3915
Rating: +184/-32
Re: A new way to use subroutines : why not in an app ?
«
Reply #20 on:
November 05, 2012, 09:42:25 am »
Wow I just understood what this axiom makes possible
I really could use this. (which is an understatement)
Logged
I'm not a nerd but I pretend:
Print
Pages:
1
[
2
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
A new way to use subroutines : why not in an app ?