Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - bored_student

Pages: 1 2 [3] 4
Axe / Re: Turn off Calc and Exit Program in Axe?
« on: November 21, 2012, 10:58:18 am »
OFFSCRPT.8xv (appVar) gets copied to $8001 every time the calculator turns off. This catches both 2ND + ON as well as APD. So instead of going to APD, it can just display your screen saver.

My OFFSCRPT always crashs the calc. The code is copied to $8001 and executed. But every times it reaches bcall(_jForceCMDNoChar) the calculator simply doesn't react anymore

I leaved the
bit   4, (iy + 8 )
out because this way the bit is set always and my code is never executed

ASM / Re: Some basic questions
« on: November 08, 2012, 02:28:11 pm »
It is a problem for me because if I want to add some ASM Code in an Axe Programm with the Asm() command, I don't really know where the ASM code is stored.

ASM / Re: Some basic questions
« on: November 08, 2012, 09:37:27 am »
By the way:
  Is there a way to store the current value of the PC register somewhere else

ASM / Re: Some basic questions
« on: November 07, 2012, 06:21:56 am »
I always thought the memory management on the TI 83 Plus is dynamic so that the data is stored somewhere where you have free RAM  <_<

ASM / Re: Some basic questions
« on: November 07, 2012, 06:12:44 am »
a explanation in the tutorial Deep Thought gave me says:

.org number    Specifies where in memory the program is loaded into (not exactly true), which is always $9D95.

Why is it always $9D95?
I mean if there is stored something other this "other" will be overwritten by the program code.

Deep Thought also mentioned this location in his SMC tutorial:;sa=view;article=91
You also know the absolute location of the start of the program (it's E9D93).

ASM / Re: Some basic questions
« on: November 06, 2012, 11:45:01 am »
Shouldn't be the SPASM.EXE in the 'tasm' directory

ASM / Re: Some basic questions
« on: November 06, 2012, 07:50:32 am »
I think SPASM is what I will use.
But is there any readme or something to learn how to use it?

If you also decide to go with this setup, this is what needs to go in your asm.bat file that you make on the first day. This is because spasm has a different command line syntax than tasm:

to be honest I don't really know what this code does and where to put it.
(I have only small experience with batch code)

Axe / Re: Optimization and adding AI
« on: November 04, 2012, 02:20:08 pm »
Yeah he really made it. So I have been wrong ::)
I will test the AI as soon as possible cause I once tried it on my one on a TI 83 Plus but I gave up after a while <_<

respect to thepenguin77  ;D

ASM / Some basic questions
« on: November 04, 2012, 01:51:33 pm »
Yeah I decided to learn ASM so I have read a lot but some questions still remained:  ???
1. What compiler/assembler should I use
  TI recommens the ZDS but I think it's a bit environment and I only need a compiler with documentation
2. Since the code depends on the compiler I need some documentation (not the TI hardware and routines guides
  but the basic commands like "call" or "ld"
3. Some questions that will appear when I start making my first errors :(

Axe / Re: Optimization and adding AI
« on: November 04, 2012, 01:36:22 pm »
I meant the AI the program that plays against you.
If that really exist you must show me  *.*

When I did it with Delphi 5 last year my CPU (in PC) needed 30 sekunds to decide which move to do altough it only "thinks" 5 moves depht.

Optimized, and bugfixed at the same time ;D
Remember that placing constants at the end of expressions is optimal, and also remember Axe order of operations is straight-up left to right (unless there are parens)
Yes I forgot...

Axe / Re: Optimization and adding AI
« on: November 01, 2012, 03:56:39 pm »
Code: [Select]

I think this are the sprites for the pieces.
You could call them by a command like
Code: [Select]
where I is the number of the sprite you want to draw.

...and adding AI.

I once made a chess AI on my PC but I doubt it will be possible with Axe on calculators
The calcs are to slow and they haven't enougth memory

Axe / Re: static vars
« on: November 01, 2012, 02:53:44 pm »
You might find reading the documents here useful:
This are the files included in the Axe download but I cant find something like
const -> ┬░Var 

however now I know it
thank you both you have helped me a lot :)

Axe / Re: static vars
« on: October 31, 2012, 01:03:40 pm »
thank you a lot  ;D

I have never read that you can do something like that   O.O
So I can easily make new vars.
How many characters can I use to name them and
from where do you know such things?

Axe / static vars
« on: October 31, 2012, 12:22:17 pm »
I wanted to make my program code more clear.
So I decided to use static vars that replace some L1+... commands:
Code: [Select]
L1+12 -> GDB0XVAL
L1+14 -> GDB0YVAL

Is this slower than this:
Code: [Select]
X -> {L1+12}R
Y -> {L1+14}R
or is it the same after compiling

Oh yes I've found the tutorial from Deep Thought about Self Modifying Code :thumbsup:

Pages: 1 2 [3] 4