http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Programming \ help : ASM editing

Click here to log in (you must be logged in to post comments).

AuthorComment
Dieg
Probe
Posted: 20 Aug 2007
20:34 GMT
Total Posts: 3
Hi , i've mastered z80 programming , now i want to load asm programs into my ti-83 Plus SE .

-Can i edit programs in a common text editor and then load it into the calc? ( whithout typing it into the calc or into a calc emulator).

-What should this asm file have to work in the calc?.

Thanks! (didnt find any posts regarding this)

threefingeredguy
Ghost
avatar
Posted: 21 Aug 2007
10:28 GMT
Total Posts: 1189
You haven't mastered it.

---
Someone call for an exterminator?
Dieg
Probe
Posted: 21 Aug 2007
19:48 GMT
Total Posts: 3
i've used to program .asm and then compile it with the zas compiler under linux , and ran the object files in a simulator i was given at school.

now , i want to load an asm or object file into the calculator... how can i do that?

threefingeredguy
Ghost
avatar
Posted: 22 Aug 2007
11:40 GMT
Total Posts: 1189
Well if you're on Linux or Windows you can use TiLP2 to send programs. You will need to convert the ASM file to an 8xp which can be done with Spasm which may need to be run in wine. The z80 IDE provides an editor and a build of Spasm which works natively in Linux. I might add that Spasm works in Windows as well.
If you don't want to bother with all this you can just type the hex values out in a program in the program editor, put the AsmPrgm token at the beginning, and use the AsmComp( command to make a new program containing the assembled code. The problem with this is that the result program cannot be over 8000 bytes and any writeback you do won't be permanent unless you use workarounds.
With the right include files, you can use Spasm to make programs for shells like MirageOS and ION, applications, and even OSes.

---
Someone call for an exterminator?
Dieg
Probe
Posted: 22 Aug 2007
20:11 GMT
Total Posts: 3
great
thx





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org