Author Topic: Learn Hex/NikProgrammer  (Read 23768 times)

0 Members and 3 Guests are viewing this topic.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #15 on: May 08, 2014, 05:24:32 am »
I'm not sure, but the very first guyz who started to program machines must have done it using hex editing, always comparing what they typed to a book referencing matches with the different available instructions.
Programming in hex today is the greatest possible homage to those dudes...

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #16 on: May 08, 2014, 07:18:01 am »
I mean, she's the only one to have done it on the TI calcs.
Also yeah, the first machine was surely programmed by hand. Or maybe they made a maskrom or something to have initial boot.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Learn Hex/NikProgrammer
« Reply #17 on: May 08, 2014, 08:04:47 am »
I mean, she's the only one to have done it on the TI calcs.

No. I too.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #18 on: May 08, 2014, 08:05:29 am »
You learnt hex before mnemonics ? Nice. :D

Offline NikProgrammer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +0/-0
  • Calc's are the most handy thing ever invented :D
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #19 on: May 09, 2014, 11:27:32 am »
Maybe I can learn hex though? I not always have acess to my computer and would like to program without it:)
Well, I'm not english or american so if anything posted by me is not correct just say or ignore...
And please don't set me back because I live in germay... Though I speak german I am still from UA!
––––––––––––––––––––––––––––––––––––––––––––––––––––
It may sound weird but:
'The teapot cools down long.'
and
'The teapot does not cool down long.'
means the same.

What for do we live? - To think of why we do live.
––––––––––––––––––––––––––––––––––––––––––––––––––––
Loving chess- If you know any good chess programs for TI-83+ please PM me- thanks!
Working on Remakes for all of my programs to optimize them and add more user friendliness... And most important: Graphics. I'm not good at graphics, every help is welcome... -Please PM too.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #20 on: May 09, 2014, 11:29:20 am »
You can. But was still recommend that you learn to code with mnemonics first.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #21 on: May 09, 2014, 12:32:13 pm »
Maybe I can learn hex though? I not always have acess to my computer and would like to program without it:)

You can write assembly programs on-calc with Mimas. It's an amazing on-calc assembly editor that supports most of the important things any computer-side assembler does.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #22 on: May 09, 2014, 02:16:28 pm »
If he wants to use that with Axe then it's a slightly less viable way to do it. There's the hassle of extracting the hex etc...

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: Learn Hex/NikProgrammer
« Reply #23 on: May 12, 2014, 12:15:49 pm »
Oh yeah, I remember mimas, but sadly I don't know any assembly :P
I wish I did though
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline NikProgrammer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +0/-0
  • Calc's are the most handy thing ever invented :D
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #24 on: June 05, 2014, 02:39:09 pm »
One more question to Hex programmers. I searched at TI-Basic developer and once found a Asm Codes List which had a few neat opcodes I still use. Now my problem is: The Program ExecAns which copies the String in Ans to prgmU and runs it, makes a Stop before running it... But I need a return:/ Can anybody help please?
Well, I'm not english or american so if anything posted by me is not correct just say or ignore...
And please don't set me back because I live in germay... Though I speak german I am still from UA!
––––––––––––––––––––––––––––––––––––––––––––––––––––
It may sound weird but:
'The teapot cools down long.'
and
'The teapot does not cool down long.'
means the same.

What for do we live? - To think of why we do live.
––––––––––––––––––––––––––––––––––––––––––––––––––––
Loving chess- If you know any good chess programs for TI-83+ please PM me- thanks!
Working on Remakes for all of my programs to optimize them and add more user friendliness... And most important: Graphics. I'm not good at graphics, every help is welcome... -Please PM too.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #25 on: June 05, 2014, 06:37:44 pm »
What do you mean? In assembly, ret ($C9) just jumps to the last address on the stack. If you have nothing on the stack (just what was on there from the OS when it ran your program) then it will return execution to the OS. Otherwise it will return from a call or to whatever you've put on the stack. You should really just learn the mnemonics which will help you with the basics of assembly. If you want to program oncalc, use Mimas or ASMDREAM.

Offline NikProgrammer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +0/-0
  • Calc's are the most handy thing ever invented :D
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #26 on: June 06, 2014, 12:17:14 pm »
Did you see the program I mean?

http://tibasicdev.wikidot.com/hexcodes
« Last Edit: June 06, 2014, 12:19:35 pm by NikProgrammer »
Well, I'm not english or american so if anything posted by me is not correct just say or ignore...
And please don't set me back because I live in germay... Though I speak german I am still from UA!
––––––––––––––––––––––––––––––––––––––––––––––––––––
It may sound weird but:
'The teapot cools down long.'
and
'The teapot does not cool down long.'
means the same.

What for do we live? - To think of why we do live.
––––––––––––––––––––––––––––––––––––––––––––––––––––
Loving chess- If you know any good chess programs for TI-83+ please PM me- thanks!
Working on Remakes for all of my programs to optimize them and add more user friendliness... And most important: Graphics. I'm not good at graphics, every help is welcome... -Please PM too.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #27 on: June 06, 2014, 06:00:57 pm »
Yeah. It's in hex codes. It'd be easier to help if you wrote them out in assembly mnemonics. The last line is a C9, the hex for "ret". But i don't know what you mean by "return" and not "stop". In assembly that's the same thing, quitting the program just means that there was nothing left on the stack. Do you understand what that program does?

Offline NikProgrammer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +0/-0
  • Calc's are the most handy thing ever invented :D
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #28 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...
« Last Edit: June 07, 2014, 07:38:46 am by NikProgrammer »
Well, I'm not english or american so if anything posted by me is not correct just say or ignore...
And please don't set me back because I live in germay... Though I speak german I am still from UA!
––––––––––––––––––––––––––––––––––––––––––––––––––––
It may sound weird but:
'The teapot cools down long.'
and
'The teapot does not cool down long.'
means the same.

What for do we live? - To think of why we do live.
––––––––––––––––––––––––––––––––––––––––––––––––––––
Loving chess- If you know any good chess programs for TI-83+ please PM me- thanks!
Working on Remakes for all of my programs to optimize them and add more user friendliness... And most important: Graphics. I'm not good at graphics, every help is welcome... -Please PM too.

Offline NikProgrammer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +0/-0
  • Calc's are the most handy thing ever invented :D
    • View Profile
Re: Learn Hex/NikProgrammer
« Reply #29 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.
Well, I'm not english or american so if anything posted by me is not correct just say or ignore...
And please don't set me back because I live in germay... Though I speak german I am still from UA!
––––––––––––––––––––––––––––––––––––––––––––––––––––
It may sound weird but:
'The teapot cools down long.'
and
'The teapot does not cool down long.'
means the same.

What for do we live? - To think of why we do live.
––––––––––––––––––––––––––––––––––––––––––––––––––––
Loving chess- If you know any good chess programs for TI-83+ please PM me- thanks!
Working on Remakes for all of my programs to optimize them and add more user friendliness... And most important: Graphics. I'm not good at graphics, every help is welcome... -Please PM too.