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

Pages: [1] 2 3 ... 8
1
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: May 11, 2019, 09:45:46 am »
Sorry for this necropost, but a good feature would be to add a list of all user defined variables with var key  ;)

2
ASM / Unlock FLASH exploit
« on: March 06, 2018, 09:48:06 am »
I want to write to a Flash area, exactly at adress 7267 page 77. But I saw I have to unlock the Flash. I want to know how an exploit to unlock the flash works.
Thank you in advance

3
The Axe Parser Project / Re: Features Wishlist
« on: March 05, 2018, 11:36:41 am »
It could be a good thing to back up the libraries used in a program.
Because if I lost those one, I haven't any save of them, only the main program ;)

4
Reuben Quest / Re: Reuben Quest: Lost Between Times [Color Remake]
« on: March 01, 2018, 12:54:58 pm »
Could you remake it for TI-84 Plus CE/ TI-83 Premium CE ?

5
TI-Nspire / Re: nTxt - Nspire Text Editor
« on: January 13, 2018, 10:25:25 am »
You should update your program, because copy/paste and selection don't work on 4.5 :(

6
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: October 25, 2017, 07:04:48 am »
Is it possible to add smulbb, smulbt, smultb and smultt?
Signed 16 bit MULtiplication of Bottom half of first operand with Bottom half of second operand => SMULBB
And for smulbt or smultb or smultt :
T is Top and B is Bottom




And smlabb smlabt smlatb and smlatt also exist. It's same as mla, but with signed and bottom or top.

Edit (Eeems): Merged double post

7
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 21, 2017, 09:53:30 am »
I haven't the SDK Ndless, I can't install it on my computer. I already tried :(

8
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 19, 2017, 10:11:19 am »
So I can't use any graphics syscalls? And I have already watched the hackspire doc but I can't found any adresse to use Gc in arm asm

9
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 19, 2017, 05:36:37 am »
I know for put x1 in r1, y1 in r2, etc. But in r0 I should put Gc. But how can I define a Gc in asm?

10
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 18, 2017, 06:25:02 pm »
Gc is an OS variable. There is a bit of documentation on https://hackspire.org/index.php/Syscalls#Graphic_Context_API.

But, for the #define e_gui_gc_drawLine 314 // void gui_gc_drawLine(Gc p1, int p2, int p3, int p4, int p5)
How I can use this in ASM?

I'd guess in R0 as usual.

I try this code :
Code: [Select]
main
    stmfd sp!, {r0-r12, lr}
    mov r0, #0xC0000010
    ldr r0, [r0]
    bl clrscrCX
    adr r0, text
    swi #46 ;tolower
    swi #341 ;disp_msg
    bl wait
    ldmfd sp!, {r0-r12, pc}

wait
    stmfd sp!, {r0-r12, lr}
    mvn r0, #0
    mov r0, r0, lsr #4
waitloop
    sub r0, r0, #1
    cmp r0, #0
    bgt waitloop
    ldmfd sp!, {r0-r12, pc}

clrscrCX
    stmfd sp!, {r0-r12, lr}
    mov r4, r0
    mov r5, #0
    mov r6, #0
    mov r7, #0
xloop
    mov r0, r4
    mov r1, r5
    mov r2, r6
    mov r11, r7
    bl setPixel
    add r5, r5, #1
    cmp r5, #320
    blt xloop
    add r6, r6, #1
    mov r5, #0
    cmp r6, #240
    blt xloop
    ldmfd sp!, {r0-r12, pc}

setPixel
    stmfd sp!, {r0}
    add r0, r0, r1, lsl #1
    add r0, r0, r2, lsl #9
    add r0, r0, r2, lsl #7
    strh r11, [r0]
    ldmfd sp!, {r0}
    bx lr

text
    dcb "HELLO WORLD!", 0

but he displays HELLO WORLD! :(

11
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 18, 2017, 11:10:30 am »
And if I want to reuse the return value of the syscall, in which register is the return value?

12
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 17, 2017, 05:18:11 pm »
But 22 is the syscall puts and not printf ;)



Yes with 341, it works.
But with the syscall void gui_gc_drawLine(Gc p1, int p2, int p3, int p4, int p5), what is Gc p1? A pointer to the screen area?
And p2, p3, p4, p5? The coordinates of the line?

Edit (Eeems): Merged double post

13
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 17, 2017, 03:49:18 pm »
It doesn't work. Nothing is displayed :(

14
Waouh. Beautiful  :o
I am waiting for your program with impatience  ;D

15
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: September 15, 2017, 03:37:42 pm »
so, for #define e_puts 22 // int nuc_puts(const char *p1)
it's my code:
Code: [Select]
main
    stmfd sp!, {r0-r12, lr}
    adr r0, text
    swi #22
    bl wait
    ldmfd sp!, {r0-r12, pc}

wait
    stmfd sp!, {r0-r12, lr}
    mvn r0, #0
    mov r0, r0, lsr #4
waitloop
    sub r0, r0, #1
    cmp r0, #0
    bgt waitloop
    ldmfd sp!, {r0-r12, pc}

text
    dcb "Hello World!"
Is it good?

Pages: [1] 2 3 ... 8