This should print all programs on the calculator. In jstified, I have HATCHET ZHATCHET and BIGFART but this only prints HATCHET.

Code:
.HATCHET
.9830 IS PROGPTR
.982E IS PTEMP
.844B IS CURROW
.844C iS CURCOL
|E982E->GDB0
|E844B->GDB1
{GDB0+2}^^r->A
ClrHome
Repeat A={GDB0}^^r
   If {A}=5 or {A}=6
   A-7->A
   {A+1}->B
   While B
      {A}
      Asm(7DEF0445)
      A--
      B--
   End
   {GDB1}++
   0->{GDB1+1}
Else
   A-7->A
   {A+1}->B
   A-B->A
End
End
Repeat getKey
End

The {A} and ASM code does this:

Code:
1) {A} ;puts value of A in hl
2) 7D ; ld a,l
3) EF 0445 ;bcall putc

Based on this.
I'm sure you need to know about MEMKIT. It's in the axe.zip file, under tools/MEMKIT. Or you can use the improved one on Omnimaga. I'll post the link when I find it.
I know about that (MEMKIT) , I am trying to make it work without any axioms. (Reason for this will be revealed in the future)

Edit: Fixed it. Turns out " or " and " and " and the others only work for bitwise, see this for more info.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement