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

Pages: [1]
1
ASM / Re: unrecognised instruction
« on: September 26, 2013, 05:52:53 pm »
Thanks, I didn't know about the existence of those compilers. I will have a look on them.

2
ASM / Re: unrecognised instruction
« on: September 22, 2013, 01:55:27 pm »
That's ok, I hope your problem is solved now. Also use the "Edit" button instead of double posting next time :)

The problem is completely solved, now I've got a nice `hello world!` text on my calculator.

3
ASM / unrecognised instruction
« on: September 22, 2013, 01:28:06 pm »
Hi there,

I tried to assemble a simple asm script with tasm. The code is litterally copied from a tutorial, so it should work.

this is the batch that should compile my program:
Code: [Select]
@echo off
echo ==== Compileert %1.z80 voor de TI-83+ of TI-84+. ====
tasm64 -80 -i -b c:\asm\source\%1.z80 c:\asm\exec\%1.bin
if errorlevel 1 goto FOUTEN
cd c:\asm\exec
c:\asm\tasm\devpac8x %1
cd c:\asm\tasm
echo ==== Klaar; het programma is opgeslagen in Exec\%1.8xp ====
goto KLAAR
:FOUTEN
echo ==== Fouten!!! ====
:KLAAR
del c:\asm\exec\%1.bin > NUL
echo ==== Klaar ====

This is the example program:
Code: [Select]
.nolist
#include "ti83plus.inc"
#define    ProgStart    $9D95
.list
.org    ProgStart - 2
    .db    t2ByteTok, tAsmCmp
    b_call(_ClrLCDFull)
    ld    hl, 0
    ld    (PenCol), hl
    ld    hl, msg
    b_call(_PutS)            ; Display the text
    b_call(_NewLine)
    ret

msg:
    .db "Hello world!", 0
.end
.end

I copied the ti83plus.inc from here:
http://www.brandonw.net/calcstuff/ti83plus.txt

And these are the errors I get whenever I try to assemble/compile the code:
Code: [Select]
c:\asm\Tasm>asm example
==== Compileert example.z80 voor de TI-83+ of TI-84+. ====
TASM Z80 Assembler.       Version 3.2 September, 2001.
 Copyright (C) 2001 Squak Valley Software
tasm: pass 1 complete.
c:\asm\source\example.z80 line 0007: unrecognized instruction.          (B_CALL(
_CLRLCDFULL))
c:\asm\source\example.z80 line 0011: unrecognized instruction.          (B_CALL(
_PUTS))
c:\asm\source\example.z80 line 0012: unrecognized instruction.          (B_CALL(
_NEWLINE))
tasm: pass 2 complete.
tasm: Number of errors = 3
==== Fouten!!! ====
==== Klaar ====

I am sure the `variables` _CLRLCDFULL, _PUTS and _NEWLINE are defined in the included ti83plus.inc file. So, I think, B_CALL() is undefined, but I am too noobish in assembly to be sure about that.

Can somebody help me a bit with this issue?

greetings

EDIT:

ahw, I see this is an dublicate of:
http://ourl.ca/15212

(Is there a moderator that can delete this post?)

sorry, for not googling enough before posting ..

4
TI Z80 / Re: zStart - an app that runs on ram clears
« on: September 22, 2013, 11:37:39 am »
Hey there,

Finally, it works :D.

I knew there was something I did wrong myself ^^. Everybody who would like to use my calculator, has to defeat my tic tac toe bot from now on.

Thanks a lot for your interest in assembly for TI calculators and the community Jacob/penguin!

Greetings,
me

5
TI Z80 / Re: zStart - an app that runs on ram clears
« on: September 22, 2013, 06:45:08 am »
Quote
You managed to ask this really well actually. You made me feel bad because my app wasn't working right, and you managed to ask on a friday when I actually have some free time.

haha, great :), I didn't believe there was an update when I checked the forums this morning and you shouldn't feel bad. Although you claim that you fixed the RunOnRamClear issues on the ti84+ SE, I am not able to let my calc run an prgm on ram clear.

Here is a video of my calculator and my attempt to let it run a prgm on ramclear:


What do I do wrong?

greetings,
me

6
TI Z80 / Re: zStart - an app that runs on ram clears
« on: September 20, 2013, 06:53:18 am »
How far are you with the update? TI 84+ SE won't install the ram clear hoook, although it says success.

Pages: [1]