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.


Topics - lue

Pages: [1]
1
ASM / Unknown problem with add two numbers program
« on: October 17, 2011, 09:07:17 pm »
I have just started learning assembler for my TI-84+SE using Hot Dog's TI-83+ Z80 ASM tutorial, and I can't seem to get my first assembler program to work. I compiled it with spasm and used binpac8x.py to turn the resulting output into an .8xp file. I then load this in TilEm and executing it causes TilEm to show its "calculator off" screen and an infinite stream of output in the terminal I started TilEm from.

Here is my current addupL.asm file (the ti83plus.inc comes straight from Hot Dog's zip file):
Code: [Select]
#include "ti83plus.inc"

.org 40399

.db t2ByteTok, tAsmCmp

bcall(_ClrLCDFull)
ld a, 1
; solve problem 1+5
add a, 5
ld h, 0
ld l, a

bcall(_DispHL)
bcall(_getKey)
bcall(_ClrLCDFull)

ret

Since I've just started, I can't tell if there's a problem in the code itself or in the build process itself. Any ideas?

2
Introduce Yourself! / Hello, Omnimaga!
« on: October 17, 2011, 08:51:27 pm »
Hello there! o/

I have been a user of my TI-84+SE since I got it in the 7th grade (think it was 7th anyway).  I have been coding it in Ti-BASIC since the beginning, although I've always been interested in coding assembler. The one thing that has stopped though is an inability to emulate my calculator.

This past weekend, deciding my physics formulas program can't survive much longer as a BASIC program, I installed TiLP and TilEm again, and tried rom8x for the first time (I was under the mistaken impression before it was windows-binary only). Now I have a working emulator, and I have started learning assembler (haven't got anything working yet, but that's a separate topic).

I run Gentoo Linux on a 10-yr-old G3 (Pismo) PowerBook. That's the gist of it. Anything else you'd like to know?

Pages: [1]