Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: escudo825 on February 17, 2006, 12:07:00 pm

Title: [TI-ASM] Learning Grayscale
Post by: escudo825 on February 17, 2006, 12:07:00 pm
well I've been peeking around and playing games. so I may not count as part of the community yet, I've been a computer programmer for about 3 years and so far know about 4 or 5 languages. at first I wasn't interested in joining since I know enough to make my own games. but the I found something, GRAYSCALE!!! so now I am interested. and I should be able to pick up ASM pretty quickly. but I can't find a good IDE or any good tutorials. can anyone help? because I have at least 2 or 3 ideas that I could make for calculator that will work now with grayscale.

so any links or pointers? all I need is a good IDE and afew sample programs I could assemble.
Title: [TI-ASM] Learning Grayscale
Post by: kalan_vod on February 17, 2006, 01:02:00 pm
Well I would like to wellcome you to the forums, and yes being here to me would count as being part of the community :Dbiggrin.gif. There are a few good tutorials out there, none of which I can find atm. But I would like to direct you http://joepnet.com/hosted/maxcoderz/phpBB2/viewtopic.php?t=977 as they have one greyscale package which you could learn from or you could try http://www.revsoft.org/phpBB2/viewforum.php?f=11 as well. Good luck and hope for you to stay around!
Title: [TI-ASM] Learning Grayscale
Post by: Liazon on February 17, 2006, 01:18:00 pm
QuoteBegin-escudo825+Feb 17 2006, 18:07-->
QUOTE (escudo825 @ Feb 17 2006, 18:07)
well I've been peeking around and playing games. so I may not count as part of the community yet, I've been a computer programmer for about 3 years and so far know about 4 or 5 languages. at first I wasn't interested in joining since I know enough to make my own games. but the I found something, GRAYSCALE!!! so now I am interested. and I should be able to pick up ASM pretty quickly. but I can't find a good IDE or any good tutorials. can anyone help? because I have at least 2 or 3 ideas that I could make for calculator that will work now with grayscale.

so any links or pointers? all I need is a good IDE and afew sample programs I could assemble.

H*** S*** that's a lot of experience.  I have none btw, except for the 3 months I've been here.

You could probably use those, but if you get good enough, you might want to try making greyscale yourself.

Essentially, greyscale is created by switching between two different drawings really quickly.  One drawing (DarkPlane) is shown twice as long as the other (LightPlane).  Putting a pixel on in the dark plane creates dark grey, light plane creates light grey.  You switch between drawings via an interrupt.  You probably know interrupts as the things that allow you to multitask in a program.  Well, essentially, the interrupt switches where the LCD driver draws info to put on the screen about every 200 clock cycles.  The greyscale packages mentioned above use 4 buffers (including the default one) to carry everything out.  Two buffers for predisplay drawing, and 2 active buffers that are currently being displayed.

Oh, and if you can help me learn C, that'd be really helpful and nice of you.  Thanks!
Title: [TI-ASM] Learning Grayscale
Post by: Radical Pi on February 17, 2006, 01:29:00 pm
Welcome to the forums :)smile.gif

All you need to get started is Learn Assembly in 28 Days, and notepad.
Title: [TI-ASM] Learning Grayscale
Post by: DJ Omnimaga on February 17, 2006, 02:01:00 pm
ASM guru might help too, but its for the 83 so make sure you check the 83+ equivalent
Title: [TI-ASM] Learning Grayscale
Post by: kalan_vod on February 17, 2006, 05:19:00 pm
Also you may want to check http://tifreakware.calcgames.org/tutorials.htm.
Title: [TI-ASM] Learning Grayscale
Post by: Liazon on February 19, 2006, 04:01:00 am
IDE = Latenite by benryves.

Assembler = BRASS by benryves

emulator = PTI by CoBB
Title: [TI-ASM] Learning Grayscale
Post by: dragon__lance on February 21, 2006, 12:59:00 pm
i agree,i'd really recommend checking out Ducks Grayscale Development package, it really helped me out. Once u get the hang of that, get Jime's rewritten package, it runs much faster, but for some reason on 83p, the quality doesn't seem as good...
Title: [TI-ASM] Learning Grayscale
Post by: Liazon on February 21, 2006, 01:54:00 pm
That's because Duck's and Jim e's sync differently with the LCD port.

Duck's definitely had some kind of adjustment system because tr1p1ea used it so people could adjust the interrupt frequency in Desolate.  I dunno about Jim e's though.

I just wish I could get it to compile in Latenite.