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

Pages: 1 ... 48 49 [50] 51 52 ... 108
736
ASM / Re: App Programming
« on: July 14, 2011, 08:15:37 pm »
No, that goes right at the very start. Your header will look like this:

Code: [Select]
.nolist
#include "ti83plus.inc"
.list
.org $4000

;app header
;
;
;
;
;header end

bcall(_clrLCDFull)
;etc...

Edit:
    That doesn't have to be bcall(_clrLCDFull)

737
ASM / Re: App Programming
« on: July 14, 2011, 08:02:07 pm »
Sure, here you go, just change the name to whatever the name of your app is, and make sure you don't change the total number of bytes. So pad with either 00 or spaces so that the name is 8 bytes long.

If your app is more than one page long, change the bolded byte.


 db 080h, 00Fh
 db 000h, 000h, 000h, 000h
 db 080h, 012h
 db 001h, 004h
 db 080h, 021h
 db 001h
 db 080h, 031h
 db 001h
 db 080h, 048h
 db "zStart", 000h, 000h
 db 080h, 081h
 db 001h
 db 080h, 090h
 db 003h, 026h, 009h, 004h
 db 018h, 034h, 0EEh, 04Eh
 db 002h, 00Dh, 040h, 0A1h, 06Bh, 099h, 0F6h, 059h, 0BCh, 067h
 db 0F5h, 085h, 09Ch, 009h, 06Ch, 00Fh, 0B4h, 003h, 09Bh, 0C9h
 db 003h, 032h, 02Ch, 0E0h, 003h, 020h, 0E3h, 02Ch, 0F4h, 02Dh
 db 073h, 0B4h, 027h, 0C4h, 0A0h, 072h, 054h, 0B9h, 0EAh, 07Ch
 db 03Bh, 0AAh, 016h, 0F6h, 077h, 083h, 07Ah, 0EEh, 01Ah, 0D4h
 db 042h, 04Ch, 06Bh, 08Bh, 013h, 01Fh, 0BBh, 093h, 08Bh, 0FCh
 db 019h, 01Ch, 03Ch, 0ECh, 04Dh, 0E5h, 075h
 db 080h, 07Fh
 db 000h, 000h, 000h, 000h
 db 000h, 000h, 000h, 000h
 db 000h, 000h, 000h, 000h
 db 000h, 000h, 000h, 000h
 db 000h, 000h, 000h, 000h

738
ASM / Re: Texture drawing
« on: July 14, 2011, 05:43:19 pm »
It's scary because it's so massive and very repetitive (though I've seen worse; much, much worse). I'm sure with the proper optimizations you could probably cut about 25% or more off.

Anyways, I believe I found the error. You inlined your GetPixel which I think is rather funny, but there was an extra RET Z in it that you missed. This normally wouldn't cause crashes, but you did a PUSH BC around it, so you are returning into BC, which is definitely not a place where you want to go.

And yes, being in an app protects you accidental SMC.

739
ASM / Re: Texture drawing
« on: July 14, 2011, 01:13:56 pm »
Now that is one of the scariest pieces of code I have ever seen.

And thisshould definitely be this
Code: [Select]
  ld a, (_ty)
  inc a
  ld (_ty), a
  ld c, a
  ld a, (y2)
  ld h, a
  ld a, c
  ld c, h
  cp c
  jp nz, QuadDrawLoop1
Code: [Select]
  ld hl, _ty
  inc (hl)
  ld a, (y2)
  cp (hl)
  jp nz, QuadDrawLoop1


But, as to why it's not actually working. Your loop should theoretically work as long as you are giving it valid numbers. (It will actually finish no matter what you give it though) So that leads me to believe that the problem is with your pixel plotting. Most likely, you are trying to plot pixels that are off screen and that is what is causing all of your problems. You end up plotting pixels in your program code, which causes crashes.

If you are really unlucky, you might even be plotting pixels at _ty.

740
ASM / Re: IM 2 on SE/84+ hardware
« on: July 14, 2011, 11:32:46 am »
Yeah, DrDnar, I made a test like this a long time ago, and I can say that mine is random. It favors some addresses, but in the end, it's unpredictable.

I just ran mine and I get hits in random blobs about every 30 bytes.

741
ASM / Re: App Programming
« on: July 13, 2011, 09:06:02 pm »
Well, if you actually want to know what the format is, then check out these two awesome sections I wrote on wikTi. Certificate/Headers and Certificate/Header fields where you will be most interested in the the $8XX fields.

However, if you are normal, you can just make it with TI's AppHeader Utility that was found on this page.

742
TI Z80 / Re: TruVid - 4 level grayscale video with sound
« on: July 12, 2011, 12:53:14 pm »
No, color is better in fact. But don't worry about it, I'll take care of it, Nyan Cat is probably still a few days away.

743
TI Z80 / Re: TruVid - 4 level grayscale video with sound
« on: July 12, 2011, 12:27:23 pm »
I've converted the Nyan Cat gif into 12 .bmp frames ;D
Do they have to be in greyscale?

That doesn't help me at all :). All I need is .wmv file that is 192x128 and at 30 fps. But don't worry about it, I'll get it, that's not the hard part of getting nyan cat to work, the actual program is what needs some tweaking.

744
I was bored.
Code: [Select]
Known manufacturer IDs are

ID Manufacturer
01 AMD
04 Fujitsu
7F Unknown
C2 Unknown

Known device IDs are

ID Device
23 512 K (4 megabit) (old units)
B9 512 K (4 megabit) (new units)
C4 2048 K (16 megabit)
DA 1024 K (8 megabit)


Data Chart

Note: VS = ViewScreen

Model HW Bad LCD V# All RAM Port 15 Port 3A Chip ID Boot Owner
83+VS I-0299A Yes 2 N/A 15 No 0123 010146 the_mad_joob
83+ S-0404D 2 N/A FF N/A 04B9 0101FF Art_of_camelot
83+ S-0504B 2 N/A F5 N/A 04B9 01017E Art_of_camelot
83+ S-0407K No 2 N/A 00 N/A 01B9 000086 ztrumpet
83+ S-0508K No 2 N/A 00 N/A 01B9 000045 Juju

83+SE I-0302A No 2 Yes 33 00 04C4 000000 ztrumpet
83+SE S-0303C 2 Yes 33 00 040C 000000 Art_of_Camelot

84+SEVS S-0404 No 2 Yes 44 0F 04C4 000000 the_mad_joob
84+SEVS S-0404 No 2 Yes 44 0F 04C4 000000 Mighty Moose
84+SE S-0404 No 2 Yes 44 0F 04C4 000000 Runer112
84+SE S-0704A No 2 Yes 44 0F 04C4 000000 leafiness0
84+SEVS S-1204A No 2 Yes 44 0F 04C4 000000 JosJuice
84+ S-0305B Yes 2 Yes 45 00 04DA 000000 Darl181
84+SE S-0605D No 2 Yes 45 00 04C4 000000 DrDnar
84+SE S-0306F Yes 2 Yes 45 00 01C4 000000 BuckeyeDude
84+ S-0306F No 2 Yes 45 00 01DA 000000 Mighty Moose
84+ S-0406F Yes 2 Yes 45 00 01DA 000000 Eeems
84+SE S-0606F No 2 Yes 45 00 01C4 000000 graphmastur
84+ K-0207E No 2 Yes 45 00 C2DA 000000 ZippyDee
84+SE S-0607H Yes 2 No 55 00 01C4 000000 jsj795
84+SE P-0508M Yes 2 No 55 00 01C4 000000 thepenguin77
84+SE P-0508M No 2 No 55 00 01C4 000000 calcdude84se
84+SE P-0608M 2 No 55 00 01C4 000000 Art_of_camelot
84+SE P-0509M No 2 No 55 00 01C4 000000 ztrumpet
84+SE P-0510O Yes 2 No 55 00 7FC4 000000 thepenguin77

83+ N-0403G No

Putting them in order by date really makes some patterns stand out.

745
News / Re: ThePenguin's TruVid
« on: July 12, 2011, 11:10:13 am »
Perhaps we should contact some online blog or website about technology to share this?

If you're going to do that, at least wait until I finish it ;) It's not too far from completion.

746
TI Z80 / Re: zStart - an app that runs on ram clears
« on: July 12, 2011, 12:50:36 am »
Feature request/need:
Abort displaying grayscale pic on startup if battery level is low.  I almost missed the low battery message today...

That shouldn't be too hard, a quick battery check should probably take care of that.


Random bug:
Editing an archived program while calcutil is installed makes a separate program as it's supposed to.  But the "temporary" program stays afterwards, runs like a normal program and everything (even shows up in Axe's compile menu :P )

Bleh, calcutil. I'll try to figure out what's causing it.

747
TI Z80 / Re: TruVid - 4 level grayscale video with sound
« on: July 11, 2011, 04:16:29 pm »
Can you make a smaller version of it, please?  :(
I really want to try it on my Ti-84+BE  (320kb arch free) ::)
(maybe with Nyan Cat^^)

I would be very happy, if you do that for me  ::)

Yeah, sorry about making it 25 seconds long, it doesn't have sound though. But actually, the file is only 475136 bytes on my calculator, so it would fit if you deleted everything. (and yes, if you want sound/video on an 84+BE, you are going to have to delete everything)

To disable the sound, I recommend this: http://ourl.ca/8984/168820

zTrumpet has a very good point though, back on this project, I think I compressed the videos like 40% because I didn't have sound to worry about, so I'm sure one of those files will fit :D And I'm going to try to get Nyan Cat to fit when I make it, and if it doesn't, Nyan Cat OS!!!

748
Yeah, I was making one, but I got bored, maybe someday I'll finish it. It was in grayscale of course, and I got all the way to the point where you could place towers. The enemies even moved. The only thing it really needs is the ability to shoot.

749
Runer does not have a view screen adapter, which means that port 3A refers to a different USB hardware revision.

Here is what I put on WikiTI

[ wikiTI]
This port reports the ASIC version from which the number of ram pages and USB driver revision can be determined. On the 83+, it does something different.

Read Values
    33 - TI-REF 83PL2M/TA2 - No USB driver and has 128KB of RAM
    44 - TI-REF 83PLUSB/TA2 - Uses old USB driver and has 128KB of RAM
    45 - TI-REF 84PLUSB/TA3 - Uses new USB driver and has 128KB of RAM
    55 - TI-REF 84PLC/TA1 - Uses new USB driver and has 48KB of RAM
Write Values
    No effect
[/ wikiTI]

I really have to thank critor back on that old thread on UTI or else I wouldn't have figured out the difference between 44/45.

750
I think we figured out port 15h.

On the non 83+:
   Port 15 is split up into two fields, the high nibble and the low nibble.
High nibble:
   4 - Calculator has full ram
   5 - Calculator is missing ram
Low nibble:
   4 - Port 3A is 0F
   5 - Port 3A is 00

Of course the high nibble also means which ASIC you have, but I don't know what those are called.

Edit:
   Wait a second, changed low nibble. When we figure out what 3A means, then we can finish this.

Edit2:
   the_mad_joob: Your calculator does not have a port 3A :D, so it can't display the correct number.

Pages: 1 ... 48 49 [50] 51 52 ... 108