- Help with _PutC on the TI-84 Plus Ce
- 12 Oct 2017 05:26:43 pm
- Last edited by dankcalculatorbro on 12 Oct 2017 07:26:06 pm; edited 2 times in total
So I wrote this code for the TI-84 Plus CE:
Code:
The goal is to output a question mark at 1,1 on the home screen. My problems are that the screen freezes until a ram clear, and that the text does not look correct nor is it in the right place. I basically copied that code off of the learn assembly in 28 days, except changing b_call to call and changing the character and its position.
I have tried this with interrupts enabled and disabled.
Edit: uploaded full code, this time using PutS. The problem specifically this time is that the program freezes.
Code:
#include "includes\ti84pce.inc"
.assume ADL=1
.org userMem-2
.db tExtTok,tAsm84CeCmp
;Setup
call _ClrScrnFull
call _HomeUp
ld hl,LetterA
call _PutS
mainloop:
ld hl,DI_MODE
ld (hl),2
ld a,(kbdG6)
bit kbitCLEAR, a
jr z,mainloop
call _ClrScrnFull
ret
LetterA:
.db "A",0
The goal is to output a question mark at 1,1 on the home screen. My problems are that the screen freezes until a ram clear, and that the text does not look correct nor is it in the right place. I basically copied that code off of the learn assembly in 28 days, except changing b_call to call and changing the character and its position.
I have tried this with interrupts enabled and disabled.
Edit: uploaded full code, this time using PutS. The problem specifically this time is that the program freezes.