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 ... 153 154 [155] 156 157 ... 317
2311
Casio Calculators / Re: Free PRIZM's and ClassPad's
« on: February 10, 2012, 07:40:59 pm »
would it be ok if I asked for the answers? I'm really busy right now and I don't have time to fill it all out. It's not like I wouldn't be able to answer them on my own..just I'm busy
That is definitely cheating :/ I am pretty sure they wouldn't be happy with that. Keep in mind, this is a promotional thing. They want to teach people how to use their calculators and the whole process works very well, actually. The main thing they want is to see if we can learn how to use their calculators and more importantly abuse their functions. They want us to think critically about tasks which is perfect for us because we are programmers-- we do this all the time.

2312
TI-Nspire / Re: [Lua] Mancala
« on: February 10, 2012, 02:08:50 pm »
I think you have to have made 5 posts before you gain the option to PM (to prevent spambots from sending messages to users and whatnot).

2313
Axe / Re: How to use the link port
« on: February 10, 2012, 02:05:58 pm »
My friend does not like me at the moment (we got in an argument), so I could not test between the 84+/SE and the 83+ (he has the 83+). Also, I am still trying to work on exchanging two different sized strings.

2314
Casio Calculators / Re: Free PRIZM's and ClassPad's
« on: February 10, 2012, 02:00:54 pm »
Awesome o.o I hope I can obtain one! The Prizm emulator has so far shown me that this calculator was designed for what TI calls "Mathprint" because it is very intuitive. Even methods that are not explained are easily found. For example, I thought:
"It would be cool if I could press the fraction button between two numbers and have it split up as a fraction." And then I thought, "Hmm, let me try this!" Then I tried it and I was like this:
 O.O

2315
Casio Calculators / Re: Free PRIZM's and ClassPad's
« on: February 10, 2012, 09:57:52 am »
i have a question, how do you display the values in the fibinoci sequence like they ask you to in the questions?
also is this correct:
an=-1n+3
ive never done these before
I don't know if telling you would be considered cheating :/

2316
Casio Calculators / Re: Free PRIZM's and ClassPad's
« on: February 10, 2012, 08:55:19 am »
I think I am going to give it a try .____. If I do, i can start Casio development o.o I've only ever owned one Casio calc and I never figured out how to use it o.O But I was also pretty young :3

2317
Casio Calculators / Re: Free PRIZM's and ClassPad's
« on: February 10, 2012, 08:25:33 am »
I wonder if we could get them to sponsor some contests?

2318
ASM / Re: Asm for the TI84+
« on: February 10, 2012, 08:23:10 am »
You can download the TI-83+ SDK from education.ti to get a good number of bcalls and what they do. As well, you can use this site to get the details of a large number of otherwise undocumented bcalls:
http://wikiti.brandonw.net/index.php?title=Category:83Plus:BCALLs:By_Name

2319
Axe / Re: How to use the link port
« on: February 09, 2012, 05:09:30 pm »
O.O I just modified the source a bit and I just now made a program that exchanges Ans with the other calculator if it is a string o.o I used a few spots of assembly, but it works :D I am going to see if there is some way to make it terminate after receiving a certain byte ...

On another note, I tested this twice earlier by sending 255 bytes 100 times and the checksum worked every time :) (this was between TI-84+ and TI-84+SE)

2320
Axe / Re: How to use the link port
« on: February 09, 2012, 02:15:02 pm »
Yes and I found that if I pressed clear while it was still synchronizing it returned 20 every time (on either calculator).

2321
Introduce Yourself! / Re: Hello community!
« on: February 09, 2012, 02:13:01 pm »
Or can it be "To whom are you speaking?"
Anyways, I forgot to give you some !peanuts !

2322
Axe / Re: How to use the link port
« on: February 08, 2012, 04:27:11 pm »
Do I send the program to both calcs and then run the program on both?

EDIT: I tried it 10 times on each calculator and they said 190 each time. Also, I even have a bad cord and it worked! +1 :D

EDIT2: If I can figure out how this code works, can I use it in Grammer? (My link protocol does not work for synchronising and whatnot :/)

2323
ASM / Re: ASM Command of the Week
« on: February 08, 2012, 07:42:22 am »
I often like to use it to return whether a function was successful or not. For example, the c flag here means the pixel was in bounds, so its location was computed normally:
Code: [Select]

GetPixelLoc:
;Input:
;     b is X
;     c is y
;Output:
;     HL points to byte
;     A is the mask
;     nc if not computed, c if computed
       ld a,c
       cp 64 \ ret nc
       ld a,b
       cp 96 \ ret nc
       ld l,c
       ld h,0
       ld b,h
       add hl,hl
       add hl,bc
       add hl,hl
       add hl,hl
       ld b,a
       rrca \ rrca \ rrca
       and 0Fh
       ld c,a
       ld a,b
       ld b,0
       add hl,bc
       ld bc,(BufPtr)
       add hl,bc
       and 7
       ld b,a
       inc b
       ld a,1
         rrca
         djnz $-1
       scf
       ret
Sometimes I need to correct an addition or subtraction by also adding or subtracting one:
Code: [Select]

OP1NameLength:
;Returns the name length in HL
        ld hl,8478h
NameLength:
        xor a \ ld b,a \ ld c,a
        cpir
        ld h,a \ ld l,a
        scf \ sbc hl,bc
        ret
 
(There is a better version of that)
Also, sometimes there are some very specific adjustments. In this case, you will see scf is used only when the end of the file is met, so an extra 1 must be subtracted to get the line length:
Code: [Select]

SearchLine:
;Inputs:
;     HL points to the start
;     BC is the number of bytes to search
;     DE is the line number
;     A is the line byte
;Outputs:
;     A is not changed
;     BC is the number of bytes left for the search
;     DE points to the line
;     HL is the length of the line
;===============================================================
     dec de \ inc d \ inc e
     or a
     ld (TempWord1),hl
SearchLoop:
     cpir                       ;21X-5
     jp po,EndSearchLoop+1
     dec e \ jr nz,SearchLoop-3
     dec d \ jr nz,SearchLoop-3
EndSearchLoop:
     scf
     ld de,(TempWord1)
     sbc hl,de
     ret

2324
TI Z80 / Re: 2D Cellular Automata
« on: February 07, 2012, 09:26:16 pm »
Wow, beautious!

2325
Introduce Yourself! / Re: Hello community!
« on: February 07, 2012, 03:40:39 pm »
Hello! This is a pretty large community, so I am sure you will find folks with whom to discuss. (that is my second time I have ever intentionally used the word "whom" and I have no clue if I used it properly o.o )

Pages: 1 ... 153 154 [155] 156 157 ... 317