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

Pages: 1 ... 3 4 [5] 6 7 ... 84
61
ASM / Re: Quicksort in z80 (note: not by me)
« on: November 13, 2010, 01:41:00 pm »
I am sure I would enjoy this if I knew any z80.  I'm actually doing the same thing in my Java class. Nice. :)
For curiosity I read about most used sorting algorithms even before classes, but now I will probably have to do it for class. So yes, it is quite fun to see quicksort in z80.

My only concern at a glance is how it keeps popping without pushing.
It uses the stack to save the elements.
A stack overflow can happen in large lists and maybe cause a slow down because it pushes and then pops a lot. But stack is efficient enough to be even used for clearing large portions of memory when speed is a must.

62
psst, I added your tutorial in WikiTI by linking to the ticalc file.
Good work and I hope there will one generation of z80 hobbyist coders following your tutorial.

63
News / Re: Exodus Updates
« on: November 13, 2010, 09:44:12 am »
We need to make a list of masterpieces in TI-BASIC to put almost certainly Exodus in 1st place.

64
ASM / Re: WikiTI
« on: November 13, 2010, 09:37:39 am »
After seeing USB and hooks documentation added (I could have wrote the hooks page if I had that idea earlier, fortunately someone had the idea) I added some interesting stuff and updated some things... Looking at WikiTI with fresh eyes again makes occur some ideas to add.

65
ASM / Quicksort in z80 (note: not by me)
« on: November 13, 2010, 09:31:32 am »
While doing some research for WikiTI I have found this: http://frank_y.scripts.mit.edu/pages/z80qsort/

Here is the code for quicksort:
;
; >>> Quicksort routine v1.1 <<<
; by Frank Yaul 7/14/04
;
; Usage: bc->first, de->last,
;        call qsort
; Destroys: abcdefhl
;
qsort:  ld      hl,0
        push    hl
qsloop: ld      h,b
        ld      l,c
        or      a
        sbc     hl,de
        jp      c,next1 ;loop until lo<hi
        pop     bc
        ld      a,b
        or      c
        ret     z       ;bottom of stack
        pop     de
        jp      qsloop
next1:  push    de      ;save hi,lo
        push    bc
        ld      a,(bc)  ;pivot
        ld      h,a
        dec     bc
        inc     de
fleft:  inc     bc      ;do i++ while cur<piv
        ld      a,(bc)
        cp      h
        jp      c,fleft
fright: dec     de      ;do i-- while cur>piv
        ld      a,(de)
        ld      l,a
        ld      a,h
        cp      l
        jp      c,fright
        push    hl      ;save pivot
        ld      h,d     ;exit if lo>hi
        ld      l,e
        or      a
        sbc     hl,bc
        jp      c,next2
        ld      a,(bc)  ;swap (bc),(de)
        ld      h,a
        ld      a,(de)
        ld      (bc),a
        ld      a,h
        ld      (de),a
        pop     hl      ;restore pivot
        jp      fleft
next2:  pop     hl      ;restore pivot
        pop     hl      ;pop lo
        push    bc      ;stack=left-hi
        ld      b,h
        ld      c,l     ;bc=lo,de=right
        jp      qsloop
;
; >>> end Quicksort <<<
;

I hope some z80 junkies enjoy. And discuss.

66
News / Re: Jailbreak your PS3 with a TI-89 Titanium
« on: October 31, 2010, 09:31:13 am »
Nice, TI's gonna get sued by Sony someday :D
It would be quite funny to see. Although that could possibly bring legal/career consequences on Brandon Wilson and even more pressure on not allowing any 3rd party machine code on all calculators. And many other problems if Sony won, like the liberty we have on the devices we bought could be reduced...

67
News / Re: Mini-contests by Raylin
« on: October 27, 2010, 11:06:09 am »
Do you think you will remain busy for the entire school year or is it just kinda temporary? I hope you can eventually return, even if not as active as you were last year.
After the first weeks, I am slowly managing my time better and eventually when I have no extraordinary worries, I hope, I can first have fun with a project and post here a bit.

68
News / Re: One hundred member logins in one day
« on: October 27, 2010, 11:02:14 am »
woot, I'm there. xD

69
TI Z80 / Re: Starcraft in Axe
« on: October 26, 2010, 05:15:16 pm »
Yep, I have seen interesting RTS as side scrollers. And doable in our calculators.
Have you ever played Glory Days (platform: GBA or NDS)?

70
News / Re: Mini-contests by Raylin
« on: October 26, 2010, 05:09:26 pm »
I am very impressed and pleased to observe such activities in Omnimaga and the large number of competitors.
Back (almost a) year I could enter that contest in TI-BASIC. Now I am just too busy, but still trying to start having fun with programming projects for calculators meanwhile. I hope I get a good rhythm in programming after some projects for "Programming Elements". :P

To all participants, have fun and show your talent at the same time.

On a side note, I wish I had a few more entries to compete against in the MaxCoderz Rain Effect Mini-Contest.

PS: first to answer, luck on my part ^^

71
Other Calculators / Re: My stay on calc community
« on: October 15, 2010, 11:10:51 am »
Thanks for the replies.

I forgot to tell, I enjoyed very much participating Omnimaga forums in particular. It was really nice time spent here, made me laugh quite many times and learn a lot.

72
News / Re: TI-84+SE discontinued?
« on: October 07, 2010, 05:19:48 pm »
Nooooooooooooooooooooooooooooooooooooo.
Very sad news.  :'(

I hope an 3rd party emulator on Nspire will keep the TI-84+SE development alive for new calculator users.
And we have accurate emulators and roms to all z80 calculators, so they can live almost forever.

73
Other Calculators / My stay on calc community
« on: October 07, 2010, 05:17:17 pm »
No worries about me, I am 100% fine, just much more occupied than ever because of University.
To the curious I followed Mathematics. (I also enjoy Engineering and Physics, it was a hard choice)

I also learnt some new skills (C and Python, easily grasped, takes experiences to master) and I might start to do some projects (web and math oriented) with new people I am meeting. Finally I find abundance of good chess players... hahaha

I will make effort to tackle my calculator projects but it will be in the long term.
Unfortunately I can only follow Revsoft forum 1 time a week or so.

See ya on the forums when I have an opportunity.

PS: sorry to not give news earlier but I was not in the mood to write until today. ;)

74
Ndless / Re: Ndless 1.7 for TI-Nspire
« on: October 07, 2010, 05:07:44 pm »
Nice to see Ndless on 1.7 and a wiki on development.
I am happy to see topics for starting progress on Nspire in the wiki.

75
Humour and Jokes / Re: some days you just can't get rid of a bomb
« on: August 10, 2010, 04:48:11 am »
My uncle liked that show and because of that I know of those Batman series.

Hilarious scene. :D

Pages: 1 ... 3 4 [5] 6 7 ... 84