Can anyone verify that the ColorLine asm routine works?
Are you having trouble with the routine? Having a look at the documentation it seems that it uses index registers so interrupts should be disabled.

Have you tested it as well?
I use IM2 so the index registers aren't problem. I'll study it after I finish my entry, I'm working around it right now. When I call it, it resets the calc. If I comment it out, everything else works.
Oddly enough, I can actually replicate this crash. I could swear tr1p1ea's routine worked well enough for me when I tested before release, so this is definitely something I need to check and repair. Thanks for discovering the issue!
Ahh so it is the hacked up routine i wrote :X. Ill see if i can find the code.

Do you have any example code for me to look at asmbandit?
tr1p1ea wrote:
Ahh so it is the hacked up routine i wrote :X. Ill see if i can find the code.

Do you have any example code for me to look at asmbandit?
I have an example; it's from your original test program that you sent me, and still has your name at the top:
Code:
;------------------------------------
; tr1p1ea - 09/09/2013 (dd/mm/yyyy):
;------------------------------------
;---------------------------------------------------
; TI-84+CSE drawLine test
;---------------------------------------------------
;
.nolist
.include "ti84pcse.inc"
.include "dcse8.inc"
.define userMemC $A60B
.list
   .org userMemC-2
   .db $EF,$69
 
Main:
   di
   push iy
   ld de,10               ; x0
   ld bc,10               ; y0
   ld hl,310               ; x1
   ld ix,230               ; y1
   ld iy,$F800               ; colour - red
   call colorLine
   ld de,150               ; x0
   ld bc,34               ; y0
   ld hl,50               ; x1
   ld ix,200               ; y1
   ld iy,$0320               ; colour - dark green
   call colorLine
   ld de,280               ; x0
   ld bc,150               ; y0
   ld hl,150               ; x1
   ld ix,24               ; y1
   ld iy,$867D               ; colour - sky blue
   call colorLine
   ld de,310               ; x0
   ld bc,150               ; y0
   ld hl,310               ; x1
   ld ix,24               ; y1
   ld iy,$FFE0               ; colour - yellow
   call colorLine
   ld de,280               ; x0
   ld bc,10               ; y0
   ld hl,30               ; x1
   ld ix,10               ; y1
   ld iy,$FB08               ; colour - tomato
   call colorLine
   pop iy
   bcall(_getkey)            ; getkey
   ret
It worked when your routine was embedded, so I must have made a mistake when I moved it.
I wonder if it resets the calc or if it causes the LCD to go into panic mode.

Perhaps this is a large program that goes over the $C000 limit?
I found out what happened. I used the drawPixel from xLIBC, but at some point along the line that changed, and I never corrected my routine to use your original version instead of xLIBC's modified version. That's what I'll have to fix.
Dang, when do you foresee a fix getting published?
tr1p1ea wrote:
Dang, when do you foresee a fix getting published?
I should have another DCSE update coming sooner rather than later, because Merthsoft also found an issue with Celtic 2's ReplaceLine function and made some suggestions to improve two other functions. Do you have any xLIBC improvements/replacements you want to make?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement