Author Topic: ASM program needed  (Read 2977 times)

0 Members and 2 Guests are viewing this topic.

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM program needed
« on: February 25, 2007, 07:03:00 pm »
I need an asm program that willl do a few things.
I need it to take whatever is on the graphscreen and make it into an assembly program (like how spellin does his title screens, but on-calc). I've tried that screen capture thing from ticalc.org, and could never get it to work. If you need help understanding, please ask.

Thanks!
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM program needed
« Reply #1 on: February 26, 2007, 06:22:00 pm »
Jon to the rescue!!

c1-->
CODE
ec1
#include "ti83plus.inc"
.org $9d93
.db $bb,$6d

start:
 bcall(_rclans)
 ld a,(hl)
 and $1f
 cp 4
 ret nz
 ex de,hl
 inc hl
 inc hl
 ld bc,8
 ld de,temp_str+1
 ldir
 ld hl,temp_str
 rst 20h
 bcall(_chkfindsym)
 bcallnc(_delvararc)
 ld hl,800
 bcall(_createprotprog)
 inc de
 inc de
 ld hl,code
 ld bc,32
 ldir
 ld hl,plotsscreen
 ld bc,768
 ldir
 ret
temp_str:
.db 6,"TEMPSTR",0
code:
.db $bb,$6d

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM program needed
« Reply #2 on: February 27, 2007, 02:36:00 am »
ah, thanks alot man!

EDIT: Is there a way to make it let the user choose a name for the new program, or does it do that already? (i don't know, since i don't have tasm and what not right now.)
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM program needed
« Reply #3 on: February 27, 2007, 11:47:00 am »
It already does, Ans is the string it will use as the name.
An Example:

c1-->
CODE
ec1
:"PROGNAME":Asm(prgmMEH
c2
ec2

Then you can run the outputted program with Asm( and it will copy the pic

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM program needed
« Reply #4 on: February 28, 2007, 07:18:00 pm »
Pardon the double-post.

Here's a version I've tested, and I KNOW it works.

c1-->
CODE
ec1
#include "ti83plus.inc"
.org $9d93
.db $bb,$6d

start:
 bcall(_rclans)
 ld a,(hl)
 and $1f
 cp 4
 ret nz
 ex de,hl
 ld c,(hl)
 inc hl
 ld b,(hl)
 inc hl
 ld de,temp_str+1
 ldir
 xor a
 ld (de),a
 ld hl,temp_str
 rst 20h
 bcall(_chkfindsym)
 bcallnc(_delvararc)
 ld hl,800
 bcall(_createprotprog)
 inc de
 inc de
 ld hl,code
 ld bc,32
 ldir
 ld hl,plotsscreen
 ld bc,768
 ldir
 ret
temp_str:
 .db 6,"TEMPSTR",0,0
code:
 .db $bb,$6d

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
ASM program needed
« Reply #5 on: April 30, 2007, 06:07:00 am »
Whee! Posting in something whose problem has already been solved. I'm a genious, aren't I? :Ptongue.gif

But anyway, I think my fun, earlier project would work too, even if it seems a little bloated: http://www.unitedti.org/index.php?download=212

The ReadME should be helpful. The program has been tested for *some* semblance of reliability.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
ASM program needed
« Reply #6 on: April 30, 2007, 08:29:00 am »
There was a program that did that on ticalc, not sure exactly the name of it though, let me find the link...

Here: http://www.ticalc.org/archives/files/fileinfo/171/17119.html
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%