Author Topic: Mistakes made in the ASM tutorials  (Read 24456 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2988
  • Rating: +445/-10
    • View Profile
Mistakes made in the ASM tutorials
« on: May 02, 2010, 02:49:57 pm »
Hi, guys,

Apparently the link to the ti83plus.inc file I gave you provides you a file that doesn't work with SPASM.  Here's a new file that works with SPASM.  Just make sure to change the file name in your code, or change the name of the file itself.

Also, in the example programs, TABS ARE REQUIRED.  In other words, if a line is indented, please indent it.  If it isn't indented, DON'T indent it.
« Last Edit: May 15, 2010, 07:50:48 pm by Hot_Dog »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #1 on: May 03, 2010, 04:30:28 am »
Will it work with TASM and others? If not, you may want to warn users of other IDEs and compilers about that, altough I guess your tutorial is probably mostly aimed towards Spasm users

Offline Hot_Dog

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2988
  • Rating: +445/-10
    • View Profile
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #2 on: May 03, 2010, 04:46:47 am »
Quote
Will it work with TASM and others? If not, you may want to warn users of other IDEs and compilers about that, altough I guess your tutorial is probably mostly aimed towards Spasm users

Unfortunately, since I've only done ASM for less than a year (and have had terrible personal problems with TASM) I lack the knowledge to describe what works and what doesn't.  However, I do agree with you that I can at least warn people that the particular version of ti83plus.inc works particularly with spasm

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #3 on: May 03, 2010, 04:54:38 am »
I might be too old skool XD

Back when I tried learning ASM (all 3 attempts), Spasm did not even exist. In fact, Spencer wasn't even Revsoft staff yet and RevSoft didn't exist altogether during my first attempt. Latenite, Brass and EarlyMorning, from MaxCoderz, were not even started yet either. TASM/devpac8x and the TI-83+ SDK was all we had to develop on calcs.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #4 on: May 03, 2010, 07:27:11 am »
You poor, poor soul. :)
I've tried TASM and don't really care for it. Nowadays I use Brass. I may try SPASM once revsoft is back up and I can download it.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #5 on: May 03, 2010, 01:20:17 pm »
Yeah those old days were kinda hectic about starting up in ASM. So many people kept asking help about that "No END directive before EOF" error even when their code was right and had to add an additional linebreak after their code due to a TASM bug x.x.

It doesn't matter much anymore, though, cuz I pretty much gave up on ASM, seeing as the language is just not for me (altough I wonder if Hot Dog tutorial could give me another chance at it?), so I stuck with TI-BASIC for my entire 9 years in calc programming and recently ventured into Axe. That said, even if I knew ASM a bit, I got told by Iambian himself that making a RPG in ASM is a major hassle because of all the data and large size and that it is why so many ASM RPG projects died in the past. So not only ASM is not suitable for me but it's also not suitable for what kind of game I usually did x.x

Offline Hot_Dog

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2988
  • Rating: +445/-10
    • View Profile
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #6 on: May 03, 2010, 01:38:53 pm »
Quote
It doesn't matter much anymore, though, cuz I pretty much gave up on ASM, seeing as the language is just not for me (altough I wonder if Hot Dog tutorial could give me another chance at it?), so I stuck with TI-BASIC for my entire 9 years in calc programming and recently ventured into Axe. That said, even if I knew ASM a bit, I got told by Iambian himself that making a RPG in ASM is a major hassle because of all the data and large size and that it is why so many ASM RPG projects died in the past. So not only ASM is not suitable for me but it's also not suitable for what kind of game I usually did x.x

I'm flattered  ;)

Anyways, if you were willing to make ASM rpgs if they were easy to do, maybe there's an engine somewhere?  Or if not, maybe you can use bits and pieces from projects--like tilemap routines--to create your own engine, and then "fill in the blanks," and then the rest is just data.  It won't be as good as making a fresh RPG, but it would still allow you to do more than a Ti-Basic RPG.  Actually, if I wasn't seriously considering giving up on calcs after S.A.D., I noticed the S.A.D. engine allowed easy transference to RPG so I was looking into creating one myself.

With all that said, I agree by a long shot that Ti-Basic RPGS are much easier to do.  I think that this is partially because you know you have limits in Ti-Basic, but when it comes to ASM, you have so much you can do that you find it hard to limit yourself.  I doubt that an ASM text-based RPG would be too much harder to write than a Ti-Basic text RPG.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Important Information about Hot Dog's Tutorial Number 4
« Reply #7 on: May 03, 2010, 01:44:41 pm »
Nah the tilemapper isn't a big issue. I heard the major issue was when it came to making the menu and adding all the text. Engine-wise, RPG making was apparently OK. It's just all the game-speficic stuff that was insane. Iambian, who worked on two RPGs so far (Final Fantasy 1 in 2003, which he never finished, and E:SoR, which is still in the works), even recommended me to either stick to TI-BASIC for a calc RPG or to use an hybrid of ASM programs (example, walking engine, fetching its data from BASIC stuff) and BASIC (and xLIB/Celtic) or simply stick to TI-BASIC altogether (since accessing BASIC variables in ASM is apparently tricky)

Offline Hot_Dog

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2988
  • Rating: +445/-10
    • View Profile
Re: Mistakes made in the ASM tutorials
« Reply #8 on: May 15, 2010, 07:51:59 pm »
Mistake in Lesson 10: In binary, 7 = 00000111, not 00001111.  Also, 6 should equal 00000110, not 00001110.
« Last Edit: May 15, 2010, 09:03:03 pm by Hot_Dog »

Offline Madskillz

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 488
  • Rating: +32/-2
    • View Profile
Re: Mistakes made in the ASM tutorials
« Reply #9 on: May 15, 2010, 08:11:54 pm »
Apparently 15 is the answer to everything huh?

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Mistakes made in the ASM tutorials
« Reply #10 on: May 15, 2010, 08:48:01 pm »
Funny, I thought it was 42...
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Mistakes made in the ASM tutorials
« Reply #11 on: May 15, 2010, 09:15:35 pm »
That would be the answer to the universe, life, AND everything :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Mistakes made in the ASM tutorials
« Reply #12 on: May 15, 2010, 09:22:35 pm »
I can has latest SPASM compatible ti83plus.inc file?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55914
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Mistakes made in the ASM tutorials
« Reply #13 on: May 15, 2010, 10:32:31 pm »
It's the one in the first post, attached at the bottom, I think.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Mistakes made in the ASM tutorials
« Reply #14 on: May 15, 2010, 10:35:52 pm »
But, is that the latest? I know that the include file I have is about a year old.
Are there any new commands or B_CALL's that have been included?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm