Author Topic: ASM Tutorials  (Read 7213 times)

0 Members and 1 Guest are viewing this topic.

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
ASM Tutorials
« Reply #15 on: January 20, 2007, 06:14:00 pm »
Yea assembly does need patience thats what I hated about it. I sat down like 5 or 7 times and tried to learn then one day on Friday in school I was like Im going to go home and dedicate this whole weekend to learning ASM and that is when it happened. I actually learned(not mastered just grasped) ASM after 2 days.Seriously I think you need to just grasp the ideas not program for a week and let the ideas simmer and then things will click. Ask questions and you'll be on your way to a great career.

Now time for some x64 Aseembly how about it :)smile.gif
There are 10 types of people in this world-- those that can read binary, and those that can't.

Liazon

  • Guest
ASM Tutorials
« Reply #16 on: January 21, 2007, 03:48:00 am »
ya, it takes a different amount of time for everyone to grasp the concepts, but once you do, it's your choice whether you want to continue pursuing it cuz everything else is just an application of the basics.  Something clicks eventually but that can't happen unless you try.

actually, the thing that annoyed me the most was setting up the assembly environment, but that was before Latenite, SPASM, and wabbit were available XDsmiley.gif

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM Tutorials
« Reply #17 on: January 21, 2007, 03:51:00 am »
hmm... maybe i'll try and learn it when summer starts, or after i finish all my Basic projects.  
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM Tutorials
« Reply #18 on: January 26, 2007, 05:53:00 pm »
Anyway, to get back on topic, what else ought to make it into the tutorials?  I need to learn about interrupts/grayscale, then I will try to make a very in-depth explanation of how to create grayscale.  Interrupts are a toughy (tuffy?) to learn, and I'm pretty sure teaching them won't be any easier, but I will do my best.  :)smile.gif

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
ASM Tutorials
« Reply #19 on: January 27, 2007, 02:42:00 am »
i would keep grayscale for the final sections (with graphics stuff tho)

Liazon

  • Guest
ASM Tutorials
« Reply #20 on: January 27, 2007, 04:17:00 am »
grayscale is basically implemented the same way as basic except interrupts make less flicker

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM Tutorials
« Reply #21 on: January 28, 2007, 03:30:00 pm »
I just learned interrupts yesterday, and can't wait to teach them ^_^

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
ASM Tutorials
« Reply #22 on: January 29, 2007, 03:07:00 am »
yeah i basic you have to keep running a recall pic command (xlib) to switch the gs checkered pattern quickly. This can make things slow sometimes (altough still bearable with xlib). Gambit from the IRC channel or Maxcoderz did an interrupt based gs for BASIC once, but it didnt looked much better because it wasn't synced with the LCD and it kept crashing :(sad.gif. I guess TI-OS+messing with interrupts in BASIC=kaboom

Liazon

  • Guest
ASM Tutorials
« Reply #23 on: January 29, 2007, 10:41:00 am »
that sounds bad :(sad.gif

afaik, interrupt based usually guarantees (near)-flickerless.

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM Tutorials
« Reply #24 on: January 30, 2007, 12:28:00 pm »
It really depends on the method you are using for the grayscale, as well as the interrupt frequency (ie. desolate).  The more often interrupts are triggering, the more often the screen is being blinked, so it will be less flickery, but that also means the game will be slower, because more of the processor's power is being devoted to the grayscale :(sad.gif

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM Tutorials
« Reply #25 on: January 30, 2007, 01:57:00 pm »
not that this has anything to do with this thread, but i don't feel like starting one (and it would be pointless), but i am starting to actually understand ASM!!!  :w00t:woot.gif
I've been looking at a tutorial (Arasian one at ticalc.org), and what helps me understand it the most is (you could use this in your tutorial) that he shows you code how to do something and explains what it is. Unlike ASM in 28 days, he (maybe she?) doesn't explain everything about flags at once and stuff like that. And it helps that i am copying down his code, then commenting it all to make sure i understand what each command does.

Just thought i'd post something  :Ptongue.gif
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
ASM Tutorials
« Reply #26 on: February 22, 2007, 11:05:00 am »
if you complete this i would voulenteer to use it to teach myself asm. sorta like a beta tester. I really want to learn asm at sometime so i think it would be "mutually beneficial" :)smile.gif

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM Tutorials
« Reply #27 on: February 22, 2007, 12:48:00 pm »
i don't think jon will be doing much tutorial making for a while (if you don't know why, look at another thread ;)wink.gif)
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
ASM Tutorials
« Reply #28 on: February 22, 2007, 02:57:00 pm »
im assuming that your talking about tetris taking up the majority of his time right? (im bad at inuendo and hints) :/confused.gif
 ya, i see. But it doesn't really matter if the thing's not done for a while, i dont have anything important/timeconsuming untill the start of the fall soccer season. and even then its not that bad.

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM Tutorials
« Reply #29 on: February 22, 2007, 03:26:00 pm »
no, it's not tetris (he won't work on that for a while either).
Click http://omnimaga.org/index.php?showtopic=1159
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)