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

Pages: [1]
ASM / Re: help me im lost?!!
« on: May 02, 2012, 12:48:40 pm »
i tried zstart and it erased eveything off of my calc so i guess it's a good thing that i have two

TI Z80 / Re: Pic-Hexer
« on: May 02, 2012, 12:24:36 pm »
yes that was definitely basic and i used zstart for maybe thirty minutes before it erased everything on my calculator. so its a good thing that i got two calculators

TI Z80 / Re: Pic-Hexer
« on: May 01, 2012, 12:14:02 pm »
uploaded example

ASM / Re: help me im lost?!!
« on: April 27, 2012, 12:48:40 pm »
well THAT we can agree on. it will be a lot of work but i can't begin to explain how often i've wanted to be able to simply copy and paste a line of code or have shortcut keys while editing programs and im pretty sure that im not the only one

ASM / Re: help me im lost?!!
« on: April 27, 2012, 12:34:03 pm »
@DRAGONLORD777: Are you wanting to edit the bytes in the program or do you want to edit it like the program editor? Editing like from the program editor is going to require some trickery to do it right. Editing the data directly is pretty easy, though :)
I want to be able to do it like MIMAS something like that but for now just editing the data directly will work

TI Z80 / Re: Pic-Hexer
« on: April 27, 2012, 08:59:56 am »
Hmm, do you have the names of these programs, or does the user have to pass an argument telling what program to read/write from?

EDIT: Here is some example code for getting the location of a var you have the name of:

Code: [Select]
     ld hl,Name
     rst rMOV9TOOP1      ;Copies 9 bytes at HL to OP1. In otherwords, it copies the name of the program to OP1.
     bcall(_ChkFindSym)    ;Searches for the variable, returns info:
;c flag set if the variable was not found
;HL points to the VAT entry
;DE points to the size bytes of the data
;B is the flash page the data is on
;C is the length of the name
;The lower 5 bits of A is the type of the var.
     ret c                     ;quit because it doesn't exist
     ld a,b                    ;This is 0 if it is in RAM, otherwise, it is the flashpage number
     or a                      ;This is a sneaky trick to check if A is 0. It is smaller and faster than cp 0
     ret nz                   ;quit if it is not zero (meaning it is archived).
;If it made it this far, the var exists in RAM. DE points to the size bytes.
;I typically use those, so I'll store it to BC:
     ex de,hl               ;swap HL and DE
     ld c,(hl)             ;loads the lower byte into C. you cannot do ld c,(de), this is why I used ex de,hl
     inc hl                ;HL now points to the next byte
     ld b,(hl)             ;B now contains the higher byte of the size. Now BC is the size of the var.
     inc hl                ;HL now points to the start of the program data.
;(this is just randomness on my part, feel free to try it. It will destroy all the data in the program, though)
     ld d,0
     ld a,d
     and 00001111%
     ld d,a
     inc d
     add a,'A'
     ld (hl),a
     cpi                     ;Cheap trick. This decrements BC, increments HL, returns PE if BC is not 0.
     jp pe,DoStuffLoop
     .db ProgObj,"NAME",0     ;This is the name of the program with PrgObj in front and 0 at the end.

This routine might work for now but i've created another topic for this question here

ASM / Re: help me im lost?!!
« on: April 27, 2012, 08:52:44 am »
for 2, that can pretty easy be done with axe but yeah you'll need memkit for it.
(I know this is in asm language)
i wouldn't mind knowing how to do i in axe if you'll show me were to look or what to do

ASM / Re: help me im lost?!!
« on: April 27, 2012, 08:51:49 am »
Now, when you say edit, do you mean: 1) Open up the program editor to allow the user to edit the program, or 2) Actually edit the program from an assembly program?

In both cases, the way to do it is very hard ;D

For 1. You are looking at top programmer hacking to figure out how it's done, however, I could always just give you the routine to do it :D

For 2. Actually editing the program isn't all that difficult, you'll need some help getting started, but once you see how the Edit Buffer works, you should be ok. The only way 2 would be super hard would be if you want to actually display what you are editing to the screen, this requires lots of OS routines and is pretty bad.
Well if you will that would be nice i didn't realize it would be that difficult but i can always take it one byte at a time. :)

ASM / help me im lost?!!
« on: April 26, 2012, 12:51:12 pm »
ive been doing asm for about a year now and i feel like i can only just now say that i've become pretty decent at it. but there is still a lot i need to learn i just don't know what those things are. i do know that i would like to learn how to edit basic programs from within an asm program.

TI Z80 / Re: Pic-Hexer
« on: April 26, 2012, 08:54:07 am »
If you want ideas or coding help, you can check this out :) It can be optimised a bit, but it uses a keyhook so all you do is press a special key combo and voila, the picture hex is in Ans :)

Actually, I think the source to that is wrong, but it might still help >.> The whole program is 72 bytes :D

EDIT: That is over two years old o.o That could really use an update D:

Thanks that should actually help. and by the way i'm also needing help on reading and writing to specific programs using asm if someone could help me with that

TI Z80 / Re: Pic-Hexer
« on: April 25, 2012, 12:32:12 pm »
working on getting some but i got to reinstall wabbitemu it messed up somehow.

my basic one is only 151 bytes and all you have to do is draw the pic and store it to Pic2 then run this program.
i made it because i also use mimas and it became extremely repetitive to convert them by hand.

TI Z80 / Re: Pic-Hexer
« on: April 25, 2012, 12:21:09 pm »
I've used the online one and it works wonders but it can't help if you dont have internet access and have you seen the size of that on-calc pgrogram its 11446 bytes. yeah i understand he has all the extra functions but it still takes up a lot of memory.

TI Z80 / Pic-Hexer
« on: April 25, 2012, 10:35:00 am »
I got tired of looking for a way to do this on the computer and decided to make an on-calc program to do it for me.
It works now but for those who want to make the pic 96*62... can't do that in basic so i'm now making one in asm.

The Axe Parser Project / Re: Features Wishlist
« on: February 22, 2012, 11:12:27 am »
It may be a small request but wouldn't it be much easier to be able to directly access matrices using the actual [A] matrix token. and if theres any way to directly access them please someone tell me because i feel like ive tried everything

Pages: [1]