Author Topic: Where to get some good ASM Tutorials  (Read 19998 times)

0 Members and 1 Guest are viewing this topic.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Where to get some good ASM Tutorials
« on: May 07, 2006 »
I found a webpage with some good tutorials about asm:

http://www.dd.chalmers.se/~f99laan/3d/download.html

Take a look at "General graphics tutorials..." section.

The tutorial by Adam's is very good, one of the best.

http://www.dd.chalmers.se/~f99laan/3d/www-download/asmtuts.zip


Enjoy :)


[Edited: Attached asmtuts.zip to this post]
« Last Edit: March 01, 2010 by rbz »
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Where to get some good ASM Tutorials
« Reply #1 on: May 07, 2006 »
Thanks for the links!
What assembler do you use for your tiny stuff?
I wouldn't mind having a go at making something.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #2 on: May 07, 2006 »
@Shockie: You might be able to do some of them with the inline ASM in FreeBasic dude.

Cheers for the links Rbraz buddy :D
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Where to get some good ASM Tutorials
« Reply #3 on: May 07, 2006 »
For 1K tentacle I have used T0A - The 0ok Assembler by Null OK, its nice and simple assembler capable to compress the final executable.

But now I'm using Flat Assembler much better and friendly, FASM have a simple IDE that help alot when you need to find errors in your code.

And they are free!
 
 
 
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Where to get some good ASM Tutorials
« Reply #4 on: May 08, 2006 »
Thanks mate, I'll use the flat assembler I think.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Phoenix

  • C= 64
  • **
  • Posts: 99
  • Karma: 4
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #5 on: June 20, 2006 »
Thanks for the links Rbraz, I'm giving FASM a shot right now, following the tutorial. ASM is pretty tricky but I'm starting to get the hang of it :)

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Where to get some good ASM Tutorials
« Reply #6 on: June 25, 2006 »
No problem dude :)

I found another tutorial that will help with fasm.

http://sulaiman.netadvant.com/sulaiman.zip


The autor have translated some of the Iczelion's Assembly Tutorial into fasm.

Enjoy!


[Edited: Attached sulaiman.zip to this post]
« Last Edit: March 01, 2010 by rbz »
Challenge Trophies Won:

Offline Steve Elliott

  • ZX 81
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #7 on: March 03, 2007 »
rbraz, what do you think of MASM32?
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express, Windows Vista Home Premium
Samsung NC10 Intel Atom @ 1.60Ghz, 2Gb RAM, Intel 945 Express, Windows XP Home Edition
Scorpions's coming...

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Where to get some good ASM Tutorials
« Reply #8 on: March 03, 2007 »
Isn't Masm the assembler that imitates C style instructions?
I don't know anything about it, except that if you were looking to write some 1kb style stuff, that T0A is probably the one to go for, I think that's what Rbraz used to write Tentacle.

Then again, it is possible to write some very small stuff using C.

http://www.intro-inferno.com/production.php?id=1688

Shows a 256byte C program, although it is said that the same program is possible in 128b with asm. But it does go to show that you don't necessarily need to use asm to get a small file.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Steve Elliott

  • ZX 81
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #9 on: March 03, 2007 »
Yes MASM has some C style instructions that are the equivalent of jmp and cmp etc (so no loss in speed).

I'm looking to have a go at assembly for speed, compactness and because it's something I haven't done before!  I'm not too bothered about fitting everything into 1K - I was just impressed by the 1K demo.

[Edit]
After a quick test FASM seems easier to use.
« Last Edit: March 03, 2007 by Steve Elliott »
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express, Windows Vista Home Premium
Samsung NC10 Intel Atom @ 1.60Ghz, 2Gb RAM, Intel 945 Express, Windows XP Home Edition
Scorpions's coming...

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Where to get some good ASM Tutorials
« Reply #10 on: March 03, 2007 »
Any questions you get, please feel free to post them, there are at least half a dozen people here who will be able to help with most stuff.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Steve Elliott

  • ZX 81
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #11 on: March 03, 2007 »
Cool.  I'm coding in Cobra mainly - but I'm definitely looking to try and get something running in asm.
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express, Windows Vista Home Premium
Samsung NC10 Intel Atom @ 1.60Ghz, 2Gb RAM, Intel 945 Express, Windows XP Home Edition
Scorpions's coming...

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Where to get some good ASM Tutorials
« Reply #12 on: March 03, 2007 »
rbraz, what do you think of MASM32?
Hello Steve, welcome aboard!

I use MASM32 too, it's really good choice, you can emulate "High Level Syntax" (.if .else .while .repeat etc..) that make your code more readable.

You can try FASM, I just love it, very simple IDE to use that help a lot, you can make Windows or DOS (16 / 32 / 64 bits) programs.
All my others 1kb are coded in FASM.

 :cheers:
Challenge Trophies Won:

Offline Steve Elliott

  • ZX 81
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #13 on: March 03, 2007 »
Thanks rbraz - have you written any tutorials here?  I think the basics of assembly are ok - but the graphics and sound need a few tutorials to help a noob.

Have you seen the San Angeles Observation 4K demo?  That's a really inspiring demo which uses Opengl and asm like your 1K demo.
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express, Windows Vista Home Premium
Samsung NC10 Intel Atom @ 1.60Ghz, 2Gb RAM, Intel 945 Express, Windows XP Home Edition
Scorpions's coming...

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Where to get some good ASM Tutorials
« Reply #14 on: March 04, 2007 »
Quote
have you written any tutorials here?
No, sorry, I'm bad writing tutorials, but I can help if you got stuck with something

Quote
Have you seen the San Angeles Observation 4K demo?
Yeah, really good

Here's one that use directx -> http://www.pouet.net/prod.php?which=29823

Challenge Trophies Won:

Offline Steve Elliott

  • ZX 81
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #15 on: March 04, 2007 »
That demo doesn't work rbraz - it gives an error as you click on the program.
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express, Windows Vista Home Premium
Samsung NC10 Intel Atom @ 1.60Ghz, 2Gb RAM, Intel 945 Express, Windows XP Home Edition
Scorpions's coming...

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Where to get some good ASM Tutorials
« Reply #16 on: March 04, 2007 »
Shame, hitch's demo works on here.
Maybe you need to update your directx?

Anyway, there are lots of examples of small intros if you can't get this to work so I wouldn't worry.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Where to get some good ASM Tutorials
« Reply #17 on: March 04, 2007 »
By the way Steve, I was thinking about sound in assembler, you could use ufmod, it's really small and it has the capability to work with Masm and fasm.

ufmod

If you are going to try and make sound in a 1kb or a 4kb, you'll have to write some kind of synth.
Saida posted a 1kb softsynth in masm here;

Saida's Synth.

Also, this may be of interest to you as well.
Speech in 1kb

Again by Saida.

Sorry I didn't think of these last night, I was brain dead from too much celebrity tv.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Steve Elliott

  • ZX 81
  • *
  • Posts: 23
  • Karma: 1
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #18 on: March 04, 2007 »
Thanks Shockwave - just need some spare time to get my head around it all now.
Intel Core2 Duo E7200 @ 2.53Ghz, 3Gb RAM Intel G45 Express, Windows Vista Home Premium
Samsung NC10 Intel Atom @ 1.60Ghz, 2Gb RAM, Intel 945 Express, Windows XP Home Edition
Scorpions's coming...

Offline Agent Smith

  • ZX 81
  • *
  • Posts: 24
  • Karma: 3
    • View Profile
Re: Where to get some good ASM Tutorials
« Reply #19 on: March 19, 2007 »
 :P
« Last Edit: April 03, 2007 by Agent Smith »