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

Pages: 1 ... 264 265 [266] 267 268 ... 283
3976
ASM / Re: [z80] 32 bit by 16 bits division and 32 bit square root
« on: April 12, 2013, 08:18:20 am »
Should I leave the extra sbc hl,de ?

Edit : It doesn't fix anything...
Edit 2 : My code actually worked I was just displaying without the small r in axe. :P

3977
ASM / Re: [z80] 32 bit by 16 bits division and 32 bit square root
« on: April 12, 2013, 07:58:03 am »
You only have one exx in the loop, so every time through the loop uses different registers.  It should work if you add an exx at the beginning of the loop.
I forgot to copy it but I actually have it.

3978
TI Z80 / Re: edit8X+
« on: April 12, 2013, 07:39:10 am »
Sounding cool ! Now we'll have a decent text editor for our calcs. :3

3979
ASM / Re: [z80] 32 bit by 16 bits division and 32 bit square root
« on: April 12, 2013, 07:36:40 am »
I can't get the 24/16 routine from z80 bits to work. :s
Here's what I'm running :
Code: [Select]
    di
    ld a, 244      ;dividend high byte
    ld bc, 9216   ;dividend low word (244*2^16+9216=16000000)
    ld de, 47288 ;divisor
    ld hl, 0
    exx
    ld b, 24
LOOP:
    exx
    slia c ; unroll 24 times
    rl b ; ...
    rla ; ...
    adc hl,hl ; ...
    sbc hl,de ; ...
    jr nc,$+4 ; ...
    add hl,de ; ...
    dec c ; ...
    exx
    djnz LOOP
    exx
    ;load the values of a, bc and hl to the first five bytes of appBackupScreen
    ei
What am I doing wrong ? ??? I tried it several times and I always get wrong results.

3980
Other / Re: The 3Doodler - a 3D-Pen
« on: April 12, 2013, 06:54:20 am »
Wow, that's pretty impressive. :)

3981
ASM / Re: [z80] 32 bit by 16 bits division and 32 bit square root
« on: April 12, 2013, 02:01:54 am »
Yeah that's what I was talking about but since I use the exact same thing in Axe... :P

3982
Are you only limited to TI calcs? What about a Casio calc? I really enjoy my 9750gII, the BASIC is powerful and runs at a decent speed, and they can also be programmed in C. They also have an iOS-esque menu (more friendlier than TI's command-line interface), and good filesystem tools.
What is command-line like in TI's OSes ? ???
On the contrary, I like TI's calc for having a key to go in every menu, while on Casio, you have to guess the first key then press the F# keys like twenty times before getting to the right token.
I agree with you. On my 84+ everything is 1/2 buttons away while I've never figured out Casios, programming them is a freaking PITA too (the editor is unfriendly).
I really recommend that you go for a CX. It has more power than classics (64MB RAM instead of 32 and I think the CPU is faster). That's what I'm gonna do and add in CAS because in France there's no problem to that and it's cheaper.

3983
I totally agree with you Runer, checkpoints are unfair and even though they decrease max computing time, they make searching time random depending on wether you're just before a checkpoint or just after.

3984
ASM / Re: 8X+(se) testers needed...
« on: April 11, 2013, 12:34:25 pm »
You welcome. I like to help people especially when it's that simple. ;)

3985
ASM / Re: 8X+(se) testers needed...
« on: April 11, 2013, 12:14:39 pm »
84+ S-0107G (TA3 chip) :
4
21
21
21

3986
Other Calculators / Re: Essential Calculator Programs
« on: April 11, 2013, 12:07:43 pm »
TI Boy only emulates GB, not GBC.

What I use :
Axe + Mimas (ASM IDE)
Calcsys + XXEdit because I don't like the Calcsys editor
GroupTool to manage groups
MSD8x + USB8x (though I need to make an adapter)
Omnicalc + Symbolic (math + custom)
TI's periodic table
zStart + DoorsCS7 (awesome shells)
Unsingned (name on about screen, lets you downgrade if you have boot code 1.03)

This is a mix of programming, math and customization.

Games :
Cube Runner
Dark Falldown
Fruit Ninja
The Impossible Game
Rainbow Dash Attack
AxeSnake
Temple Run
Zombie Gun
zTetris

No longer playing, still on my computer :
Embers Phoenix
Graviter
Pokemon Topaze
Portal Prelude
Simul
Stick Ninja
Super Mario 2.0
The Psyche
TI-Boy

That's pretty much what I have or had and kept on my computer. All very good stuf. ;)

3987
Miscellaneous / Re: What is your avatar?
« on: April 11, 2013, 11:55:42 am »
I found mine while looking for a Minecraft avatar. :P I saw it and felt it was appropriate since I spend a lot of time on the computer (like everyone else here :P).

3988
ASM / Re: [z80] 32 bit by 16 bits division and 32 bit square root
« on: April 11, 2013, 11:48:14 am »
Xeda helped me optimize my primality checker a bit. I think I have an idea for arbitrary precision division though and jacobly linked me an arbitrary precision sqrt routine. I will see what I can do with that. And everyone is not in the contest. :P Also :
Note that I'm not asking for code but some help to create them myself and then optimization because I'm not Runer/ThePenguin/Calc84maniac and I want to learn. :P

Thanks for the link Runer.

3989
I finally got around making the palindrome generator. that was easy. 8)
Stats :
The first five (2, 3, 5, 7, 11) are hardcoded because my palindrome gen wont work with less than 3 digits.
42nd palprime : 18181, 164/512 = 0.32 seconds 155/512 = 0.3 seconds.
70th palprime : 39293, 428/512 = 0.84 seconds 381/512 = 0.74 seconds. Unfortunately, that's the furthest we can go with 16 bits.
This is an Axe program that works with 16 bits integers at full speed.

I measure the speed with the max speed interrupt running theta++ every time. I display the value of theta at the end. Since this is a 512Hz interrupt, I just have to divide by 512 to know the time it took. ;)

Edit : Dropped in a crazy optimization that brought my times down by a fair amount. :P

3990
ASM / Re: [z80] 32 bit by 16 bits division and 32 bit square root
« on: April 11, 2013, 07:21:25 am »
Is anyone willing to help ?

Pages: 1 ... 264 265 [266] 267 268 ... 283