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

Pages: 1 [2] 3 4
16
ASM / Re: Learn Hex/NikProgrammer
« on: July 04, 2014, 10:50:00 am »
What does not work is the assembling.
I use the include file you showed me.
Code:

.nolist
#include "ti83plus.inc"
#define    ProgStart    $9D95
.list
.org    ProgStart - 2
    .db    t2ByteTok, tAsmCmp
    b_call(ClrLCDFull)
    ld    hl, 0
    ld    (PenCol), hl
    ld    hl, msg
    b_call(PutS)
    b_call(NewLine)
    ret

msg:
    .db "Hello world!", 0
.end
.end

I removed the underscores before the b-call names, like you said me

17
ASM / Re: Learn Hex/NikProgrammer
« on: July 03, 2014, 10:36:09 am »
It does not work...

18
ASM / Re: Learn Hex/NikProgrammer
« on: June 30, 2014, 10:31:08 am »
Ok, thank you, I'll try this when I'll have more time... (If I ever will have more time... :P :/)

19
ASM / Re: Learn Hex/NikProgrammer
« on: June 29, 2014, 03:33:55 pm »
So I am trying again to learn ASM in 28 days (it's a lot easier the second time) but TASM does not work on my new 64 bit notebook. I downloaded SPASM but now even the copy-pasted hello world program makes it throw errors on each b_call and I really don't know what went wrong... I suppose the TASM syntax is a bit different from the SPASM syntax?

20
ASM / Re: Need help with ExecAns//NikProgrammer
« on: June 29, 2014, 02:23:35 am »
Now I think: Is there any user protection? Because I do not think it will be good if somebody tries to run this interesting, small program ZASM10 to see what things it may do and have his RAM cleared or even worse...

And even more questions: Can I post this at 'Assembly Hex Codes' in TI-Basic developer?

21
ASM / Re: Need help with ExecAns//NikProgrammer
« on: June 28, 2014, 04:14:01 pm »
Wow, thanks!!! But how do I translate to hex? I can download this but I found a table how to toggle options with ASM and want to try this on an emulator (:P)
Haha, I learned/understood a bit more ASM than from ASM in 28 days:) Thank you for the comments too!

22
ASM / Re: Need help with ExecAns//NikProgrammer
« on: June 25, 2014, 12:06:16 pm »
These two last replies where the mist helpful...
So @xeda Maybe you are right but I tried everything you can do with this program on an emilator and got no problems... The weirdest thing was if you temove the code line by line and execute it after each change it will do exactly the same thing until you remove the AsmPrgm- then it throws an error. (Yes, this means that I got a program with only AsmPrgm inside and it created a prgmU with a string inside :D) I also once just removed the C9 (probably you read it)but nothing else not-normal.
And @Chickendude, this would be probably the best way... But this will be harder than you think because I need to edit these appvars. That's why I use lists, for me it's the easiest way to make editable appvars and if I did not want to name them like the document there were no problems... So IF you can write a short program to create, edit, read and delete appvars (maybe even supporting lists and strings)- this would be VERY good and I would be very thankful... But else you don't ever have to try, this would be just spent-for-nothing time... Maybe it really shouldn't be appvars, only something like ExecAns that doesn't stop. I can handle the rest with the program...

Is there anything new?

23
ASM / Re: Need help with ExecAns//NikProgrammer
« on: June 24, 2014, 12:01:46 pm »
Hmm... I don't want to store strings, I use 5 ASCII characters in a number and get a pretty compact way of storage. And I just have to repeat I am programming in Basic and don't know any ASM.

24
ASM / Re: Need help with ExecAns//NikProgrammer
« on: June 22, 2014, 05:17:50 pm »
Hmm... I cant imagine what makes the program stop (in fact I only found out that removing the ret/C9... guess what...:) Doesn't crash, it still completely stops the program!)... Is there any other way to do that?
What I need is just a text editor which stores the documents in lists... And the lists' names are the document names.

Wait, doesn't it mean it just fails executing and stops before that?

25
ASM / Re: Need help with ExecAns//NikProgrammer
« on: June 18, 2014, 02:40:49 am »
Though that's a really roundabout way of doing it, why don't you use the _CreateRList bcall? Also, how will you write to/read from the list later?
I already said, I don't know any ASM so _CreateRList bcall means nothing for me.
And the second answer, to edit a list I do:

:List>matr(Lxxxxx,|F|)  ;Like creating the list. I will use ExecAns for that
:                                  ;Blahblah, editing |F|
:Matr>List(|F|,Lxxxxx)  ;Again with ExecAns


I know, the code is a bit weird but it should work if ExecAns would not stop the main program... Or if there is another way, TI-Basic or ASM, I'd be very happy to find it.

26
ASM / Re: Learn Hex/NikProgrammer
« on: June 17, 2014, 11:18:40 am »
Sorry, I am bad at explaining... I know HEX and ASM are the same things, the first one is just ASM translated to the calculator's language.
Or am I wrong?!

27
ASM / Need help with ExecAns//NikProgrammer
« on: June 16, 2014, 06:25:42 pm »
So...
ExecAns is a Hex Program, it takes a string in Ans as Input, deletes prgmU, creates it again, copies Ans to prgmU and runs it... I use it to crate/edit a custom named list. Ans equals "matr>list(|F|,Lxxxxx)". I use 'matr>list()' because I can't use the -> sign in strings without some help of the user... But, well, this is not important in the problem (I think). The problem is when I call ExecAns as subprogram from prgmNFTEXT it creates a fine prgmU with a fine 'matr>list(|F|,Lxxxxx)' but intstead of running it and returning to the prgmNFTEXT it returns to the OS.



Codes:


PrgmNFTEXT

:;Much code, not important. The name of the list is alteady in Str0
:"matr>list(|F|,L"+Str0 ;Input for ExecAns
:Asm(prgmExecAns
:Pause ;I will work on here when the problem is solved. The pause is only to check if the program reached it but is doesn't.


Prgm ExecAns

AsmPrgm
EFD74A
FE04C0
215500
22EC86227984
21F086
EB4E234623
ED43EE86
EDB0
3E05327884
EFF142
3803EFC64F
3E0521EC86
EF3C4C
C9

28
ASM / Re: Learn Hex/NikProgrammer
« on: June 16, 2014, 06:04:45 pm »
Was that to me? I don't understand ASM... But by the way I want to learn it though.

29
ASM / Re: Learn Hex/NikProgrammer
« on: June 07, 2014, 07:37:03 am »
But i don't know what you mean by "return" and not "stop".
I mean the TI-Basic Stop. It just stops all programs and returns to the operating system but I need exactly what you ment with "stack". It should go back one step in this stack but not delete it.

30
ASM / Re: Learn Hex/NikProgrammer
« on: June 07, 2014, 07:32:02 am »
I'm making a texteditor in Basic. It will store its information in list which are named like the dokuments which have custom names. I use
:Text(-1,1,1,"Creating Document...
:"Matr>List(|F|,L"+Str0 ;Input for the program
:Asm(prgmEXECANS ;Creates a program with this Input
:prgmU ;execution of created program
:|U ;Input for next line
:Asm(DELVAR ;another asm from this site, deletes created program


Now I created a list called like the file. I'll use a simmilar way to edit this list.


If there is another way, please show me but if not please help me return to the main program because it just quits everything...

Pages: 1 [2] 3 4