Author Topic: ASM Tutorials  (Read 7125 times)

0 Members and 1 Guest are viewing this topic.

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM Tutorials
« on: January 17, 2007, 05:39:00 pm »
I'm in the midst of writing z80 assembly tutorials, and I just wanted any input you can think of to help me make these user-friendly, and not complicated as hell :/confused.gif .  For example, please tell me any of the main things that made you go o.oblink.gif when trying to read other assembly tutorials.

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 #1 on: January 18, 2007, 02:03:00 am »
the fact that it's not software programming oriented enough, that it helps understanding ASM but it doesn't help making programs or small games. Something like ASM guru for regular 83 would be cool, but for 83+

Liazon

  • Guest
ASM Tutorials
« Reply #2 on: January 18, 2007, 06:22:00 am »
In other words, teach people how to do simple things like matrix-based tilemapping and hit detection, which is something that I think a lot of basic guides teach.  It kind eases the transition between basic and ASM.

However, warn that people should not use the same method OVER and OVER because sometimes things need to be modified for different situations.

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
ASM Tutorials
« Reply #3 on: January 18, 2007, 11:15:00 am »
Teach people how to do common things done in games, which programmers will most likely be making (highscores, grayscale, tile-mapping).  Also, try to explain how to use the VAT well, because even TI-83+ Assembly in 28 Days didn't really do a good job of explaining it well and giving methods how to access and get the values of things such as strings and other variables.  Try to focus on the things that aren't in other tutorials.  

Delnar_Ersike

  • Guest
ASM Tutorials
« Reply #4 on: January 18, 2007, 01:38:00 pm »
Expand the harder parts into lots of tutorials *looks at Learning Assembly in 28 Days Day 2*. Cover the sections which explain the ASM equivalents of BASIC commands first, and make the guide understandable so even people who don't know a thing about coding on the computer (like me :oops:embarassed.gif )can dive in.

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM Tutorials
« Reply #5 on: January 18, 2007, 03:43:00 pm »
yeah i tried to start ASM, and i'm a pretty good programmer (not to be modest  :king:king2.gif ), but with the "ASM in 28 days", i couldn't understand much of anything. I just wanted to find out how to do sprites and hit detection. (and a menu).
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 #6 on: January 18, 2007, 04:38:00 pm »
I can teach you all about sprites :)smile.gif.  Menus make my head hurt in ASM, even my 4-entry menu in my pong game is a nightmare of poorly-coded asm. :/confused.gif

PS: I love plotting graphics in b/w, but not grayscale, cuz it makes my head hurt.

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 #7 on: January 19, 2007, 02:03:00 am »
is it me or does handling text/strings seems so hard in asm compared to doing other complex stuff such as displaying maps/sprites?

Liazon

  • Guest
ASM Tutorials
« Reply #8 on: January 19, 2007, 09:40:00 am »
QuoteBegin-Delnar_Ersike+18 Jan, 2007, 19:38-->
QUOTE (Delnar_Ersike @ 18 Jan, 2007, 19:38)
Expand the harder parts into lots of tutorials *looks at Learning Assembly in 28 Days Day 2*. Cover the sections which explain the ASM equivalents of BASIC commands first, and make the guide understandable so even people who don't know a thing about coding on the computer (like me :oops:embarassed.gif )can dive in.

that's the wrong way to learn ASM.  Most of the basic commands are a combination of ASM routines made up of many many lines.  It'd be kinda complicated to teach those things from the get go.  For the most part, ASM is all about data manipulation.  what appears on the screen depends on where you store it.  patience, young padawan is the advice i'd give.  but most people pick it up real quick if they just let it wash over them; they just learn about code as opposed to making games.

edit:

@xlibman: that's because most people will use ti-os ROM calls to display text since they dont' take up space in the program and they're already pretty good.  It's just that you have to make sure you give the routine the right info.  in terms of combining strings and all that, it's more of a matter of having space to do so and actually doing it.  that's probably why a whole day is used in ASM in 28 to talk about strings.

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM Tutorials
« Reply #9 on: January 19, 2007, 05:18:00 pm »
Yeah that's an excellent point.  You can't expect to be able to create brilliant game right out of the gate after reading some tutorials.  ASM takes time.  The way I would suggest is making a game while you learn ASM.  That way, you can slowly learn new concepts, and then apply them to your game.   My original Pong game was all ascii chars.  It took me months of revision to get it to where it is now.  So take some sort of game idea, program whatever you can with what you know, then learn what you need to know to finish the game.

Delnar_Ersike

  • Guest
ASM Tutorials
« Reply #10 on: January 19, 2007, 06:56:00 pm »
QuoteBegin-Jon+19 Jan, 2007, 23:18-->
QUOTE (Jon @ 19 Jan, 2007, 23:18)
Yeah that's an excellent point.  You can't expect to be able to create brilliant game right out of the gate after reading some tutorials.  ASM takes time.  The way I would suggest is making a game while you learn ASM.  That way, you can slowly learn new concepts, and then apply them to your game.   My original Pong game was all ascii chars.  It took me months of revision to get it to where it is now.  So take some sort of game idea, program whatever you can with what you know, then learn what you need to know to finish the game.  

 *Delnar_Ersike

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
ASM Tutorials
« Reply #11 on: January 20, 2007, 12:00:00 am »
QuoteBegin-xlibman+18 Jan, 2007, 14:03-->
QUOTE (xlibman @ 18 Jan, 2007, 14:03)
the fact that it's not software programming oriented enough, that it helps understanding ASM but it doesn't help making programs or small games.  

 I second that.

Also, many people who read the tutorials want to program games, not tools.
We need a game-oriented tutorial. Like explaining hit detection and stuff.

Offline Jon

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 278
  • Rating: +0/-0
    • View Profile
ASM Tutorials
« Reply #12 on: January 20, 2007, 10:50:00 am »
QUOTE
QUOTE

the fact that it's not software programming oriented enough, that it helps understanding ASM but it doesn't help making programs or small games.

Delnar_Ersike

  • Guest
ASM Tutorials
« Reply #13 on: January 20, 2007, 05:47:00 pm »
QuoteBegin-Jon+20 Jan, 2007, 16:5-->
QUOTE (Jon @ 20 Jan, 2007, 16:50)
QUOTE
QUOTE

the fact that it's not software programming oriented enough, that it helps understanding ASM but it doesn't help making programs or small games.

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
ASM Tutorials
« Reply #14 on: January 20, 2007, 05:54:00 pm »
*Basic Guru stares back O_Oshocked2.gif *

I only read 1 tutorial on basic before i understood the basics of it (can't remember the name, but it was on ticalc.org). I eventually taught myself how to make games.

I've read about 6-7 different asm tutorials and haven't understood any of them. (maybe it's my laziness  :Ptongue.gif )

Hopefully someday i'll be patiant enough to learn.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)