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 - TiAddict

Pages: [1] 2 3 ... 5
1
ASM / Re: Why wouldnt this work?!
« on: August 14, 2012, 01:43:11 am »
So this program is suppose to MAKE a program where, the name is in String1. And to THAT program (name from str1), i want to put in 10 bytes. and no there's no problem with that! :(

2
ASM / Why wouldnt this work?!
« on: August 13, 2012, 10:41:46 pm »
So this program creates a prgm which name is in str1, and puts memory (10 bytes) into that prgm.
Start:
Ld Hl, Str1Address
Rst 20h ( B_Call Mov9ToOp1)
Rst 10h ( B_Call ChkFindSym)
Ex De, HL
Ld C, (HL)
Inc HL
Ld B,(HL)
Inc HL
Ld De, Op1
Ld A,5
Ld (DE),A
Inc DE
Ldir
xor A
Ld (DE),A
B_Call ChkFindSym
Ld HL, 0
B_Call CreateProg
Push DE
Inc DE
Inc DE
Ld HL,10
B_Call InsertMem
Pop HL
Push HL
B_CALL LdHLind
Ld BC, 10
Add HL, BC
Ex DE, HL
Pop HL
Ld (HL),E
Inc HL
Ld (HL), D
Ldir
Ret

Str1Address:
db. StrngObj, tVarString, 00h,0
Please, dont optimize or anything. I want to see how it's working, and understand ASM Better.
I heard that OPs gets changed alot, but im not sure. Anyways, this Program does create a prgm, but it's not exactly the same as "string" inside Str1. So can you help me? Thank you :)

3
Axe / Re: I need help with program creating a program!!
« on: August 11, 2012, 05:39:24 pm »
Thank you all for helping me with this, but whenever i run it, (im sure i typed it right, i checked 5 times now) it's not creating the program!!
maybe my calc is being stupid :P

4
Axe / I need help with program creating a program!!
« on: August 10, 2012, 07:46:45 pm »
So i want to make a program that MAKES a program from the Basic string in str9.
Please Details! :D

5
TI-BASIC / AI programming
« on: July 26, 2012, 06:25:36 pm »
Hello, im back to programming! And im creating a game, but im having hard time with programming the decision algorithm of AI. Can someone show me how "chess" AI algorithm work? Thank you! :D

6
Axe / Re: Instring(, and Sub( in Axe
« on: July 28, 2011, 09:37:35 pm »
I still appreciate trying to help xD
What is "New_String_malloc" Ashbad

7
Axe / Re: Instring(, and Sub( in Axe
« on: July 28, 2011, 09:15:49 pm »
haha:) thank you for the command "sub(" in axe, but im asking in Basic to Axe

8
Axe / Re: Instring(, and Sub( in Axe
« on: July 28, 2011, 09:08:23 pm »
Well since we cant use instring( command, how should i do it?

9
Axe / Instring(, and Sub( in Axe
« on: July 28, 2011, 08:46:32 pm »
Can someone show me the routines for them? i tried the ones in the routine section, but it's not working.

10
ASM / Re: help me with the string commands
« on: July 03, 2011, 01:13:28 am »
Thanks!!! :D yeah i know.. 28 days have the length prefixed, and mimas doesnt support it.

11
ASM / help me with the string commands
« on: July 02, 2011, 08:16:47 pm »
So, i want to use "inString(" command and "sub(" in ASM, and i need someone to show me the routine. I dont know why, but the one on the "Learn ASM in 28 days" isnt working. Is there other way, using the null string?
HL=address of string to look for
DE=address of string to find
A=positon

12
ASM / Re: help me fix my calculator!
« on: June 30, 2011, 04:12:12 pm »
hahah nice. Thanks for the info!

13
ASM / Re: help me fix my calculator!
« on: June 30, 2011, 01:19:53 pm »
well i made it on mimas, and the crash deleted everything except apps. Now i'm kinda scared to even mess with ASM...and thanks for the code ;D


And thanks DeepThought! it worked. all i had to do was Clear All memory! :) Thanks!

14
ASM / Re: help me fix my calculator!
« on: June 30, 2011, 01:17:38 pm »
haha, well didnt tried yet. I actually had a big project that i forgot to backup, but i guess i can stop that, since it was too big. so i think i should try it right now :P

15
ASM / Re: help me fix my calculator!
« on: June 30, 2011, 01:14:33 pm »
well i was recently working something, and i backed up my latest version, so i'm satisfied :P

Pages: [1] 2 3 ... 5