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

Pages: 1 ... 163 164 [165] 166 167 ... 317
2461
Gaming Discussion / Re: Axis and Allies Questions
« on: January 22, 2012, 02:33:55 am »
Ah, I see... Thank you! I need to brush up on gaming lingo XD

2462
Gaming Discussion / Re: Axis and Allies Questions
« on: January 22, 2012, 02:30:16 am »
Wait, what is FFA? That seems likes something more to do with farming in my experience, but you are referring to a game, I am sure o.o

2463
TI Z80 / Re: Fire
« on: January 21, 2012, 09:38:01 pm »
Thanks :D I hope it will be useful to some BASIC coder out there some day :)

2464
Other Calculators / Re: TI-84+ On An External Power Supply - Hardwired
« on: January 21, 2012, 05:42:39 pm »
Hmm, that would probably require more hardware modding, but I am sure it is possible to do. Add a gate that switches which power input to use. If there is energy coming from the USB, use USB energy, otherwise, just use batteries. I've been thinking about making it charge my rechargeables, too :D

2465
TI Z80 / Re: Fire
« on: January 21, 2012, 05:39:13 pm »
As an axiom command, you would only need to execute one frame and let the user put the frame in a loop. The loop that is executed is this:
Code: [Select]
Fire:
    ld hl,934Ch
    ld de,9340h
    ld bc,2F4h
Random:         ;feel free to give me a smaller rand routine that is pretty random x.x
    push hl
    push de
    ld hl,0
    ld a,r
    ld h,a
    add a,(hl)
    inc hl
    rrca
    add a,(hl)
    inc hl
    rrca
    xor (hl)
    inc hl
    rrca
    rrca
    ld l,a
    ld (Random+3),hl
    and 7
    ld d,8Bh
    ld e,a
    ld a,(de)
    pop de
    pop hl
Method:
    or (hl)            ;change to AND for t'other method
    ld (de),a
    inc de
    cpi
    jp pe,Random
    ret
And 8B00h contains the bytes 0102040810204080. Use FEFDFBF7EFDFBF7F for black fire.
After that, you just draw your picture back over it with display the graph to the LCD :)

To lessen the intensity, you can change the and 7 to and 3 and the values at 8B00h to 18244281 or something similar.
To raise the intensity, change to and 15 and put an FF between each byte at 8B00h, so FEFFFDFFFBFFF7FFEFFFDFFFBFFF7FFF

2466
TI Z80 / Re: Fire
« on: January 21, 2012, 04:56:41 pm »
Hmm, well I was thinking of making an interrupt to keep a burning picture...

EDIT: It might go well with zStart...

2467
Other Calculators / Re: TI-84+ On An External Power Supply - Hardwired
« on: January 21, 2012, 04:39:06 pm »
Cool! 
I wonder if you can plug it into USB and draw the 5V from that...
Do you mean like from the USB port on your calc?

2468
TI Z80 / Re: Fire
« on: January 21, 2012, 03:34:09 pm »
That is a good idea, too o.o And I think I will keep the fire options simple XD I want it so any BASIC user can use it with ease :) Also, ORG is not working for me at the moment, so bug testing and stuff is not working D:

EDIT: Okay, here is an updated version:
-Use a number >255 to use the graph screen as an image for fuel
-Use - before the number to use white fire instead

2469
TI Z80 / Re: Fire
« on: January 21, 2012, 03:21:54 pm »
Oh, well pictures are named by 60xx in memory. When I do 3, my program looks for the picture 6003 (Pic4) and when I do 6, it searches for Pic7 (6006). Pretty much, I do something like this:
Code: [Select]
     bcall(_RclAns)
     or a                    ;tests if A is 0. this is the type and we want 0 (o is a number)
     jr nz,PicNotFound
     bcall(_ConvOP1)   ;we find the number
     ld d,e
     ld e,60h              ;so DE is xx60. in RAM, it is stored in reverse as 60xx
     ld (OP1+1),de      ;we load the name to OP1
     xor a                  ;optimised way to do ld a,0 (3 cycles faster, 1 byte smaller)
     ld (OP1+3),a        ;we add a zero after the name
     rst rFindSym        ;we locate the var
     jr c,PicNotFound
     inc de
     inc de                 ;de now points tot he picture data :)
Also, it now handles the options using the current graph screen as fuel as well as using white fire (program and screenie coming soon!)

2470
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: January 21, 2012, 02:45:47 pm »
Ah, well all you should need to do is press [tab][instruction][space][argument][,][argument]
Then from there, you just press Enter and the tab stays :) Are you accustomed to using some kind of IDE where you don't need to use a space between instruction and argument?

2471
TI Z80 / Fire
« on: January 21, 2012, 02:36:31 pm »
Okay, after having some fun with Builderboy's Flame tutorial and Deep Thought's ORG ide, I put together this little program (136 bytes). Pretty much, you send a number in Ans and this program uses that picture as fuel for a fire. If the picture doesn't exist, it just disintegrates the screen. It will keep burning until the user presses a key, too, so you can use this for an intro screen in a game!

Things I am wondering if I should add:
-making white fire instead
-using the current screen as fuel
-seeing if I could add this in as an interrupt to be disabled or enabled
-Adding in 15MHz mode

2472
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: January 21, 2012, 12:49:17 pm »
Ah, right. I also realised that I can save the sources to a .zip folder. Also, this is a lot better than using Notepad like I normally do o.o

2473
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: January 21, 2012, 12:39:59 pm »
Wow, cool o.o

EDIT: Also, is there some way to make it so people can give links to their sources for others to modify?

2474
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: January 21, 2012, 10:21:30 am »
Awesome, thank you much! Now I can get to work :D

2475
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: January 21, 2012, 10:16:00 am »
Yes, that would be great! Also, how do I go about changing the name of a project?

Pages: 1 ... 163 164 [165] 166 167 ... 317