Author Topic: ASM Help/Tutorials  (Read 9300 times)

0 Members and 1 Guest are viewing this topic.

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
ASM Help/Tutorials
« on: May 26, 2009, 04:47:58 pm »
??? is there a site with REALLY good asm tutorials? cuz i tried asm in 28 days and asmguru, but i just couldnt get it. I like having example programs to see why the code works and some examples to show it, not just how it works and "go make it urself my tut doesnt need to give n00bs like u ex. prgms!!!"
I didnt really finish asmguru, but i learned practically NOTHING for 28 days ::)! I learned more from the example program that comes with OTBP++ than I learned anywhere else! I either need a personal tutor, or a really good tutorial.
Some specs:
>I usually use OTBP++ (its oncalc) but I have used TASM once because i couldnt find a download link to SPASM.
>The only programs I ever made was a hello world one a couple of times and i tried to make a DCS header but i dont know how.

I need help  :'(. Some of you might see me as a n00b, but that really wont help make me 1337 like you  :P. anyone that might be able to help, I love you  :-*.

Split from scripts and code snippets- simplethinker
« Last Edit: May 26, 2009, 05:08:15 pm by simplethinker »
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: ASM Help/Tutorials
« Reply #1 on: May 26, 2009, 04:57:16 pm »
I split this into a new topic since it didn't really fit with "scripts and code snippets" and we'll eventually need (or end up with) a generic "ASM tutorial" thread anyways.

Skuller:  How far into ASM in 28 days did you get?  Days 1-5 are usually some of the trickiest.  What I did was (after a few failed attempts at thoroughly reading everything) read/skim through them and go on to the other days.  Almost immediately I started having moments where stuff from days 1-5 suddenly made a lot more sense.

[edit] You could also look through UTI's Asm tutorials thread (I haven't looked through in a while, so I don't remember everything in it).

Some other places with tutorials/info:
z80 Heaven
Z80 Assembly (by CoBB)
Some (Z80) Assembly Required (by Iambian)
« Last Edit: May 26, 2009, 05:08:26 pm by simplethinker »
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: ASM Help/Tutorials
« Reply #2 on: May 26, 2009, 05:01:18 pm »
Oh... I skipped them and then stuff made alittle sense but i didnt learn very much. I really like example programs, its just the way I work...
« Last Edit: May 26, 2009, 05:08:41 pm by simplethinker »
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: ASM Help/Tutorials
« Reply #3 on: May 26, 2009, 05:06:48 pm »
Oh... I skipped them and then stuff made alittle sense but i didnt learn very much. I really like example programs, its just the way I work...
What day did you get up to?  Also, could you say what aspects are confusing you?  Asm is a wide topic so it might help to narrow down the field.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: ASM Help/Tutorials
« Reply #4 on: May 26, 2009, 05:13:30 pm »
I finished it. There isn't really a specific place that I'm not completely sure about, except I'm pretty comfortable with .db and Bcalls
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Re: ASM Help/Tutorials
« Reply #5 on: May 26, 2009, 06:41:41 pm »
What example programs are you looking for exactly? Do you just want to be able to compile the code he provides, or what? Try to be a little more specific.

Also, spend more than one day on a lesson that is proving to be difficult. You want to learn everything inside-out. Don't just gloss over anything. To be a good assembly programmer you really need to know the internals; you can't just fudge your way through because that will just add to your frustration.

I really recommend SPASM to you, that's your best bet for an assembler. TASM really doesn't cut it. I realize RevSoft crashed, so I contacted someone and retrieved a copy of the source. If you need a SPASM binary, or the source, then just PM me.

You could get by if you skipped Week 3, but I don't recommend it because it is good stuff to know.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: ASM Help/Tutorials
« Reply #6 on: May 26, 2009, 06:50:04 pm »
I need a  SPASM download, but other than that, I'll try the tutorial one more time, and if that doesn't work, I'm gonna need a tutor. Maybe I could take a programming class online or something, because I also want to learn flash a bit.
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: ASM Help/Tutorials
« Reply #7 on: May 26, 2009, 07:10:55 pm »
z80 heaven was really helpful for me, and once I started understanding it, I was able to understand ASM in 28 days MUCH MUCH more. I just use TASM... but thats because I didn't know about SPASM :P
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: ASM Help/Tutorials
« Reply #8 on: May 26, 2009, 07:14:26 pm »
ill try that thanks
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: ASM Help/Tutorials
« Reply #9 on: May 27, 2009, 10:04:56 am »
z80 heaven was really helpful for me, and once I started understanding it, I was able to understand ASM in 28 days MUCH MUCH more. I just use TASM... but thats because I didn't know about SPASM :P
I have to check the beginner tutorials...

ASM in 28 days was good to me. An hard bone but as soon you catch it, it starts to everything make sense.
I think it has parts that could be better explained and exemplified... (one in specific occurs into mind)
Hobbing in calculator projects.

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
Re: ASM Help/Tutorials
« Reply #10 on: May 27, 2009, 03:07:23 pm »
Someone needs to write an ASM tutorial that goes more in depth in terms of programming games instead of just explaining the technical stuff. Something in the same style than TI-Freakware BASIC tutorials, but ASM-related

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: ASM Help/Tutorials
« Reply #11 on: May 27, 2009, 04:38:45 pm »
Someone needs to write an ASM tutorial that goes more in depth in terms of programming games instead of just explaining the technical stuff. Something in the same style than TI-Freakware BASIC tutorials, but ASM-related
Well, the best way to learn ASM is to understand all the technical stuff.
Learning by making games in ASM from the beginning wouldn't be a good practise. But it should have more documentation for who want to do games (get external levels, compression, routines, tips on getting an engine working, etc..)
z80-heaven would be a good site to place this.
Hobbing in calculator projects.

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
Re: ASM Help/Tutorials
« Reply #12 on: May 27, 2009, 04:42:32 pm »
Yeah I know but it's good to have better source code examples, like TI-Freakware tutorials. Just meaningless piece of code isn't too helpful, as the code still need to figure out a lot of stuff himself, but again that depends of point of views. Personally I don't work the way ASM 28 days wants us to work. But again I just can't get the grasp of anything more complex than TI-BASIC except maybe Visual Basic, to a certain extent. Even then, in VB i spent 2 months trying to fix a bug once that was something really simple

Even then, All ASM tutorials were written for people who have experience in something else than TI-BASIC, so basically if you never coded anything else before, you will have an hard time learning ASM. ASM in 28 days even states it was not written for people with experience only in TI-BASIC. What the TI community needs is an ASM tutorial written exclusively for TI-BASIC programmers, especially those who coded TI-BASIC for over a year
« Last Edit: May 27, 2009, 04:46:35 pm by DJ Omnimaga »

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Re: ASM Help/Tutorials
« Reply #13 on: May 27, 2009, 08:18:13 pm »
Someone needs to write an ASM tutorial that goes more in depth in terms of programming games instead of just explaining the technical stuff. Something in the same style than TI-Freakware BASIC tutorials, but ASM-related
Well, the best way to learn ASM is to understand all the technical stuff.
Learning by making games in ASM from the beginning wouldn't be a good practise. But it should have more documentation for who want to do games (get external levels, compression, routines, tips on getting an engine working, etc..)
z80-heaven would be a good site to place this.
You're talking about some pretty advanced things right there. External levels are usually just programs or application variables, and ASM in 28 days teaches you how to search the VAT and look for things of that sort. Compression is a whole different story, and really application specific. If you want to implement compression then you should already know of the common techniques: RLE, LZ77/LZSS, LZ78/LZW, Huffman, etc. Now getting an "engine" working is a different story. There really is no such thing as an "engine". Of course you could throw some object messaging systems into your game, etc., if you want to, and you should be able to if you understand ASM and what you are trying to do.

Basically what I'm trying to say is that if you understand ASM, then you should be able to expand into all those topics yourself, or look up programs to study, etc. Tutorials don't touch on those topics because then it would just become too exhaustive and application-specific.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: ASM Help/Tutorials
« Reply #14 on: May 28, 2009, 12:55:44 pm »
Basically what I'm trying to say is that if you understand ASM, then you should be able to expand into all those topics yourself, or look up programs to study, etc. Tutorials don't touch on those topics because then it would just become too exhaustive and application-specific.
Yeah, is true that understanding a language, it is only a matter of time coding to implement all you imagine. (depends on what you know in other areas and even with that, almost)

But if you are in the stage (like me) that knows asm but just need experience in implementing things, a guide could really help. That or seeing some code of other games source...

@DJ I only knew TI-BASIC and learnt successfully asm. But maybe I just have a more open mind to really new stuff. It was hard though. In the first 2 passes of ASm in 28 days, I didn't understand all.
For the engine, I mean more general coding of games...
Hobbing in calculator projects.