Omnimaga

Omnimaga => Completed => Our Projects => Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner => Topic started by: Hot_Dog on April 25, 2010, 10:44:12 pm

Title: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 25, 2010, 10:44:12 pm
Please feel free to use this forum for any questions, feedback or discussion concerning the tutorials on "Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner".  I welcome all forms of feedback.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on April 25, 2010, 11:34:22 pm
This is not specifically for the tutorial itself, but since it is calc programming related, would you like a sub-forum for this project?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 25, 2010, 11:43:46 pm
That would be nice!  Thanks a lot!  If you could put both the discussion section and the lessons section in the same sub forum, that would be a great aid.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on April 26, 2010, 12:06:02 am
Ok there we go. Moving all topics in the brand new sub-forum now
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 27, 2010, 02:25:57 pm
I noticed few people downloaded the second tutorial.  There may be good reason, but I wanted to make sure everyone knew it's up, in the main topic.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on April 27, 2010, 03:21:41 pm
oh i didnt have much time to read it yet, since I'm always at work or busy on other stuff x.x

Downloaded now for later
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: jsj795 on April 28, 2010, 10:34:56 am
i wasn't on my home computer (that has the printer) last two days, so I wasn't able to download it. probably I'll do it today
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: miotatsu on April 28, 2010, 06:40:41 pm
could you make text/document versions as well as the pdfs by any chance? :{O
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 28, 2010, 07:13:00 pm
could you make text/document versions as well as the pdfs by any chance? :{O

Not text, but I'll certainly do document versions
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on April 28, 2010, 07:18:02 pm
the issue with doc, tho, is the lower compatibility than PDFs. Text would be nice for people who don't have enough admin priviledges to install a doc/pdf reader on school computers that has no USB port tun run portable softwares from. Else, an alternative would be online version of the tutorials in HTML format.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 28, 2010, 09:01:50 pm
Ah, HTML.  I forgot I could put those up here.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: jsj795 on April 28, 2010, 10:04:52 pm
I just finished reading the second lesson. That I was able to understand perfectly!! It was a great tutorial. With learn asm in 28 days I was like, what's register? Now I understand how it works. What I especially like about your tutorial is that it's really fun to read it. Adding those cartoons sure make me laugh :) great job and keep up the good work
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 28, 2010, 10:19:19 pm
I just finished reading the second lesson. That I was able to understand perfectly!! It was a great tutorial. With learn asm in 28 days I was like, what's register? Now I understand how it works. What I especially like about your tutorial is that it's really fun to read it. Adding those cartoons sure make me laugh :) great job and keep up the good work

Thanks for saying something, jsj!  That's the one tutorial I was worried about, so I'm now at 100% confidence for the rest of the tutorials.  You definitely deserve a +1 for making my day
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: jsj795 on April 28, 2010, 10:36:37 pm
Lol thanks for the +1 and yeah i hope to see more lessons and who knowz i might be able to be more like calc84 one day :D I especially liked the RAM and CPU and register diagram
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on April 30, 2010, 12:28:05 am
Lol I just took a quick look at Lesson 3, and I wonder if for early BASIC programmers, Axe Parser couldn't act as some sort of bridge towards ASM? Some of the pointer stuff seems pretty similar to Axe. Of course, in lower level but still pointers/memory addresses

It seemed pretty well explained btw. It might be good to specify how much RAM exactly in total the 83+ has, though.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on April 30, 2010, 12:53:02 am
Lol I just took a quick look at Lesson 3, and I wonder if for early BASIC programmers, Axe Parser couldn't act as some sort of bridge towards ASM? Some of the pointer stuff seems pretty similar to Axe. Of course, in lower level but still pointers/memory addresses


Well, I'm pretty sure that Quilbo Quigibo (forgive the spelling) had that in mind...

(EDIT by Mapar: fixed  :P )

Quote
It might be good to specify how much RAM exactly in total the 83+ has, though.

Perhaps...but my goal is not to explain beyond the unnecessary.  Besides, I didn't do my homework (metaphorically), so I don't know how much the 83+ actually has.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on April 30, 2010, 04:20:46 pm
Aaah ok. Well, Idk if Quigibo goal was to do a bridge towards ASM, though. I think it can make ASM easier to understand, but he made this language mostly so people can create games easier and faster. I often heard about RPG and the like taking years to complete in ASM. Just Desolate, which is 2 hours long and was worked on day and night, took over a year to be finished completly.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 01, 2010, 09:57:01 am
Hot_Dog, why is the .org statement given as a base-10 number? Wouldn't it be more effective just to use hex, since that's what will be used later anyway? Or do you plan to change it eventually?
Edit: I am, of course, referring to Lesson 4
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 01, 2010, 11:10:44 am
Ok I just saw tutorial 4 released, will check it soon :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: klebue on May 01, 2010, 11:30:03 am
In tutorial 2 you might want to give the right answer for computation 4 ;)
Apart from that I like you tutorials a lot!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 01, 2010, 02:12:59 pm
Quote
In tutorial 2 you might want to give the right answer for computation 4


Opps, I never noticed that one!  Thanks

Quote
Hot_Dog, why is the .org statement given as a base-10 number? Wouldn't it be more effective just to use hex, since that's what will be used later anyway? Or do you plan to change it eventually?
Edit: I am, of course, referring to Lesson 4

I'll be talking about Hexadecimal numbers when I talk about registers in pairs, and then I'll switch the .org to base-16.  In the mean time, however, I'm trying to give these lessons a slow, easy-to-work-with pace, so I felt there was little need to work with base 16 for the time being.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Levak on May 01, 2010, 07:00:34 pm
Hi,
I read all the lessons an I'm really eager ! This is awesome man

Thus... now THE question that I think everybody wants to get an answer

Lesson 4 Page 7 :
Quote
By the way, H and L can be used as a pair. Since H = 0 and L = 6, HL =
06, meaning HL = 6. For the time being, don’t take this and run with it:
if H = 1 and L = 7, HL DOES NOT equal 17.

What is HL egual ? :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: TIfanx1999 on May 01, 2010, 07:08:33 pm
23
*Edit* actually I take that back, it would be 263. Just woke up, still half asleep. X_X
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 01, 2010, 08:07:12 pm
23
*Edit* actually I take that back, it would be 263. Just woke up, still half asleep. X_X

I should probably put that answer in the tutorial.  Of course, soon enough, I'll explain what goes on
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 07:06:17 am
On my side of things, I've gotten a lot of errors when trying to compile your programs.
I haven't compile a program yet.

This error is the culprit:

ti83plus.inc:51: error: Can't recognize 'EQU' as an instruction or macro
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Eeems on May 02, 2010, 10:41:31 am
What compiler are you using?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 12:26:51 pm
SPASM.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 01:31:20 pm


On my side of things, I've gotten a lot of errors when trying to compile your programs.
I haven't compile a program yet.

This error is the culprit:

ti83plus.inc:51: error: Can't recognize 'EQU' as an instruction or macro

Put these four lines at the beginning of ti83plus.inc:

#define EQU .EQU
#define equ .EQU
#define db .DB
#define DB .DB

I will need to tell everyone else in the tutorial to do the same thing.  I think that Texas Instruments originally wrote this file for a different compiler
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 02:07:43 pm
ti83plus.inc:79: error: Can't recognize 'macro' as an instruction or macro
ti83plus.inc:80: error: RST doesn't take these arguments

These also come up.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 02:14:11 pm
Try this one.  Assuming it works, I'll change the link to where everyone can get it.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 02, 2010, 02:21:32 pm
Bad TI :(
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 02:21:33 pm
test.asm:4: error: Can't recognize '_ClrLCDFull' as an instruction or macro
test.asm:5: warning: redefinition of 'LD'
ti83plus.inc:1361: warning: previous definition of 'LD' was here
test.asm:5: error: Can't recognize 'a' as an instruction or macro
test.asm:6: error: Can't recognize 'a' as an instruction or macro
test.asm:7: warning: redefinition of 'LD'
ti83plus.inc:1361: warning: previous definition of 'LD' was here
test.asm:7: error: Can't recognize 'h' as an instruction or macro
test.asm:8: warning: redefinition of 'LD'
ti83plus.inc:1361: warning: previous definition of 'LD' was here
test.asm:8: error: Can't recognize 'l' as an instruction or macro
test.asm:9: warning: redefinition of 'B_CALL'
test.asm:4: warning: previous definition of 'B_CALL' was here
test.asm:9: error: Can't recognize '_DispHL' as an instruction or macro
test.asm:10: warning: redefinition of 'B_CALL'
test.asm:4: warning: previous definition of 'B_CALL' was here
test.asm:10: error: Can't recognize '_getKey' as an instruction or macro
test.asm:11: warning: redefinition of 'B_CALL'
test.asm:4: warning: previous definition of 'B_CALL' was here
test.asm:11: error: Can't recognize '_ClrLCDFull' as an instruction or macro
Pass two...
Done

I think this is because the one I have is for 2002 and yours is 2001.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 02:24:45 pm
Can I see your test.asm?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 02:27:11 pm
#include "ti83plus.inc"
.org 40339
.db t2ByteTok, tAsmCmp
B_CALL _ClrLCDFull
ld a,7
add a,4
ld h,0
ld l,a
B_CALL _DispHL
B_CALL _getKey
B_CALL _ClrLCDFull
ret
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 02:29:13 pm
For starters, everything line after .db must be at least one space away from the beginning of the line.  That's why almost every line of code in the example is tabbed.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 02:32:22 pm
Works.

Testing with the newer ti83plus.inc.
Will edit.

New ti83plus.inc with the #define lines added in: FAILED.

ti83plus.inc:79: error: Can't recognize 'macro' as an instruction or macro
ti83plus.inc:80: error: RST doesn't take these arguments
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 02:44:33 pm
I hope you're talking about the one downloaded from the Ti-Website and not the new one I provided.  If that's the case, I'll give everyone the new link.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 02:48:15 pm
Yeah.
The new ti83plus.inc I speak of is the one downloaded from TI's site.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on May 02, 2010, 04:06:00 pm
http://brandonw.net/calcstuff/ti83plus.txt (http://brandonw.net/calcstuff/ti83plus.txt)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 02, 2010, 07:04:43 pm
Uhm.

Is the entire file supposed to display when I try to compile?
0.o

I think it would be best to answer this question.
If I use the 2001 version, what is the difference? I mean, are there updated commands or something?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 09:02:37 pm
Can you be more specific?  Are you compiling a different example?  Are you trying to use a different version?

Here's the thing:  The versions of ti83plus.inc created by Texas Instruments are not compatible with spasm.  The version I uploaded, and I'm pretty sure the version calc84maniac uploaded, were made to work with spasm.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on May 02, 2010, 09:29:20 pm
The one most likely to work with SPASM is the copy on revsoft.org. Unfortunately, that is inaccessible at the moment.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 02, 2010, 10:42:17 pm
Are there any other copy available somewhere else? Otherwise it might be good that somebody uploads a copy somewhere, even if just rapidshare for now.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 02, 2010, 10:54:16 pm
Well we do have the file on this site.  Otherwise you can go here:

http://code.google.com/p/seekanddestroy/source/browse/#svn/trunk/Outside Functions

The file is toward the bottom of the list.  When I finalize the tutorials, I'll link to this site.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 02, 2010, 10:56:11 pm
Ok good :)

I hope the RS issue can be sorted out. They are unable to reach the hoster, KevinJB/Rezek x.x
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: tr1p1ea on May 03, 2010, 10:12:09 pm
Looking good, i only skimmed over it but i like the layout.

And i ROFL'd at the picture of the bunny rabbit :D.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 03, 2010, 10:24:26 pm
^++
Agreed and seconded.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 03, 2010, 11:10:19 pm
Btw Hot_Dog I like your sig ;D

However, for some reasons, it reminded me that topic ;D (http://ourl.ca/3728)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 03, 2010, 11:13:47 pm
Btw Hot_Dog I like your sig ;D

However, for some reasons, it reminded me that topic ;D (http://ourl.ca/3728)

Lol
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 03, 2010, 11:35:54 pm
On a side note, I think the PDF are definitively the most popular for the tutorial now. Look at the downloads for the tutorials that got HTML, DOC and PDF. HTML might be lower cuz it's not available as an online website, though.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 06, 2010, 05:18:20 pm
I really like the tutorials Hot Dog!  I've read them so far (1-5) and it's inspired me to give Asm another try.  Yours are really well written and have taught me some stuff that confused me in Asm in 28.  Awesome job!  I can't wait to grab 6 off the printer!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 06, 2010, 05:52:03 pm
I really like the tutorials Hot Dog!  I've read them so far (1-5) and it's inspired me to give Asm another try.  Yours are really well written and have taught me some stuff that confused me in Asm in 28.  Awesome job!  I can't wait to grab 6 off the printer!

Lesson 5 was one I was really nervous about, ztrumpet.  Thanks for the input!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 06, 2010, 06:24:08 pm
I did not even know Lesson 5 was even posted at all. Unfortunately, though, I don't think I will be able to read the tutorial again until the next few months, because I cannot really concentrate well enough to tell if there is anything to improve on the tutorial, especially about ASM.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 06, 2010, 06:28:52 pm
I did not even know Lesson 5 was even posted at all. Unfortunately, though, I don't think I will be able to read the tutorial again until the next few months, because I cannot really concentrate well enough to tell if there is anything to improve on the tutorial, especially about ASM.

Hey, no worries ;)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 06, 2010, 07:30:26 pm
Also suggestion:

It's typical on web forums that when someone posts his updates in a locked topic, but not announcing them in the open discussion, people will forget or not comment. When you post one or two new tutorials, I think you should announce it in this topic too, like Quigibo does with Axe parser downloads
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 06, 2010, 09:41:44 pm
Yeah, you're right about that.

With that in mind, tutorials #6 and #7 are up.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 08, 2010, 02:17:12 pm
I've posted lesson #8.  An html will be coming later, when I can edit it on my "powerhouse" computer instead of my laptop
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 08, 2010, 02:29:18 pm
Yay more updates ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 08, 2010, 07:05:30 pm
For this:
Quote
ld a, 250
ld e, 6
add a, e ; Remember that a cannot be bigger than 255, so it resets to zero
should you say that a is zero b/c 256==0 (mod 256) (or something like that)? because replacing that 250 w/a 253 would make a 3 after the add.
Other than that clarification (maybe) I found that lesson pretty good.
Oh, to answer your question (why ld a,0 doesn't reset the zero flag), IIRC it's because the flags aren't affected by ld (except for ld a,i and ld a,r). You're not performing anything requiring the ALU or doing anything truly requiring the flags in general, so they aren't changed.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 08, 2010, 08:42:44 pm
For this:
Quote
ld a, 250
ld e, 6
add a, e ; Remember that a cannot be bigger than 255, so it resets to zero
should you say that a is zero b/c 256==0 (mod 256) (or something like that)? because replacing that 250 w/a 253 would make a 3 after the add.
Other than that clarification (maybe) I found that lesson pretty good.

Previous lessons explain that going over 255 will reset the number to zero and then continue adding up.  When I talked about 200 + 100, I explained that it would equal 44, so I think the reader will understand that 253 + 6 would be 3.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 11, 2010, 01:59:12 pm
*braces himself for Chapter 9*
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 02:01:02 pm
*braces himself for Chapter 9*

8)  Look for it Thursday or Friday
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on May 11, 2010, 02:02:31 pm
Awesome!
Will you talk about sprites in this one too?

:D :D

ALSO, 400th POST!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 02:08:10 pm
Awesome!
Will you talk about sprites in this one too?


If so, they won't be talked about in the technical sense, like how to display them.  This lesson will be mostly about displaying text.  I know that some people are eager to get to sprites, but if I talk about them too soon, people might get lost, and I certainly don't want that to happen  ::)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 11, 2010, 02:21:37 pm
Btw how many chapters do you think there will be in the final tutorial?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 02:24:16 pm
Btw how many chapters do you think there will be in the final tutorial?

Oh, I'd say somewhere around 50-70
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 11, 2010, 02:27:38 pm
Wow a lot :O, but I think it's better this way than squishing everything in very few page and making it harder to understand in the process.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 02:29:10 pm
Wow a lot :O, but I think it's better this way than squishing everything in very few page and making it harder to understand in the process.

I couldn't have said it better myself :D  For example,  chapters 8 and 9 at first were going to be one chapter, but then I realized I was putting way too much information in for the person who wanted to practice what he learned
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 11, 2010, 04:01:49 pm
I think there were a couple of typos in lesson 7.  Most notably, there was a comment saying '10 times' on a loop where b was 5.

Lessons 7 and 8 were a little harder to follow, but I think this is necessary as they cover some pretty hard stuff. :)
Still, excellent guide! :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 04:07:29 pm
Lessons 7 and 8 were a little harder to follow, but I think this is necessary as they cover some pretty hard stuff. :)
Still, excellent guide! :D

Well, my goal is to make sure that everything, in the end, is understood.  Is there anything in lessons 7 and 8 that's still giving you trouble?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 11, 2010, 04:15:50 pm
Nothing's giving me trouble with yours yet, but once I get to day19 or so of Asm in 28 I can't figure stuff out.

My favorite thing about your guide is how it shows stuff at a lower level than Asm in 28, and it's helping me a lot with certain things in Asm in 28. ;D
(atm, the hardest think for me to understand is getting key-presses from one of the ports, as is covered around day 22.  I'm pretty sure I'll understand it once you explain it on Lesson 65 or so. ;D

I felt like your jumps around a little when you introduced all the registers. =\  Maybe it's just me. ;)

Oh, I forgot to mention this:
Quote
One byte registers are ONLY A, B, C, D, E, H, and L.
What about ixh, ixl, iyh, and iyl?  Can't you use those also if need be?

(Sorry if I'm wrong about anything. :) )
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 04:20:55 pm
Quote
One byte registers are ONLY A, B, C, D, E, H, and L.
What about ixh, ixl, iyh, and iyl?  Can't you use those also if need be?

That's a good calc84maniac or Iambian question, since I'm busy for the rest of the day and can't look those up.  As far as I know you can't use ixh, ixl, iyh and iyl in functions that require a 1-byte register
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on May 11, 2010, 04:37:08 pm
Quote
One byte registers are ONLY A, B, C, D, E, H, and L.
What about ixh, ixl, iyh, and iyl?  Can't you use those also if need be?

That's a good calc84maniac or Iambian question, since I'm busy for the rest of the day and can't look those up.  As far as I know you can't use ixh, ixl, iyh and iyl in functions that require a 1-byte register
You can (but not on Nspire since TI fails). Otherwise we wouldn't even name them -- you don't see sph and spl.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 11, 2010, 05:36:00 pm
Quote
One byte registers are ONLY A, B, C, D, E, H, and L.
What about ixh, ixl, iyh, and iyl?  Can't you use those also if need be?

That's a good calc84maniac or Iambian question, since I'm busy for the rest of the day and can't look those up.  As far as I know you can't use ixh, ixl, iyh and iyl in functions that require a 1-byte register
You can (but not on Nspire since TI fails). Otherwise we wouldn't even name them -- you don't see sph and spl.

Oh, well in that case...however there's no need, Ztrumpet, to mention ixh ixl iyh iyl immediately, especially since unofficially, you have to use h and l anyways to access these four.

By the way, can you explain further why these four registers don't work on the nspire?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 11, 2010, 06:25:54 pm
The Nspire's z80 emulation isn't complete, and many undocumented instructions don't work. Instead, some "invalid" instructions are directions to the emu to do certain things. This is how USB is done in the emulated 84+SE, for example.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 11, 2010, 06:44:10 pm
The Nspire's z80 emulation isn't complete
And it isn't guaranteed it will ever be complete. I wouldn't even be surprised if in future TI-Nspire OS updates, it actually became worse.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 11, 2010, 08:05:49 pm
I'm quite certain TI won't change the emulation. If they do, it will be, well, worse for us, as you said. But I doubt it will change. It will probably just be more inefficient if it does.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 11, 2010, 10:13:46 pm
you don't see sph and spl.
Thanks for answering. :)
Are spl and sph the low and high bytes of sp?  Could these be used if I do enough stuff?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Quigibo on May 11, 2010, 11:35:38 pm
That's not something you would ever want to use unless you're seriously abusing the consequences of its normal use, which I only did once when I tried grayscale double buffering.  The sp register is the location of the stack.  If you change it, you will no longer be able to call or return from subroutines, push or pop variables, and some other nasty things.  Not to mention there's a lot of roundabout code you would have to use to even load stuff to or from it.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 11, 2010, 11:44:07 pm
that sounds bad x.x
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 12, 2010, 12:46:58 am
It is bad  :o

For debugging purposes there are times I wished the Z80 had better methods of accessing the stack pointer
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 12, 2010, 09:12:59 pm
Nah, it's not bad, it's just cumbersome, hard, and slow-ish (nothing's really slow in asm).  I think I'll use this method if I need yet another 8 bit register, but I probably will not. ;D
Thanks for the info! :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Quigibo on May 12, 2010, 09:30:18 pm
If you run out of room, you just use some free ram location.  You have to save the current stack pointer somewhere anyway before you can use it, otherwise the calc will crash becasue it can never return back to the operating system.  If you're not taking advantage of the automated push/pop features that are inherent to the stack pointer, then just use a ram location becasue its smaller and faster in ever way.  Trust me, you'll NEVER use the sp register until you get into the really advanced tricks, and even then you're not using it to store numbers, you're using it as a fast way to read or write to ram.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 12, 2010, 09:37:51 pm
Good point.  I think I'm not going to use sph and spl anywhere. :) Thanks for the tips! ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Iambian on May 13, 2010, 02:38:16 pm
I don't think being able to access the high/low bytes of SP directly is even possible. If you are going to be using SP like some "normal" register, you'd have to keep a few things in mind, some of which was already stated in this thread:
1. You need to save SP somewhere since it's usually important for the stability of the system. Use instructions like "LD (xxxx),SP" (where xxxx is an address) to save SP, and "LD SP,(xxxx)" to recall it again.
2. Interrupts need to be disabled while you're messing with SP. The instruction "DI" is great for that. Interrupts randomly make CALLs. See point # 4 as to why this is bad.
3. There are a few other instructions you can use to mess with SP or deal with it. That's where it starts getting cumbersome. Just let me know if you want to know, either in this thread or via PM.
4. The stack is no longer available (unless you're creating your own miniature stack for some reason). This means that you cannot use PUSH/POP without destroying whatever it is you're working on. Same goes for CALL/RET.

Now... with respect to IXh/IXl ; IYh/IYl. A simple way to remember where you can use them is... wherever using H or L is a valid option, you can use the combination above. Except when the instruction calls for the use of HL or IX/IY as well. As stated in an earlier part of the thread, none of these combinations will work on the Nspire since these uses are "unsupported" instructions. Also, the OS uses IY for its own purposes and expects that register to be the same when the program exits. So be sure to save IY as well. Or if you happen to know what's loaded to IY (it is some constant), load that value instead (saves time).

And as stated (somewhere) above, only use these combinations if you absolutely know what you're doing. Their use is more like a last resort than anything else.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 13, 2010, 02:43:05 pm
Lol, ztrumpet, you're getting too far ahead of yourself.

ASM Gorillas will probably use ix and MAYBE iy, but not ixh ixl iyh iyl, and certainly not SP directly.  I'm leaving some of that stuff (including interrupts) for people who want to read ASM in 28 days for more info.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on May 13, 2010, 04:12:09 pm
Yeah, when I said you never see sph and spl, I meant that literally. You cannot access the individual bytes.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 13, 2010, 05:25:31 pm
Lol, ztrumpet, you're getting too far ahead of yourself.
Lol, I know.  It's fun to learn, right.  In fact, I thought of everything in Iambian's post except for #3.

It's basically impossible, then, right.  Still, it's fun to know that I can almost understand what Asm might be able to do. :)
Thanks for this!  I'm learning a lot just about how to approach problems!  ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 13, 2010, 06:53:34 pm
*DRUM ROLL*

Lesson 9 is up in all three formats.  Also, lesson 8 .html is up.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 13, 2010, 08:11:31 pm
in lesson 9, i noticed that in your first example using _PutS, you left out the underscore.
Hurray for typos...
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: jsj795 on May 13, 2010, 08:30:35 pm
just printed them out! Thanks Hot Dog for these awesome tutorials! They are really helping me understand ASM!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 13, 2010, 09:43:31 pm
in lesson 9, i noticed that in your first example using _PutS, you left out the underscore.
Hurray for typos...

Agh, sooner or later, I'm going to make a typo as bad as the one the writer of "ASM 28 Days" made in the sprite routine 8)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 13, 2010, 09:49:47 pm
in lesson 9, i noticed that in your first example using _PutS, you left out the underscore.
Hurray for typos...

Agh, sooner or later, I'm going to make a typo as bad as the one the writer of "ASM 28 Days" made in the sprite routine 8)
Can you explain?  Is there a compilation of all Asm in 28's typos?  I don't want to learn wrong. :)
Thanks for mentioning this! ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 14, 2010, 06:00:51 pm
Good news, Raylin!  (Uh, and for everyone else too)  I planned the next few lessons, and it looks like I'll be talking about pictures in lesson #15 and sprites in lesson #17.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 14, 2010, 08:30:08 pm
Glad to see this is still going. When I feel more concentrated I might check the tutorials again. I might find some useful stuff there even if I don't do ASM, since I did when looking at WikiTI for Axe programming
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 15, 2010, 01:43:57 pm
Lesson Number 10 is up.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 15, 2010, 03:46:28 pm
Nice. I see you have decided to introduce hexadecimal.
IIRC, all you can do with af is ex af,af'; push af; and pop af
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 15, 2010, 03:55:43 pm
Quote
IIRC, all you can do with af is ex af,af'; push af; and pop af

That's right, although I'm probably going to talk only about push af and pop af.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 15, 2010, 05:06:59 pm
nice to see more updates ^^

It seems to be progressing quickly :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Quigibo on May 15, 2010, 05:48:15 pm
I know I'm beating a dead horse here, but in case anyone is curious when you actually do use the sp register, I posted a little summary.  I don't want to confuse anyone though, so no need to read this unless you have intermediate experience with assembly.  It would be cool to have a lesson with tricks like these if you get to the advanced lessons (I don't know how far you plan to go since its for absolute beginners)

Spoiler For Spoiler:
Lets say you have a buffer with a bunch of 16-bit numbers you need to read through.  You might have a loop that does this:
Code: [Select]
ld    hl,buffer

Loop:
ld    e,(hl)
inc   hl
ld    d,(hl)
inc   hl           ;In total 26 Clock Cycles
<do something with de>
jp    Loop
Its way faster to use the sp register.  Don't forget to have interrupts disabled.
Code: [Select]
ld    (saveSP),sp
ld    sp,buffer

Loop:
pop   de      ;In total 10 Clock Cycles
<do something with de>
jp    Loop

ld    sp,(saveSP)

Same goes for storing numbers, but you use push instead of pop.  The fastest way to clear the screen for instance is to load a zero into hl and then just push it 384 times when the sp register is on the graph buffer.  That's only 4,224 clock cycles with pushing vs. 16,107 using ldir, which is 21 clocks per byte.  Pushing is nearly 4 times faster in this case!

As you can see, the pattern here is that you usually use sp for speed critical processes becasue its generally a larger routine than the standard methods.  Although, sometimes it is actually smaller when you have all the other registers tied up and you are doing this as an alternative to using a free ram location to hold the pointer.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on May 15, 2010, 07:39:07 pm
Hot Dog, I found a mistake in Chapter 10. You say that 7 = 00001111, when it is really 00000111

Edit:
Also, you said that 6 = 00001110
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 15, 2010, 07:49:39 pm
Hot Dog, I found a mistake in Chapter 10. You say that 7 = 00001111, when it is really 00000111

Edit:
Also, you said that 6 = 00001110

Yeah, you're right.  Thanks for catching those
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 16, 2010, 07:15:14 pm
Quigibo, thanks!  That really shows why to use SP and it's pretty impressive.  Thank you! :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 18, 2010, 05:11:58 pm
Lesson 11 is up.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 18, 2010, 05:19:56 pm
Yay ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 18, 2010, 06:54:33 pm
You forgot the 'N' in _VPutSN in your example on how to use it. Hurray, typos...
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 19, 2010, 12:20:01 pm
For people who are on the edge of their seats for the next few lessons, here's what I have planned up to this point:

Spoiler For Spoiler:

12. Working with Key Presses, Saving Registers
13. ASM Gorillas, Part IV: Adding Key Input to the Menus
14. When your Program Needs More Variable Space, Drawing Full-Sized Pictures
15. ASM Gorillas, Part V: Inputting Player Names, The Splash Screen
16. Working with Bits
17. Drawing Sprites
18. ASM Gorillas, Part VI: The Game Graphics, Loading the Game
19. ASM Gorillas, Part VII: Adjusting the Settings

Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 19, 2010, 12:24:12 pm
:O Nice

I love how this is aimed at game and program development rather than just understanding the concepts of ASM and z80
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 19, 2010, 06:44:26 pm
This is pretty nice!  I like how this is coming so far!  As always, nice work Hot Dog! ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 24, 2010, 05:54:46 pm
Lesson 12 is up.  I didn't have any mochas, so I don't know why I felt the need to be so funny in this lesson.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 24, 2010, 05:58:10 pm
new progress!

Suggestion: Since there are many lessons, you should attack another zip file in the first post that contains every single lesson in one file, so newer members won't need to download each lessons one by one
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 24, 2010, 06:00:37 pm
Quote
Suggestion: Since there are many lessons, you should attack another zip file in the first post that contains every single lesson in one file, so newer members won't need to download each lessons one by one

Hmmm...well, I'm certainly going to do that when all the lessons are done, but maybe I should think about doing that for every new lesson I do.  After all, I need some kind of excuse to do lesson 1 / lesson 2 htmls and docs
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 24, 2010, 06:13:13 pm
maybe at least every two or three, even if it's just the PDF files (that most people download instead of doc/html). I felt when there are like 20 lessons, it will take a ridiculous amount of time for a member to click attachments on each posts/save as/confirm one by one D:
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on May 24, 2010, 07:46:20 pm
Leaving the readers in expectation by saying that direct key input exists w/o saying anything else... How cruel of you. :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 24, 2010, 07:47:25 pm
lol XD I guess it makes the tutorial cool and unique in some ways, though, to have that
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 24, 2010, 10:21:32 pm
Leaving the readers in expectation by saying that direct key input exists w/o saying anything else... How cruel of you. :P

I know ztrumpet is "going to kill me" if I decide not to write Appendix C 8)

I should probably say whilst I remember, the number of lessons is more realistically less than 40.  I figured I should not throw in the kitchen sink, as there are references for people who need them.  (I'm programming in ASM with only 60% of what 28 Days taught).  There will, however, be seven appendixes:

Spoiler For Spoiler:
A. Programming Flash Applications
B. Register Mathematics
C. The Third Method for Detecting Key Presses
D. Other Flags used with JR, JP, CP and RET
E. Impoant Topics Not Covered In the Lessons
F. Functions Every ASM Programmer Should Have
G. Tables

Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 24, 2010, 10:24:47 pm
seems interesting.

Btw, even if I do not have plans to learn ASM in the future, since I am fine with what TI-BASIC/xLIB can do for certain games and Axe for others, I still plan to check your stuff for some references, to know how some stuff work and possibly creating my own small ASM routines for games or other stuff
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 24, 2010, 10:44:10 pm
Quote
Btw, even if I do not have plans to learn ASM in the future, since I am fine with what TI-BASIC/xLIB can do for certain games and Axe for others, I still plan to check your stuff for some references, to know how some stuff work and possibly creating my own small ASM routines for games or other stuff

Chances are, most of the routines you need have been made by someone else.  The lessons will give excellent tips on how to incorporate these.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 26, 2010, 08:16:13 am
I know ztrumpet is "going to kill me" if I decide not to write Appendix C 8)
Probably... ;D (jk)

Thanks for writing these guides!  They've helped me with some little things I never got in AsmIn28.  I like how everything's turning out so far. :D
Will there be a lesson covering the differences between Apps and Programs?  I think this would be useful in your guide. :)

Excellent job so far, Hot Dog. ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 26, 2010, 11:06:12 am

Will there be a lesson covering the differences between Apps and Programs?  I think this would be useful in your guide. :)


Yes, Appendix A will talk about this
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on May 26, 2010, 12:13:34 pm
I know ztrumpet is "going to kill me" if I decide not to write Appendix C 8)
Probably... ;D (jk)
Oh come on D: at least this Hot Dog doesn't use reverse polish sausage :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: TIfanx1999 on May 26, 2010, 01:24:24 pm
I know ztrumpet is "going to kill me" if I decide not to write Appendix C 8)
Probably... ;D (jk)
Oh come on D: at least this Hot Dog doesn't use reverse polish sausage :P
ROFLMAO
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on May 26, 2010, 05:13:24 pm
I know ztrumpet is "going to kill me" if I decide not to write Appendix C 8)
Probably... ;D (jk)
Oh come on D: at least this Hot Dog doesn't use reverse polish sausage :P
ROFLMAO
LOL!  That's hilarious! :P

Ah, Appendix A's going to be heavily referenced by me then. :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: KermMartian on May 30, 2010, 11:10:36 pm
I read over the first few tutorials, and kudos for trying to keep it informative and lighthearted.  I gotta say though, I am quite concerned at your avoidance of hex, such as the confusing .org 40339 instead of the universally-accepted .org $9D93 or .org $9d95-2 or .org progstart or .org 9d95h-2.  I also take issue with B_CALL_STUFF; I understand if you prefer that form, but you should at least mention that most people use b_call(_stuff) or bcall(_stuff). Miotatsu was having troubles assembling a program after reading your tutorials, though luckily he stopped by and gave me a shout, because he was using the standard include file that uses bcall(_stuff).  I'll let you know if I have any further comments when I get to look through the tutorials more thoroughly.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 30, 2010, 11:25:14 pm
I read over the first few tutorials, and kudos for trying to keep it informative and lighthearted.  I gotta say though, I am quite concerned at your avoidance of hex, such as the confusing .org 40339 instead of the universally-accepted .org $9D93 or .org $9d95-2 or .org progstart or .org 9d95h-2.  I also take issue with B_CALL_STUFF; I understand if you prefer that form, but you should at least mention that most people use b_call(_stuff) or bcall(_stuff). Miotatsu was having troubles assembling a program after reading your tutorials, though luckily he stopped by and gave me a shout, because he was using the standard include file that uses bcall(_stuff).  I'll let you know if I have any further comments when I get to look through the tutorials more thoroughly.

Before I say anything, I really appreciate your comments.

Hexadecimal does come later.  However, universally accepted does not necessarily mean "easy."  I'm not defending myself as much as asking, "does it really make a difference?"

I also understand my error with the wrong include file, and thank you for pointing out that it's an error I need to fix.  However, in terms of B_CALL with parenthesis, I'm afraid I lack knowledge on other compilers, which is part of the reason why I say in the 4th tutorial that Spasm is the only compiler I will be refering to in the lessons. After all, there's many difference besides simply B_CALL with parenthesis.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: miotatsu on May 30, 2010, 11:34:36 pm
I was using spasm, the include file that came with the recently released zip with tutorials 1-12 apparently likes bcall(_stuff) :p
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: KermMartian on May 30, 2010, 11:36:52 pm
I read over the first few tutorials, and kudos for trying to keep it informative and lighthearted.  I gotta say though, I am quite concerned at your avoidance of hex, such as the confusing .org 40339 instead of the universally-accepted .org $9D93 or .org $9d95-2 or .org progstart or .org 9d95h-2.  I also take issue with B_CALL_STUFF; I understand if you prefer that form, but you should at least mention that most people use b_call(_stuff) or bcall(_stuff). Miotatsu was having troubles assembling a program after reading your tutorials, though luckily he stopped by and gave me a shout, because he was using the standard include file that uses bcall(_stuff).  I'll let you know if I have any further comments when I get to look through the tutorials more thoroughly.

Before I say anything, I really appreciate your comments.
Glad to hear it. :)

Hexadecimal does come later.  However, universally accepted does not necessarily mean "easy."  I'm not defending myself as much as asking, "does it really make a difference?"
Oh good, I only got as far as 4 so far.  No, technically it doesn't make a difference, but I for one filled in a lot of my confusion by staring at existing z80 ASM programs, examining them, toying with them, and reassembling them.  I'm afraid if you err to far from the accepted form, your loyal pupils may be confused looking at existing source.

I also understand my error with the wrong include file, and thank you for pointing out that it's an error I need to fix.  However, in terms of B_CALL with parenthesis, I'm afraid I lack knowledge on other compilers, which is part of the reason why I say in the 4th tutorial that Spasm is the only compiler I will be refering to in the lessons. After all, there's many difference besides simply B_CALL with parenthesis.
Definitely, and you're absolutely within your rights to use SPASM form.  I think it might be helpful to acknowledge the standard form that is used with [Brass, TASM, and a few others].
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on May 30, 2010, 11:37:09 pm
I was using spasm, the include file that came with the recently released zip with tutorials 1-12 apparently likes bcall(_stuff) :p

In that case, I'll mention that as well.  Thanks for letting me know!  I assume that parenthesis are not required, right? 
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: miotatsu on May 31, 2010, 12:33:35 am
they are required, it will throw errors without them for me
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on June 01, 2010, 05:23:55 pm
Do any languages besides TI-BASIC allow the omission of closing parentheses etc.?
Edit: Axe does too, but it's on-calc.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 01, 2010, 05:28:58 pm
I am unsure. I know Axe sometimes does, though.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 11, 2010, 08:44:02 pm
No new releases yet :(, but there will be one soon.  I just wanted to let you guys know that having packed up my computer that had ASM Gorillas, it will take me about two weeks to get situated with it.  So I'll be skipping lessons 13, 15, and 18 until I can get back to work on Gorillas.  In other words, next lesson (I'm seriously hoping next week) will be 14, followed by 16.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 11, 2010, 08:46:17 pm
Mhmm what do you mean by packed up? Are you moving soon or something? Glad to see there will be new lessons being posted soon, though :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 11, 2010, 09:15:28 pm
Mhmm what do you mean by packed up? Are you moving soon or something? Glad to see there will be new lessons being posted soon, though :)

Oh, I mean that I've packed from college and am moving home for the summer
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 11, 2010, 09:21:13 pm
Oooh I see. ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on June 11, 2010, 10:32:43 pm
Oh, okay.  Good luck with the move, and I can't wait for lesson 14! :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 17, 2010, 04:39:54 pm
Lesson 14 is up.  I'll have 13 up when I can, but in the meantime, I'm working on 16 next.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 17, 2010, 11:51:21 pm
nice to see new updates :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on June 23, 2010, 12:22:46 pm
*Bump*
I liked 14.  How long do you think it'll be before 16? ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 23, 2010, 12:24:50 pm
*Bump* Hopefully next week.  Unfortunately the average tutorial takes about 7 hours to write, moreso for the ASM Gorilla ones :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on June 23, 2010, 12:30:45 pm
Wow, that long?  I'm really glad you're doing this, as these are awesome tutorials! :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 23, 2010, 12:39:01 pm
Wow, that long?

Yes indeed...only about 1/3 of the lesson is actual typing.  The other 2/3s is thinking, trying to make it funny and understandable, double and triple checking, and making sure that the program examples work
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 23, 2010, 01:44:10 pm
Wow, that sure takes a lot of work. I'm glad you are spending the time making ASM learning easier for people. I hope once it is finished that it will be popular on ticalc.org and here (altough over here I think it already is, because I think it had over 500 downloads last time I checked a few weeks ago).

Maybe at the end of July I'll have more time to catch up on those tutorials.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on June 23, 2010, 05:25:05 pm
making sure that the program examples work
Thank you for doing this!  I'm sure there's some stuff in Asm in 28 that's not right. :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on June 23, 2010, 05:26:38 pm
Yeah, there are a few errors in Asm in 28. However, I'm not sure where they are and I don't know of any compilation...
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 23, 2010, 05:30:21 pm
Yeah, there are a few errors in Asm in 28. However, I'm not sure where they are and I don't know of any compilation...

The most famous one is the sprite routine in chapter 25
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on June 23, 2010, 05:48:47 pm
Yeah, there are a few errors in Asm in 28. However, I'm not sure where they are and I don't know of any compilation...

The most famous one is the sprite routine in chapter 25
Can you please post the correct routine?  I don't want to learn that wrong. ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 23, 2010, 06:58:09 pm
Quote
Quote from: Hot_Dog on Today at 14:30:21
Quote from: calcdude84se on Today at 14:26:38
Yeah, there are a few errors in Asm in 28. However, I'm not sure where they are and I don't know of any compilation...


The most famous one is the sprite routine in chapter 25

Can you please post the correct routine?  I don't want to learn that wrong.

I normally would, but sadly I can't remember which one it was.  But I'm covering sprites in lesson 17, so if you're willing to wait until then, you have nothing to worry about :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: program4 on June 23, 2010, 07:54:00 pm
Somehow, in Lesson 4, I can't get Command Prompt to work. It always says

'spasm' is not recognized as an internal or external command, operable program or batch file.

When I put program1.asm into Wabbitemu, Wabbitemu always says "Invalid file format". :(
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 23, 2010, 08:40:21 pm
Make sure that Command Prompt is pointing to the correct file location.  Command Prompt will not look for spasm; you have to tell it where spasm is.

If it still doesn't work, send a screenshot of your command prompt, please ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: program4 on June 24, 2010, 03:48:52 pm
Now I got Command Prompt to work, and the program works when I put it in Wabbitemu :), but Command Prompt still says:

program1.asm:5: error: Can't recognize 'B_CALL_ClrLCDFull' as an instruction or macro
program1.asm:6: error: Can't recognize 'Id' as an instruction or macro

I do have ti83plus.inc in my folder, but I don't see what the error means.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on June 24, 2010, 03:55:21 pm
Because you need a space on the first error and 'LD' on the second.
Corrected code would be:

Code: [Select]
B_CALL _ClrLCDFull
ld
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: tloz128 on June 25, 2010, 12:00:28 am
I just read lesson 14 and made a tribute to the greatest hero mankind has ever known.  :o


Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 25, 2010, 12:41:06 am
And who would that be? (I have trouble recognizing people from their face, even more if they are in monochrome x.x) Nice though.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Builderboy on June 25, 2010, 01:09:29 am
Lol I *think* its Billy Mays but im not sure :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on June 25, 2010, 11:35:16 am
I'm pretty sure it's him too. :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: tloz128 on June 25, 2010, 12:26:19 pm
Yeah, it's Billy Mays. :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 25, 2010, 05:39:00 pm
Aah ok :P

About the tutorial, I wonder if you planned to add a section on debugging (tips, tricks, such as making your program display some used values on the screen during program execution and other stuff)? This is one part that might be useful to some people
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 25, 2010, 07:13:18 pm
Aah ok :P

About the tutorial, I wonder if you planned to add a section on debugging (tips, tricks, such as making your program display some used values on the screen during program execution and other stuff)? This is one part that might be useful to some people

I've never work with debugging tools, so I wouldn't know anything about them.  However, I've made my own debugging tools, so I might be able to make a brief comment on something like that.  Chances are, if I know something valuable about debugging, people who read these lessons will realize what that "valuable something" is without me having to tell them.  It's a rather interesting psychological phenomonen.


LESSON 16 NEXT WEEK
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on June 25, 2010, 07:30:54 pm
LESSON 16 NEXT WEEK
Yea!  I can't wait! ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on June 25, 2010, 07:57:18 pm
Aah ok :P

About the tutorial, I wonder if you planned to add a section on debugging (tips, tricks, such as making your program display some used values on the screen during program execution and other stuff)? This is one part that might be useful to some people

I've never work with debugging tools, so I wouldn't know anything about them.  However, I've made my own debugging tools, so I might be able to make a brief comment on something like that.  Chances are, if I know something valuable about debugging, people who read these lessons will realize what that "valuable something" is without me having to tell them.  It's a rather interesting psychological phenomonen.


LESSON 16 NEXT WEEK
Aaah ok. Well, I meant more stuff such as how in BASIC, to check if I some code is executed at all, I'll add a pause or wait for keypress command before it or other smaller tricks that doesn't involve using debuggers.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on June 25, 2010, 08:01:33 pm
Aah ok :P

About the tutorial, I wonder if you planned to add a section on debugging (tips, tricks, such as making your program display some used values on the screen during program execution and other stuff)? This is one part that might be useful to some people



I've never work with debugging tools, so I wouldn't know anything about them.  However, I've made my own debugging tools, so I might be able to make a brief comment on something like that.  Chances are, if I know something valuable about debugging, people who read these lessons will realize what that "valuable something" is without me having to tell them.  It's a rather interesting psychological phenomonen.


LESSON 16 NEXT WEEK
Aaah ok. Well, I meant more stuff such as how in BASIC, to check if I some code is executed at all, I'll add a pause or wait for keypress command before it or other smaller tricks that doesn't involve using debuggers.

Gotcha.  In that case, I would not be the best person to talk about something like that
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 01, 2010, 11:32:27 am
I apologize that lesson 16 is delayed till next week.  Reworking the S.A.D. engine has been worth it (you'll get hotkeys sooner than you think, for example), but it has taken up a lot of my time.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on July 01, 2010, 11:33:27 am
I apologize that lesson 16 is delayed till next week.  Reworking the S.A.D. engine has been worth it (you'll get hotkeys sooner than you think, for example), but it has taken up a lot of my time.
;D  Yay!  More SAD Progress is worth it. :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on July 01, 2010, 07:22:07 pm
It's fine, plus you're doing calc stuff anyway ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 08, 2010, 12:41:07 pm
Lesson 16 is up.  Now that everything is taken care of (meaning I have access to ASM Gorillas), I will be moving back to lesson 13.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on July 08, 2010, 12:54:09 pm
I'Ll check this one out. Btw is it the one talking about some S.A.D techniques as you talked about on IRC earlier?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 08, 2010, 12:57:38 pm
Btw is it the one talking about some S.A.D techniques as you talked about on IRC earlier?

It is. Not "game playing" techniques as much as coding techniques.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on July 08, 2010, 12:58:42 pm
Yeah that's what I though. ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on July 08, 2010, 01:28:14 pm
Awesome!  Thanks Hot Dog!  This is yet another installment in an awesome guide.  Thank you! ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: matthias1992 on July 08, 2010, 02:56:31 pm
Cool:
You already said in your 48 lines program that it could be optimized, would this be valid? I understand this uses DJNZ which I can not recall you mentioned in one of the earlier lessons (not that I have read them all) so this is no offense or something I just wonder IF this is valid code and if it is, would it be faster?
Code: [Select]

LD HL, PlotSScreen
LD A, %10101010
LD B, 120
Loop:
LD (hl), A
INc HL
DJNZ Loop
B_Call(_GrBufCpy)
B_Call(_getKey)
B_Call(_ClrLCDFull)
;I never display done...don't like it :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 08, 2010, 03:03:57 pm
Cool:
You already said in your 48 lines program that it could be optimized, would this be valid? I understand this uses DJNZ which I can not recall you mentioned in one of the earlier lessons (not that I have read them all) so this is no offense or something I just wonder IF this is valid code and if it is, would it be faster?


No offense taken 8)  Yeah, that code would be faster.  I simply want people to understand how BIT, etc. works
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: matthias1992 on July 08, 2010, 03:07:07 pm
Thats a relief :P

On the RL instruction you say it moves the carry into bit 0 and bit 7 into the carry. But what happens first? it can never happen at the same time since CPU's are sequentially processing data so is it in the order you mention or the converse?

EDIT: I think it should be 7 into carry and then carry into bit 0 because it is a rotation...

Once again, just saying...
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 08, 2010, 03:08:31 pm

On the RL instruction you say it moves the carry into bit 0 and bit 7 into the carry. But what happens first? it can never happen at the same time since CPU's are sequentially processing data so is it in the order you mention or the converse?

I have no idea, but that's irrelivant
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on July 08, 2010, 03:08:32 pm
No, it is simultaneous, the operations are internal to the CPU and are performed at the same time. Or if not, there is a buffer somewhere.
At any rate, just pretend they happen at the same time :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: matthias1992 on July 08, 2010, 03:10:56 pm
No, it is simultaneous, the operations are internal to the CPU and are performed at the same time.
I can't imagine that...The only truly parallel devices I have ever programmed are FPGA's because every block is dedicated to a specific task. But indeed hot_dog, it is irrelevant. I just remembered that it simply rotates so what happens first indeed does not matter.

thanks for the fast replies.
 
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on July 08, 2010, 03:12:54 pm
^ Sorry, you replied before my edit for another possible scenario. :P
Yeah, it really doesn't matter, for all practical purposes the CPU could be a bunch of hamsters (or lobsters, rather :P)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: matthias1992 on July 08, 2010, 03:18:42 pm
I just came up with another question, sorry for bothering but in the SRL and SLA functions you say "Register is (HL)" I am slightly confused about that. One thing is what does HL to do with these and the second is do you mean HL or (HL)?
Once again my apologies for annoying you, its my pleasure...  ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on July 08, 2010, 03:29:26 pm
SRL, SLA, and others can't modify HL, only (HL), which is the data at the address given by HL
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 08, 2010, 03:29:54 pm
Have you read the tutorials from the beginning?  I'd recommend you do so if you haven't:  It's my goal that the lessons are easy to understand, and thus I can't really explain the difference, you should read about it.

However, I will say that HL is a number, such as a ram location.  (HL) is whatever is stored in RAM at that location.  (HL) can be used almost any place where you can use "One-Byte Register" as a parameter.  If this confuses you, I highly recommend you read from the beginning :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: matthias1992 on July 08, 2010, 04:08:13 pm
Have you read the tutorials from the beginning?  I'd recommend you do so if you haven't:  It's my goal that the lessons are easy to understand, and thus I can't really explain the difference, you should read about it.

However, I will say that HL is a number, such as a ram location.  (HL) is whatever is stored in RAM at that location.  (HL) can be used almost any place where you can use "One-Byte Register" as a parameter.  If this confuses you, I highly recommend you read from the beginning :)
I understand the difference between HL and (HL) (i did not read your tutorials from the beginning but i did read Sean Mclaughin's ams in 28 days) my question is what you mean with it. Or better said: what does HL have to do with the commands SRL and SLA? why is it involved. SRA and SLA are on-byte register commands so what does HL have to do with it?
Is (HL) (adress location) modified because you use these commands? or does it destroy HL?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 08, 2010, 04:52:41 pm
Have you read the tutorials from the beginning?  I'd recommend you do so if you haven't:  It's my goal that the lessons are easy to understand, and thus I can't really explain the difference, you should read about it.

However, I will say that HL is a number, such as a ram location.  (HL) is whatever is stored in RAM at that location.  (HL) can be used almost any place where you can use "One-Byte Register" as a parameter.  If this confuses you, I highly recommend you read from the beginning :)
I understand the difference between HL and (HL) (i did not read your tutorials from the beginning but i did read Sean Mclaughin's ams in 28 days) my question is what you mean with it. Or better said: what does HL have to do with the commands SRL and SLA? why is it involved. SRA and SLA are on-byte register commands so what does HL have to do with it?
Is (HL) (adress location) modified because you use these commands? or does it destroy HL?

HL is the location in RAM.  For instance, in S.A.D, I say "this is where in RAM I want to store information about each building."  Then I can tell HL to focus on that location.  (HL) is what is stored inside of RAM at that location.  So when you use (HL), only the RAM is modified, not the location.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: SolusIpse on July 08, 2010, 08:37:03 pm
if you are familiar with C or similar languages, think of hl as holding a pointer and (hl) as dereferencing said pointer.  z80 calcs use 2 byte addresses so you need a register pair to hold the address.  The z80 designers probably decided it would be useful if you could directly manipulate the byte pointed to by the address in hl instead of having to load it into one of the registers prior to rotations, shifts, etc.

Note that in almost all cases I can think of, directly manipulating the contents at the address using (hl) as an argument is slower than using a register as an argument.  logical since registers are closer than RAM.  but, it could be useful if you have tied down for registers.

oh this will probably confuse but the ONLY time (hl) does NOT DEREFENCE is

Code: [Select]
jp (hl)
iirc, this actually tell you to jump to the address that register pair hl holds, or the address that would be stored at (hl) (I forget which, calc84maniac probably knows)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on July 08, 2010, 08:40:05 pm
It's the first one. For example, if HL=$CAFE, then jp (hl) will jump to $CAFE, regardless of (HL)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: SolusIpse on July 08, 2010, 08:51:14 pm
which is why I always thought it was weird that the syntax is
Code: [Select]
jp (hl)and not
Code: [Select]
jp hl
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 09, 2010, 09:24:24 pm
I removed the .pdf and .html files for lesson 4, and uploaded an updated doc.  I forgot that sharing ROMS was illegal, so I had to delete the link
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on July 09, 2010, 09:30:49 pm
it had a rom link? :O
/me omnoms a Hot Dog

j/k don't worry too much about it :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on July 10, 2010, 02:00:07 am
Lesson 13 is up.  It's mostly on ASM Gorillas.  It's a good lesson for the faint of heart  :P, but not for those who don't want to put in the practice.

Lesson 15 will be up next, followed by some screenshots to promote the example program ASM Gorillas  8)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on July 10, 2010, 02:38:57 pm
nice :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 16, 2010, 03:13:53 am
I couldn't get to sleep, so I made this screenshot to promote/advertise lesson 15, which will hopefully be coming this week.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 17, 2010, 09:40:19 am
That looks pretty nice :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ztrumpet on August 17, 2010, 10:58:02 am
That looks very nice.  Wonderful job! ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 18, 2010, 11:42:28 am
Lesson 15 is now up.  You won't learn to input names yet, because I realized that the lesson was starting to get too long.

Now I'll be doing lesson 17, which teaches you how to draw sprites!  For all you eager beavers, that might come as soon as next week.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 18, 2010, 02:30:50 pm
Nice to hear. Btw are you planning to put a pdf of lesson 4 back up soon? I tend to prefer pdf format to doc for compatibility reasons.

Also I sometimes notice references to your tutorials on other forums or IRC when someone asks what's a good ASM tutorial, plus your tutorials are downloaded quite often, so it tells you did an amazing job on them so far. I hope you can finish them :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 18, 2010, 03:07:00 pm
Quote
Also I sometimes notice references to your tutorials on other forums or IRC when someone asks what's a good ASM tutorial, plus your tutorials are downloaded quite often, so it tells you did an amazing job on them so far.

Dude, thanks for telling me that!  It was definitely my goal to make ASM easy to understand.

Unfortunately, though, the pdf for lesson 4 might not be up for some time.  It's low on my list of priorities :(
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: tloz128 on August 18, 2010, 05:41:13 pm
here DJ, I downloaded lesson 4 as a PDF  ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 18, 2010, 06:20:10 pm
Sorry, I had to remove that link because it had the instructions for illegally downloading a ROM.  However, I uploaded the correct .pdf in the place where all the lessons can get downloaded.  Just go to lesson 4 downloads :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 20, 2010, 12:28:57 pm
Nice to see it back ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Builderboy on August 20, 2010, 05:55:11 pm
Yeah this tutorial really helped me when i started dabbling in Asm a little bit ago :) Although i did find myself going back and forth between this one and Asm28days.  It does have some valuable resources like a command list, and built in and easy functions (although the error in the pixel command really pissed me off XD) overall, its becoming an excellent and amazing resource!  Well done!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 20, 2010, 05:59:16 pm
Yeah this tutorial really helped me when i started dabbling in Asm a little bit ago :) Although i did find myself going back and forth between this one and Asm28days.

And that's a good idea.  The guide is meant to get people started, but I cannot overstate how much I'm going to encourage people to read other tutorials.  I'm highly recommending ASM 28 Days (and another one) for further reading.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 22, 2010, 06:39:55 pm
It's still nice to see your tutorial is making things much easier for new ASM programmers though. I noticed an increase in people learning ASM since you started those. :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 25, 2010, 11:14:57 am
Lesson 17 is up.  I'll probably do one more before college starts again, and then continue once I get settled.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 25, 2010, 10:16:50 pm
Ok ^^

One idea I had was that after I got more comfortable with Axe, I may check your tutorials to attempt understanding some ASM concepts again. Currently, I have troubles setting up tiDE due to an update bug which SirCmpwn needs to fix, but hopefully it may be setup at one point. I don't think I will write entire games in ASM, but it should give me more freedom and help me understand some things easier.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 25, 2010, 10:44:42 pm
Ok ^^

One idea I had was that after I got more comfortable with Axe, I may check your tutorials to attempt understanding some ASM concepts again. Currently, I have troubles setting up tiDE due to an update bug which SirCmpwn needs to fix, but hopefully it may be setup at one point. I don't think I will write entire games in ASM, but it should give me more freedom and help me understand some things easier.

And it will help you for when you decide to create Starcraft S.A.D. by reading my "Modifying S.A.D Guide" ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 26, 2010, 02:47:45 pm
 :'(
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 26, 2010, 03:06:08 pm
:'(

Why are you crying?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 26, 2010, 05:21:24 pm
Oh I was kidding, because I thought you said I should make a Starcraft game and I remember how hard it can be with like 200 units moving at once with all the AI and stuff ;D

Finally I appear to have misread, though. You said a modified S.A.D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 29, 2010, 08:05:16 pm
For those of you who are learning ASM from my lessons, how many of you understood lesson 17?  What needs explination?  Were you able to implement the sprite routine correctly and recognize why it works?  All forms of constructive feedback is requested and appreciated.  8)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on August 30, 2010, 03:57:21 pm
I'm going to take a long, extended break from the ASM tutorials.  My goal is to make the lessons easy for the non-ASM programmer to understand, and so far, I have no idea if it's working past lesson 12.  I'm a person who needs these files reviewed by new ASM programmers--feedback from regular, skilled ASM programmers will not help me know how well I'm doing.  Furthermore, I can't attach files to posts on Cemetech, and for clear, understandable reasons, regular programmers just don't have time to read through them, which isn't their fault. 

So I'm going to wait until people new to ASM have had a chance to read them and provide feedback, especially for lesson 17.  It's nobody's fault at all, but I don't want to think I'm doing splendidly and end up with lesson 25 as a nightmare for the beginning programmer.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on August 30, 2010, 04:02:48 pm
Sorry to hear. Personally I may give this a try at one point but I can't promise when. Sadly, summer vacations (people being away with no net access or not coding as much) and school starting (ACT/SAT, etc) may be why, not to mention the competition with Axe Parser that both ASM and BASIC receives now. I hope they are finished at one point, though.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 22, 2010, 12:19:40 am
In accordance with deciding to wrap up my ASM tutorials, I've uploaded a new version of lesson 13.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Madskillz on September 22, 2010, 01:19:27 am
Sweet Hot_Dog, I'll have to give them a read through. I got busy after I had read the first few and didn't see what other things you covered.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on September 22, 2010, 11:08:14 am
Cool, I downloaded it for later read :)

I need to redownload the others too since I don't remember where I put them on my comp x.x
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 22, 2010, 10:13:26 pm
I put up the new lesson 14.  Now I'm working on the appendices, and I should be ready to release the whole kitten-kaboodle in October!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on September 22, 2010, 11:00:20 pm
Cool! I wonder if this might get featured on ticalc.org? I guess you would probably need to request it, though, since they do not feature stuff on their own unless it's for 68K calcs.

Also please do not delete the old lesson 13/14 yet, I am curious how many downloads this got total so far.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 22, 2010, 11:10:19 pm
Also please do not delete the old lesson 13/14 yet, I am curious how many downloads this got total so far.

I'll just leave them up.  Once the full release is available, it's not going to matter much
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on September 22, 2010, 11:11:33 pm
Aah ok ^^
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 23, 2010, 12:42:19 am
Appendix A is up
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on September 23, 2010, 02:49:42 am
A couple things I noticed: You don't actually have to have different .asm files for each page. The defpage() macro is all that matters. Also, you can get the page number of a label by shifting it right by 16 (SPASM stores the label values as 24-bit)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 23, 2010, 10:19:02 am
A couple things I noticed: You don't actually have to have different .asm files for each page. The defpage() macro is all that matters. Also, you can get the page number of a label by shifting it right by 16 (SPASM stores the label values as 24-bit)

True on both cases.  But in this case, I'll just leave the lesson the way it is.  I have had no experience with either of those two points, and I would hate to send a lesson full of errors.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 23, 2010, 05:32:19 pm
Appendix C is up.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on September 23, 2010, 06:08:17 pm
Nice, I'll try to grab them all when you are finished
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 23, 2010, 06:10:03 pm
Nice, I'll try to grab them all when you are finished

Yeah, you should just wait until I'm completely finished.  Then you can download everything you need as a group
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on September 23, 2010, 06:11:39 pm
When done you should put them in the staff downloads section I think, in the programming tools section. It might be easier to find for people around here.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 23, 2010, 06:13:23 pm
Gotcha, sure thing.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 24, 2010, 11:43:10 am
Appendix D is up.  I will now be editing the lessons I have written so far, to fix mistakes and remove unnecessary lessons.  Then I need to write Appendix B and Appendix E.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Raylin on September 24, 2010, 12:05:19 pm
Hot_Dog, could you hit me up with a single zip file with everything? Thanks.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 24, 2010, 12:11:07 pm
Hot_Dog, could you hit me up with a single zip file with everything? Thanks.

Well, I'm planning on doing that when everything is ready...can you wait until then?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: oln9488 on September 27, 2010, 11:36:38 am
did you ever finish Lesson_18 by anychance?  I'm still trying to get a good handle on these sprites, and could use all the instruction you can give in your lessons! 
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on September 30, 2010, 02:04:50 am
Thanks for that question, oln9488.  I don't think there will be a lesson 18, for 4 reasons:

1. I'm wrapping up the ASM lessons--in fact, lesson 17 is being removed.  My time as teacher is coming to a close, and that's actually good news.
2. I needed for help for ASM lesson 18, as part of it is sprite clipping.  No one was able to offer any help
3. Appendix B will explain the basics of sprites and provide a routine for all kinds of sprites and sprite clipping
4. If you really, really want to get technical with sprites rather than using a pre-designed routine, you can read ASM 28 days, lesson 25.

I apologize for any disappointment, and welcome to the forum!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: oln9488 on October 02, 2010, 05:59:55 pm
thanks man.  I've got an easier question.  I got past the sprite clipping issue i was running into, but how do you use delay in asm?  I know in basic you can do for(A,1,1000):end and I could then do
while 1
getkey->Z
if z==24
then
for(A,1,1000):end
output(R,C," "
c-1->c
output(R,C,"O"
end
end

i want to be able to hit the right arrow, and my character/sprite continuously go right.  any thoughts?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: meishe91 on October 02, 2010, 06:33:26 pm
Well I don't know much about assembly but you can use interrupts probably, but I'm sure there's a better way. As for your TI-BASIC example, that won't really work. You don't have R and C initialized, plus you have no wrap around/end stopping code. Also, For(A,1,1000):End is way overkill for that. (Also, the key code for the right button isn't twenty-four, it's twenty-six. So unless you meant left you'd have to change that plus the line C-1→C would be C+1→C.) Better way of showing would be:

Code: [Select]
DelVar D4→R
8→C
Repeat 0
getKey→K
If Ans=26
1→D
Output(R,C,"_
C+D
Ans-16((Ans=17)-not(Ans→C
Output(R,Ans,"O
rand(2 \\rand or rand(# is a better way to do delay/pauses/slowdowns/etc. in TI-BASIC.
End
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 02, 2010, 07:12:28 pm
thanks man.  I've got an easier question.  I got past the sprite clipping issue i was running into, but how do you use delay in asm?  I know in basic you can do for(A,1,1000):end and I could then do
while 1
getkey->Z
if z==24
then
for(A,1,1000):end
output(R,C," "
c-1->c
output(R,C,"O"
end
end

i want to be able to hit the right arrow, and my character/sprite continuously go right.  any thoughts?

There are many, many ways to use delays in ASM. For example:

ld bc, 1000

Delay_Timer:

dec bc
ld a, b    ;These next two instructions test to see if bc is equal to zero.
or c
jr nz, Delay_Timer
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: oln9488 on October 02, 2010, 10:38:55 pm
thanks guys!  Sorry about the lack of completion on the previous example.  I had just threw an example in there without the rows or columns set yet to show what I was getting at.  I think oddly enough I understand asm better than basic at this point from learning hotdog's tutorials with little knowledge of basic.

thanks again!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 03, 2010, 02:52:20 am
thanks guys!  Sorry about the lack of completion on the previous example.  I had just threw an example in there without the rows or columns set yet to show what I was getting at.  I think oddly enough I understand asm better than basic at this point from learning hotdog's tutorials with little knowledge of basic.

thanks again!

Sure thing!

Once you understand the concepts, ASM is probably the easiest language to remember, because you don't have to know so many instructions.  True, it's the hardest to implement, but there's not a lot to remember.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 07, 2010, 05:06:09 am
Sometime today (the 7th of October in my area), I'll provide the final DRAFT for the ASM lessons.  It will be available in the news and in the downloads section.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 07, 2010, 09:35:14 am
Cool! By draft, do you mean that there will be another version released later?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 07, 2010, 01:17:03 pm
Cool! By draft, do you mean that there will be another version released later?

Yes.  Once every single last detail is worked out, I'll release full version.  Basically, the draft contains evey file, except for the special Mac program lesson 4 will talk about
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 07, 2010, 05:46:11 pm
Cool! :D

I saw it in the archives now :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 08, 2010, 03:58:43 am
Double-post: I didn't check all but in the last lesson, the Omnimaga banner used is very outdated :P. It might be best to use the default one since it's what will show up if someone decides to visit the site. :P

(http://www.omnimaga.org/Themes/omnimaga4/images/omnimagabanner2010.png)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 08, 2010, 10:05:11 am
Yeah, I forgot about that.  I use the older skin, which give me an older banner
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 08, 2010, 05:23:03 pm
Yeah that's what I thought. At first I was gonna use the new banner for the old skin but it didn't fit well and I felt it would be cool to use the old stuff for the old skins. The 2005 skin, if I re-add it, will use the banner before the one you used.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 14, 2010, 01:57:46 pm
Here's the other three files I was not able to include in the draft: ASM in 28 (for the curious ones), the sprite routine, and the mac spasm program.  That means it's almost time for a release!

Download Additional Files Here (http://www.youtube.com/watch?v=dQw4w9WgXcQ&ob=av2e)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 14, 2010, 05:35:33 pm
Cool! Make sure to include all credits and ask the respective authors permission (if required, such as with Spasm) to include the stuff. I think Spencer is kinda picky on copyrights/redistributing stuff he made)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Yeong on October 15, 2010, 07:32:17 am
I have a question:
According to this tutorial, there are supposed to be 5 Appendix, right?
Where's the other two?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 15, 2010, 12:13:21 pm
He ditched a few of them as well as some lessons recently. I forgot which one.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 15, 2010, 01:34:53 pm
I have a question:
According to this tutorial, there are supposed to be 5 Appendix, right?
Where's the other two?

One has been ditched.  I've attached the other one below, although the sprite routine in the tutorial is not available yet.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Michael_Lee on October 16, 2010, 11:58:10 am
Hi - I just recently begun your lessons, and I've run into trouble with the first sample problem (Where it displays 1+5)
It doesn't display anything, but quits normally when I press any key.
I have 2.53 OS - does that make a difference?

(I've attached the asm file because I'm probably doing something wrong in it)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Munchor on October 16, 2010, 12:15:30 pm
Hi - I just recently begun your lessons, and I've run into trouble with the first sample problem (Where it displays 1+5)
It doesn't display anything, but quits normally when I press any key.
I have 2.53 OS - does that make a difference?

(I've attached the asm file because I'm probably doing something wrong in it)

I've had the same problem :S
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 16, 2010, 06:12:03 pm
Hi - I just recently begun your lessons, and I've run into trouble with the first sample problem (Where it displays 1+5)
It doesn't display anything, but quits normally when I press any key.
I have 2.53 OS - does that make a difference?

(I've attached the asm file because I'm probably doing something wrong in it)

It might be the 2.53 OS.  I don't own an 84+, so I can't say for sure.  But I will say that I test every program I place in the tutorials, and this one worked perfectly when i tested it.  Might I recommend testing on a Ti-83+ instead?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Michael_Lee on October 16, 2010, 06:28:25 pm
Aha!  I tried what you suggested, then investigated a hunch and discovered a fix: the sample programs are compatible with 2.53, but only if it's set on classic mode.
(My emulator defaulted to mathprint mode, which doesn't seem to work very well.)

Also, a question: does the amount of spaces you use matter?
For example, is there a difference between
Code: [Select]
.db t2ByteTok, tAsmCmp
        ld a, 1
or
Code: [Select]
.db t2ByteTok,tAsmCmp
        ld a,1
or
Code: [Select]
.db t2ByteTok ,    tAsmCmp
        ld a,  1
(although the last example is pretty ridiculous)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 16, 2010, 06:50:59 pm
Classic Mode it is, then!  I put the beta lessons out for finding bugs such as these, so I'll be sure to warn people about classic mode with the ti-84+ 2.53.

As long as you have spaces at the beginning of lines where spaces are required, I'm pretty sure that for the most part, the number of spaces at places such as those above doesn't matter.  I think the only exceptions are those that are not needed for the lessons.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: kyllopardiun on October 22, 2010, 01:38:33 pm
Hello, as the others above I recently started with your tutorial,
but as I couldn't download the library from the link in the lesson 4,
i googled for it and started getting the same problems as raylin did [page 4 on this topic]

after trying some tips there i could find that the best library
[the only one which didn't return any error was from the brandow's site]

I am using the spasm posted in the first topic,
this include: http://brandonw.net/calcstuff/ti83plus.txt

but, it still doens't make the 8xp

it does display this on does when I run my bat:
Code: [Select]
;2nd Half Of User Equation Tokens
;----------------------------------
;  "Y" EQUATIONS HAVE BIT 4 SET
;
tY1                     equ 10h ;Y1
tY2                     equ 11h ;Y2
tY3                     equ 12h ;Y3
tY4                     equ 13h ;Y4
tY5                     equ 14h ;Y5
tY6                     equ 15h ;Y6
tY7                     equ 16h ;Y7
tY8                     equ 17h ;Y8
tY9                     equ 18h ;Y9
tY0                     equ 19h ;Y0

;Param Equations Have Bit 5 Set
;-----------------------------------
tX1T                    equ 20h ;X1t
tY1T                    equ 21h ;Y1t
tX2T                    equ 22h ;X2t
tY2T                    equ 23h ;Y2t
tX3T                    equ 24h ;X3t
tY3T                    equ 25h ;Y3t
tX4T                    equ 26h ;X4t
tY4T                    equ 27h ;Y4t
tX5T                    equ 28h ;X5t
tY5T                    equ 29h ;Y5t
tX6T                    equ 2Ah ;X6t
tY6T                    equ 2Bh ;Y6t

;Polar Equations Have Bit 6 Set
;----------------------------------
tR1                     equ 40h ;R1
tR2                     equ 41h ;R2
tR3                     equ 42h ;R3
tR4                     equ 43h ;R4
tR5                     equ 44h ;R5
tR6                     equ 45h ;R6

;Recursion Equations Have Bit 7 Set
;----------------------------------
tun                     equ 80h ;Un
tvn                     equ 81h ;Vn
twn                     equ 82h ;Wn

;2nd Half Of User Picture Tokens
;------------------------------------
tPic1                   equ 00h ;PIC1
tPic2                   equ 01h ;PIC2
tPic3                   equ 02h ;PIC3
tPic4                   equ 03h ;PIC4
tPic5                   equ 04h ;PIC5
tPic6                   equ 05h ;PIC6
tPic7                   equ 06h ;PIC7
tPic8                   equ 07h ;PIC8
tPic9                   equ 08h ;PIC9
tPic0                   equ 09h ;PIC0

;2nd Half Of User Graph Database Tokens
;--------------------------------------
tGDB1                   equ 00h ;GDB1
tGDB2                   equ 01h ;GDB2
tGDB3                   equ 02h ;GDB3
tGDB4                   equ 03h ;GDB4
tGDB5                   equ 04h ;GDB5
tGDB6                   equ 05h ;GDB6
tGDB7                   equ 06h ;GDB7
tGDB8                   equ 07h ;GDB8
tGDB9                   equ 08h ;GDB9
tGDB0                   equ 09h ;GDB0

;2nd Half Of String Vars
;------------------------------
tStr1                   equ 00h
tStr2                   equ 01h
tStr3                   equ 02h
tStr4                   equ 03h
tStr5                   equ 04h
tStr6                   equ 05h
tStr7                   equ 06h
tStr8                   equ 07h
tStr9                   equ 08h
tStr0                   equ 09h

;2nd Half Of System Output Only Variables
;-----------------------------------------------------------------
;OPEN                   equ 00h
tRegEq                  equ 01h ;REGRESSION EQUATION
tStatN                  equ 02h ;STATISTICS N
tXMean                  equ 03h ;X MEAN
tSumX                   equ 04h ;SUM(X)
tSumXSqr                equ 05h ;SUM(X^2)
tStdX                   equ 06h ;STANDARD DEV X
tStdPX                  equ 07h ;STANDARD DEV POP X
tMinX                   equ 08h ;Min X VALUE
tMaxX                   equ 09h ;Max X VALUE
tMinY                   equ 0Ah ;Min Y VALUE
tMaxY                   equ 0Bh ;Max Y VALUE
tYmean                  equ 0Ch ;Y MEAN
tSumY                   equ 0Dh ;SUM(Y)
tSumYSqr                equ 0Eh ;SUM(Y^2)
tStdY                   equ 0Fh ;STANDARD DEV Y
tStdPY                  equ 10h ;STANDARD DEV POP Y
tSumXY                  equ 11h ;SUM(XY)
tCorr                   equ 12h ;CORRELATION
tMedX                   equ 13h ;MED(X)
tQ1                     equ 14h ;1ST QUADRANT OF X
tQ3                     equ 15h ;3RD QUADRANT OF X
tQuadA                  equ 16h ;1ST TERM OF QUAD POLY REG/ Y-INT
tQuadB                  equ 17h ;2ND TERM OF QUAD POLY REG/ SLOPE
tQuadC                  equ 18h ;3RD TERM OF QUAD POLY REG
tCubeD                  equ 19h ;4TH TERM OF CUBIC POLY REG
tQuartE                 equ 1Ah ;5TH TERM OF QUART POLY REG
tMedX1                  equ 1Bh ;x1 FOR MED-MED
tMedX2                  equ 1Ch ;x2 FOR MED-MED
tMedX3                  equ 1Dh ;x3 FOR MED-MED
tMedY1                  equ 1Eh ;y1 FOR MED-MED
tMedY2                  equ 1Fh ;y2 FOR MED-MED
tMedY3                  equ 20h ;y3 FOR MED-MED
tRecurn                 equ 21h ;RECURSION N
tStatP                  equ 22h
tStatZ                  equ 23h
tStatT                  equ 24h
tStatChi                equ 25h
tStatF                  equ 26h
tStatDF                 equ 27h
tStatPhat               equ 28h
tStatPhat1              equ 29h
tStatPhat2              equ 2Ah
tStatMeanX1             equ 2Bh
tStatStdX1              equ 2Ch
tStatN1                 equ 2Dh
tStatMeanX2             equ 2Eh
tStatStdX2              equ 2Fh
tStatN2                 equ 30h
tStatStdXP              equ 31h
tStatLower              equ 32h
tStatUpper              equ 33h
tStat_s                 equ 34h
tLRSqr                  equ 35h ;r^2
tBRSqr                  equ 36h ;R^2

;These next tokens are only used to access the data
;they are display only and the user cannot access them at all
;------------------------------------------------------------
tF_DF                   equ 37h ;ANOFAV FACTOR DF
tF_SS                   equ 38h ;ANOFAV FACTOR SS
tF_MS                   equ 39h ;ANOFAV FACTOR MS
tE_DF                   equ 3Ah ;ANOFAV ERROR DF
tE_SS                   equ 3Bh ;ANOFAV ERROR SS
tE_MS                   equ 3Ch ;ANOFAV ERROR MS

;2nd Half Of System Input/Output Variables
;------------------------------------------------
;      SYSTEM VARIABLE EQUATES
;
tuXscl                  equ 0
tuYscl                  equ 1
tXscl                   equ 2
tYscl                   equ 3
tRecuru0                equ 4 ;U 1ST INITIAL COND
tRecurv0                equ 5 ;V 1ST INITIAL COND
tun1                    equ 6 ;U(N-1); NOT USED
tvn1                    equ 7 ;V(N-1); NOT USED
tuRecuru0               equ 8 ;
tuRecurv0               equ 9 ;
tXmin                   equ 0Ah
tXmax                   equ 0Bh
tYmin                   equ 0Ch
tYmax                   equ 0Dh
tTmin                   equ 0Eh
tTmax                   equ 0Fh
tThetaMin               equ 10h
tThetaMax               equ 11h
tuXmin                  equ 12h
tuXmax                  equ 13h
tuYmin                  equ 14h
tuYmax                  equ 15h
tuThetMin               equ 16h
tuThetMax               equ 17h
tuTmin                  equ 18h
tuTmax                  equ 19h
tTblMin                 equ 1Ah
tPlotStart              equ 1Bh
tuPlotStart             equ 1Ch
tnMax                   equ 1Dh
tunMax                  equ 1Eh
tnMin                   equ 1Fh
tunMin                  equ 20h
tTblStep                equ 21h
tTStep                  equ 22h
tThetaStep              equ 23h
tuTStep                 equ 24h
tuThetStep              equ 25h
tDeltaX                 equ 26h
tDeltaY                 equ 27h
tXFact                  equ 28h
tYFact                  equ 29h
tTblInput               equ 2Ah
tFinN                   equ 2Bh
tFinI                   equ 2Ch
tFinPV                  equ 2Dh
tFinPMT                 equ 2Eh
tFinFV                  equ 2Fh
tFinPY                  equ 30h
tFinCY                  equ 31h
tRecurw0                equ 32h ;w0(1)
tuRecurw0               equ 33h
tPlotStep               equ 34h
tuPlotStep              equ 35h
tXres                   equ 36h
tuXres                  equ 37h
tRecuru02               equ 38h ;u0(2)
tuRecuru02              equ 39h
tRecurv02               equ 3Ch ;v0(2)
tuRecurv02              equ 3Dh
tRecurw02               equ 3Eh ;w0(2)
tuRecurw02              equ 3Fh

;2nd Byte Of t2ByteTok Tokens
;------------------------------
tFinNPV                 equ 00h
tFinIRR                 equ 01h
tFinBAL                 equ 02h
tFinPRN                 equ 03h
tFinINT                 equ 04h
tFinToNom               equ 05h
tFinToEff               equ 06h
tFinDBD                 equ 07h
tLCM                    equ 08h
tGCD                    equ 09h
tRandInt                equ 0Ah
tRandBin                equ 0Bh
tSubStrng               equ 0Ch
tStdDev                 equ 0Dh
tVariance               equ 0Eh
tInStrng                equ 0Fh
tDNormal                equ 10h
tInvNorm                equ 11h
tDT                     equ 12h
tChI                    equ 13h
tDF                     equ 14h
tBINPDF                 equ 15h
tBINCDF                 equ 16h
tPOIPDF                 equ 17h
tPOICDF                 equ 18h
tGEOPDF                 equ 19h
tGEOCDF                 equ 1Ah
tNormalPDF              equ 1Bh
tTPDF                   equ 1Ch
tChiPDF                 equ 1Dh
tFPDF                   equ 1Eh
tRandNorm               equ 1Fh
tFinFPMT                equ 20h
tFinFI                  equ 21h
tFinFPV                 equ 22h
tFinFN                  equ 23h
tFinFFV                 equ 24h
tConj                   equ 25h
tReal                   equ 26h
tImag                   equ 27h
tAngle                  equ 28h
tCumSum                 equ 29h
tExpr                   equ 2Ah
tLength                 equ 2Bh
tDeltaLst               equ 2Ch
tRef                    equ 2Dh
tRRef                   equ 2Eh
tToRect                 equ 2Fh
tToPolar                equ 30h
tConste                 equ 31h
tSinReg                 equ 32h
tLogistic               equ 33h
tLinRegTTest            equ 34h
tShadeNorm              equ 35h
tShadeT                 equ 36h
tShadeChi               equ 37h
tShadeF                 equ 38h
tMatToLst               equ 39h
tLstToMat               equ 3Ah
tZTest                  equ 3Bh
tTTest                  equ 3Ch
t2SampZTest             equ 3Dh
t1PropZTest             equ 3Eh
t2PropZTest             equ 3Fh
tChiTest                equ 40h
tZIntVal                equ 41h
t2SampZInt              equ 42h
t1PropZInt              equ 43h
t2PropZInt              equ 44h
tGraphStyle             equ 45h
t2SampTTest             equ 46h
t2SampFTest             equ 47h
tTIntVal                equ 48h
t2SampTInt              equ 49h
tSetupLst               equ 4Ah
tFinPMTend              equ 4Bh
tFinPMTbeg              equ 4Ch
tRealM                  equ 4Dh
tPolarM                 equ 4Eh
tRectM                  equ 4Fh
tExprOn                 equ 50h
tExprOff                equ 51h
tClrAllLst              equ 52h
tGetCalc                equ 53h
tDelVar                 equ 54h
tEquToStrng             equ 55h
tStrngToEqu             equ 56h
tDelLast                equ 57h
tSelect                 equ 58h
tANOVA                  equ 59h
tModBox                 equ 5Ah
tNormProb               equ 5Bh
tMGT                    equ 64h ;VERTICAL SPLIT
tZFit                   equ 65h ;ZOOM FIT
tDiag_on                equ 66h ;DIANOSTIC DISPLAY ON
tDiag_off               equ 67h ;DIANOSTIC DISPLAY OFF
tOkEnd2v0               equ 67h ;end of 2byte tokens for version 0.
tArchive                equ 68h ;archive
tUnarchive              equ 69h ;unarchive
tasm                    equ 6Ah
tasmComp                equ 6Bh ;asm compile
tasmPrgm                equ 6Ch ;signifies a program is asm
tasmCmp                 equ 6Dh ;asm program is compiled
tLcapAAcute             equ 6Eh
tLcapAGrave             equ 6Fh
tLcapACaret             equ 70h
tLcapADier              equ 71h
tLaAcute                equ 72h
tLaGrave                equ 73h
tLaCaret                equ 74h
tLaDier                 equ 75h
tLcapEAcute             equ 76h
tLcapEGrave             equ 77h
tLcapECaret             equ 78h
tLcapEDier              equ 79h
tLeAcute                equ 7Ah
tLeGrave                equ 7Bh
tLeCaret                equ 7Ch
tLeDier                 equ 7Dh
tLcapIGrave             equ 7Fh
tLcapICaret             equ 80h
tLcapIDier              equ 81h
tLiAcute                equ 82h
tLiGrave                equ 83h
tLiCaret                equ 84h
tLiDier                 equ 85h
tLcapOAcute             equ 86h
tLcapOGrave             equ 87h
tLcapOCaret             equ 88h
tLcapODier              equ 89h
tLoAcute                equ 8Ah
tLoGrave                equ 8Bh
tLoCaret                equ 8Ch
tLoDier                 equ 8Dh
tLcapUAcute             equ 8Eh
tLcapUGrave             equ 8Fh
tLcapUCaret             equ 90h
tLcapUDier              equ 91h
tLuAcute                equ 92h
tLuGrave                equ 93h
tLuCaret                equ 94h
tLuDier                 equ 95h
tLcapCCed               equ 96h
tLcCed                  equ 97h
tLcapNTilde             equ 98h
tLnTilde                equ 99h
tLaccent                equ 9Ah
tLgrave                 equ 9Bh
tLdieresis              equ 9Ch
tLquesDown              equ 9Dh
tLexclamDown            equ 9Eh
tLalpha                 equ 9Fh
tLbeta                  equ 0A0h
tLgamma                 equ 0A1h
tLcapDelta              equ 0A2h
tLdelta                 equ 0A3h
tLepsilon               equ 0A4h
tLlambda                equ 0A5h
tLmu                    equ 0A6h
tLpi                    equ 0A7h
tLrho                   equ 0A8h
tLcapSigma              equ 0A9h
tLphi                   equ 0ABh
tLcapOmega              equ 0ACh
tLphat                  equ 0ADh
tLchi                   equ 0AEh
tLstatF                 equ 0AFh
tLa                     equ 0B0h
tLb                     equ 0B1h
tLc                     equ 0B2h
tLd                     equ 0B3h
tLsmalle                equ 0B4h
tLf                     equ 0B5h
tLsmallg                equ 0B6h
tLh                     equ 0B7h
tLi                     equ 0B8h
tLj                     equ 0B9h
tLk                     equ 0BAh
tLl                     equ 0BCh
tLm                     equ 0BDh
tLsmalln                equ 0BEh
tLo                     equ 0BFh
tLp                     equ 0C0h
tLq                     equ 0C1h
tLsmallr                equ 0C2h
tLs                     equ 0C3h
tLsmallt                equ 0C4h
tLu                     equ 0C5h
tLv                     equ 0C6h
tLw                     equ 0C7h
tLx                     equ 0C8h
tLy                     equ 0C9h
tLz                     equ 0CAh
tLsigma                 equ 0CBh
tLtau                   equ 0CCh
tLcapIAcute             equ 0CDh
tGarbagec               equ 0CEh
LastToken               equ 0CEh ;tLAST TOKEN IN THIS VERSION...

;Data Type Equates
;---------------------------------------------------------------------
RealObj                 equ 0
ListObj                 equ 1
MatObj                  equ 2
EquObj                  equ 3
StrngObj                equ 4
ProgObj                 equ 5
ProtProgObj             equ 6
PictObj                 equ 7
GDBObj                  equ 8
UnknownObj              equ 9
UnknownEquObj           equ 0Ah
NewEquObj               equ 0Bh
CplxObj                 equ 0Ch
CListObj                equ 0Dh
UndefObj                equ 0Eh
WindowObj               equ 0Fh
ZStoObj                 equ 10h
TblRngObj               equ 11h
LCDObj                  equ 12h
BackupObj               equ 13h
AppObj                  equ 14h ;application, only used in menus/link
AppVarObj               equ 15h ;application variable
TempProgObj             equ 16h ;program, home deletes when finished
GroupObj                equ 17h ;group.

;I/O Equates
;---------------------------------------------------
D0D1_bits               equ 03h
D0LD1L                  equ 03h
D0LD1H                  equ 01h
D0HD1L                  equ 02h
D0HD1H                  equ 00h
bport                   equ 0 ;4-bit link port (I/O)

;Device Codes
;-----------------------------------------------------------------
TI82DEV                 equ 82h
PC82DEV                 equ 02h
MAC82DEV                equ 12h
TI83FDEV                equ 73h
LINK83FDEV              equ 23h
TI83DEV                 equ 83h
PC83DEV                 equ 03h
MAC83DEV                equ 13h
TI85DEV                 equ 95h ;different than real 85 so me talk
PC85DEV                 equ 05h
MAC85DEV                equ 15h
TI73DEV                 equ 74h ;device x3 is always an 83
PC73DEV                 equ 07h
MAC73DEV                equ 17h
LINK73FDEV              equ 23h
PC83FDEV                equ 23h

;System Error Codes
;-----------------------------------------------------------
E_EDITF                 equ 7 ;allow re-entering application
E_EDIT                  equ 1<<E_EDITF
E_Mask                  equ 7Fh
E_Overflow              equ 1+E_EDIT
E_DivBy0                equ 2+E_EDIT
E_SingularMat           equ 3+E_EDIT
E_Domain                equ 4+E_EDIT
E_Increment             equ 5+E_EDIT
E_Break                 equ 6+E_EDIT
E_NonReal               equ 7+E_EDIT
E_Syntax                equ 8+E_EDIT
E_DataType              equ 9+E_EDIT
E_Argument              equ 10+E_EDIT
E_DimMismatch           equ 11+E_EDIT
E_Dimension             equ 12+E_EDIT
E_Undefined             equ 13+E_EDIT
E_Memory                equ 14+E_EDIT
E_Invalid               equ 15+E_EDIT
E_IllegalNest           equ 16+E_EDIT
E_Bound                 equ 17+E_EDIT
E_GraphRange            equ 18+E_EDIT
E_Zoom                  equ 19+E_EDIT
E_Label                 equ 20
E_Stat                  equ 21
E_Solver                equ 22+E_EDIT
E_Singularity           equ 23+E_EDIT
E_SignChange            equ 24+E_EDIT
E_Iterations            equ 25+E_EDIT
E_BadGuess              equ 26+E_EDIT
E_StatPlo               equ 27
E_TolTooSmall           equ 28+E_EDIT
E_Reserved              equ 29+E_EDIT
E_Mode                  equ 30+E_EDIT
E_LnkErr                equ 31+E_EDIT
E_LnkMemErr             equ 32+E_EDIT
E_LnkTransErr           equ 33+E_EDIT
E_LnkDupErr             equ 34+E_EDIT
E_LnkMemFull            equ 35+E_EDIT
E_Unknown               equ 36+E_EDIT
E_Scale                 equ 37+E_EDIT
E_IdNotFound            equ 38
E_NoMode                equ 39+E_EDIT
E_Validation            equ 40
E_Length                equ 41+E_EDIT
E_Application           equ 42+E_EDIT
E_AppErr1               equ 43+E_EDIT
E_AppErr2               equ 44+E_EDIT
E_ExpiredApp            equ 45
E_BadAdd                equ 46
E_Archived              equ 47+E_EDIT
E_Version               equ 48
E_ArchFull              equ 49
E_Variable              equ 50+E_EDIT
E_Duplicate             equ 51+E_EDIT
HigErrNum               equ 51
;Obsolete error numbers 34 ;first LINK error
E_LinkIOChkSum          equ 34
E_LinkIOTimeOut         equ 35
E_LinkIOBusy            equ 36
E_LinkIOVer             equ 37

;Equates To RAM Locations For Stat Vars
;----------------------------------------------------------------
FPLEN                   equ 9 ;Length of a floating-point number.
StatN                   equ statVars
XMean                   equ StatN + FPLEN
SumX                    equ XMean + FPLEN
SumXSqr                 equ SumX + FPLEN
StdX                    equ SumXSqr + FPLEN
StdPX                   equ StdX + FPLEN
MinX                    equ StdPX + FPLEN
MaxX                    equ MinX + FPLEN
MinY                    equ MaxX + FPLEN
MaxY                    equ MinY + FPLEN
YMean                   equ MaxY + FPLEN
SumY                    equ YMean + FPLEN
SumYSqr                 equ SumY + FPLEN
StdY                    equ SumYSqr + FPLEN
StdPY                   equ StdY + FPLEN
SumXY                   equ StdPY + FPLEN
Corr                    equ SumXY + FPLEN
MedX                    equ Corr + FPLEN
Q1                      equ MedX + FPLEN
Q3                      equ Q1 + FPLEN
QuadA                   equ Q3 + FPLEN
QuadB                   equ QuadA + FPLEN
QuadC                   equ QuadB + FPLEN
CubeD                   equ QuadC + FPLEN
QuartE                  equ CubeD + FPLEN
MedX1                   equ QuartE + FPLEN
MedX2                   equ MedX1 + FPLEN
MedX3                   equ MedX2 + FPLEN
MedY1                   equ MedX3 + FPLEN
MedY2                   equ MedY1 + FPLEN
MedY3                   equ MedY2 + FPLEN
PStat                   equ MedY3 + 2*FPLEN
ZStat                   equ PStat + FPLEN
TStat                   equ ZStat + FPLEN
ChiStat                 equ TStat + FPLEN
FStat                   equ ChiStat + FPLEN
DF                      equ FStat + FPLEN
Phat                    equ DF + FPLEN
Phat1                   equ Phat + FPLEN
Phat2                   equ Phat1 + FPLEN
MeanX1                  equ Phat2 + FPLEN
StdX1                   equ MeanX1 + FPLEN
StatN1                  equ StdX1 + FPLEN
MeanX2                  equ StatN1 + FPLEN
StdX2                   equ MeanX2 + FPLEN
StatN2                  equ StdX2 + FPLEN
StdXP2                  equ StatN2 + FPLEN
SLower                  equ StdXP2 + FPLEN
SUpper                  equ SLower + FPLEN
SStat                   equ SUpper + FPLEN
F_DF                    equ anovaf_vars
F_SS                    equ F_DF + FPLEN
F_MS                    equ F_SS + FPLEN
E_DF                    equ F_MS + FPLEN
E_SS                    equ E_DF + FPLEN
E_MS                    equ E_SS + FPLEN


Hope someone can explain it ...
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ASHBAD_ALVIN on October 22, 2010, 01:40:35 pm
Does the tutorial cover APPs and pages and stuff yet?  I just really want to know that stuff O.o
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on October 24, 2010, 03:50:14 am
Man, sorry guys!  Omnimaga is so busy, I didn't see either of these questions.

kyllopardiun, try this link.  http://www.omnimaga.org/index.php?action=downloads;sa=downfile&id=582
It's almost all of the project, so it will have the files you need.  Tutorial 4 was notorious for rotton download links, so I just included spasm, ti83plus.inc, etc.  If you are still having problems, please post your .asm file so I can see if you made a typing mistake or something.

ASHBAD_ALVIN, Appendix A covers APPs and pages and stuff.  For your convience, I have attached Appendix A below.  Also attached is app.inc, which you would need for application development.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ASHBAD_ALVIN on October 24, 2010, 09:06:22 am
thanks, man!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on October 24, 2010, 09:17:29 pm
Hot Dog I fixed your previous post so the URL to the file is clickable.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: gangsterveggies on November 08, 2010, 07:52:22 pm
Great tutorial! I'm finally being able to work with asm. Still I wonder: does the program we get work on a TI-84+?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Michael_Lee on November 08, 2010, 07:56:10 pm
It probably should.  I've tried running a few programs on my TI-84+ Silver Edition, and they work fine.

Welcome to Omnimaga, btw!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 08, 2010, 08:12:23 pm
Great tutorial! I'm finally being able to work with asm. Still I wonder: does the program we get work on a TI-84+?

Be sure that you set your 84+ to classic mode if you have OS 2.53.  Other than that, most Ti-83+ programs run on a Ti-84+.  There are very few exceptions, and I don't think any of the lessons have exceptions.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: gangsterveggies on November 09, 2010, 02:38:24 pm
Michael, thanks for your welcoming! I have been here for a while but I had never posted anything...

Hot_Dog, I do have the new OS so thank you... still, this was the first time I was actually capable of compiling any code. The closest I got was to a program that didn't work and screwed my TI... all solved by now. It is fascinating how this little device that we take for granted, we input the numbers and it gives us the answer, but it has so many things in the middle... I thousand thank yous to you hot_dog it is really a great set of lessons.

Incidentally, can we transform this cool ASM programs into calc apps?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on November 09, 2010, 03:48:30 pm
True, some people outside the calc world are astonished what can be done on those calcs sometimes. :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: gangsterveggies on November 09, 2010, 03:52:29 pm
Even we calc developers are! And what about the apps thing?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 04:17:18 pm
Incidentally, can we transform this cool ASM programs into calc apps?

Appendix A gives you all the details for doing just that.  For the purposes of the example programs in the lessons, you only need single-page applications.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: gangsterveggies on November 09, 2010, 05:16:05 pm
Ok. I've just begun lesson 6 so I didn't know. Thanks.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Munchor on November 09, 2010, 05:17:55 pm
Ok. I've just begun lesson 6 so I didn't know. Thanks.

Calm down applications, you made your first program today :S
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: gangsterveggies on November 09, 2010, 05:19:09 pm
Yeah... still i'm so into asm that I want to learn it all in a row... I know is not healthy...
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: yunhua98 on November 09, 2010, 05:21:30 pm
just finished all the lessons, I'm starting on Appendix C now.  ;)  thanks Hot_Dog!  what would you recommend as a first ASM project that I can do just based on the stuff in you lessons plus some help on Omni?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 06:13:03 pm
i need help. in lesson 8 (the colors program), is the program continuous or does it require a new notepad file if it doesnt say "continued on next page"?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 06:41:10 pm
just finished all the lessons, I'm starting on Appendix C now.  ;)  thanks Hot_Dog!  what would you recommend as a first ASM project that I can do just based on the stuff in you lessons plus some help on Omni?

You're welcome! ;D

Well, there's many, many things you could with just the stuff the lessons provides.  But as a first, I'd say either a memory game, tic-tac-toe, or Battleship.  Battleship is just as easy to create as the previous two, but it is a longer project.

If you're feeling really lucky, try a shooting game that uses no-smooth scrolling, something like Ti-83+ Quake but with 2d graphics.  http://www.ticalc.org/archives/files/fileinfo/118/11880.html Using the sprite routine from Appendix B, it's not too difficult to create a non-smooth scrolling tilemapper.  If this is a game you want to try and make, I can give you some pointers such as a "to-do" list.

Quote
i need help. in lesson 8 (the colors program), is the program continuous or does it require a new notepad file if it doesnt say "continued on next page"?

Okay, I see where you're talking about.  I meant to write "continued on next page."  But usually, if you see several red boxes in succession, and if only one of those red boxes has .org 40339 or .org $9D93, the program is continuous.  Does that make sense?

Quote
Yeah... still i'm so into asm that I want to learn it all in a row... I know is not healthy...

And I forgot to mention that there's some stuff in Appendix A that requires knowledge of previous ASM topics
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 06:46:45 pm
so... unless it says .org 40339 or .org $9D93, you continue on where you left off?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 06:51:10 pm
so... unless it says .org 40339 or .org $9D93, you continue on where you left off?

Exactly.  The .org 40339 or .org $9D93 means "begin a new program."  Otherwise, continue the program from the last page.  So the red boxes from pages 6 to 8 are one big program.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 06:53:54 pm
gotcha. now i can continue the lesson. BTW: i tried to compile it, but it said something like "over 225" or something like that. ?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 07:03:10 pm
here it is

Code: [Select]
#include "ti83plus.inc"

.org 40339

.db  t2ByteTok, tAsmCmp



Truck .equ 0

Car .equ 1

Motorcycle .equ 2

Slow_Speed .equ 0

Medium_Speed .equ 1

Fast_Speed .equ 2

Small_Size .equ 0

Medium_Size .equ 1

Big_Size .equ 2

White .equ 0

Light_Grey .equ 1

Dark_Grey .equ 2

Black .equ 3

-----------------------------------------------------------------------

Player1:

.db White,Light_Grey, Truck, Small_Size, Slow_Speed

Player2:

.db Black, Dark_Grey, Car, Medium_Size, Fast_Speed

Player3:

.db Light_Grey, Dark_Grey, Motorcycle, Large_Size, Slow_Speed

Player4:

.db Black, White, Motorcycle, Small_Size, Medium_Speed
-----------------------------------------------------------------------


cp 1

jr z, Load_Player1_Data

cp 2

jr z, Load_Player2_Data

cp 3

jr z, Load_Player3_Data

cp 4

jr z, Load_Player4_Data



Load_Player1_Data:

ld a, (Player1)

ld b, a

ld a, (Player1+1)

ld c, a

ld a, (Player1+2)

ld d, a

ld a, (Player1+3)

ld e, a

ld a, (Player1+4)

ret

Load_Player2_Data:

ld a, (Player2)

ld b, a

ld a, (Player2+1

ld c, a

ld a, (Player2+2)

ld d, a

ld a, (Player2+3)

ld e, a

ld a, (Player2+4)

ret

Load_Player3_Data

ld a, (Player3)

ld b, a

ld a, (Player3+1)

ld c, a

ld a, (Player3+2)

ld d, a

ld a, (Player3+3)

ld e, a

ld a, (Player3+4)

ret

Load_Player4_Data

ld a, (Player4)

ld b, a

ld a, (Player4+1)

ld c, a

ld a, (Player4+2)

ld d, a

ld a, (Player4+3)

ld e, a

ld a, (Player4+4)

ret



Player1:

.db White, Light_Grey, Truck, Small_Size, Slow_Speed

Player2:

.db Black, Dark_Grey, Car, Medium_Size, Fast_Speed

Player3:

.db Light_Grey, Dark_Grey, Motorcycle, Large_Size, Slow+_Speed

Player4:

.db Black, White, Motorcycle, Small_Size, Medium_Speed
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 07:15:44 pm
Start off by changine Big_Size .equ 2 to Large_Size .equ 2.  That was a typo.

Then put parenthesis at the end of ld a, (Player2+1

Finally, look at the code box in your post and remove the lines I put between rows of dashes, such as ---------------------------------------------------
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 07:17:48 pm
i didnt put in those dashes
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 07:18:45 pm
i didnt put in those dashes

I know.  I did to make the lines easy to find
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 07:21:04 pm
oh
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 07:24:40 pm
ok. now when there is a pause in the program (the perfect world), how many spaces should i put in it, 2 or 4?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 07:26:35 pm
Well, it's actually not something you're supposed to run, so it doesn't matter.  I forgot to say that it's just hypothetical.

Try not to double post in the future
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 07:28:26 pm
ok

so what about the others before and after the perfect world?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 09, 2010, 07:31:17 pm
so what about the others before and after the perfect world?

As a rule of thumb, if you see a space, you can do as many as 1 space or as many as 20 spaces.  The number of spaces doesn't matter.

However, if there's no space, don't put in a space.

Here's two examples:

No space before Load_Player3_Data

For call Load_Player_Data, you could type in  call                Load_Player_data
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: adamac16 on November 09, 2010, 07:33:54 pm
kk. ill post any other questions i have with the tutorials when need be.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: coolsnake on November 14, 2010, 01:38:53 pm
I have a question about page 10 from lesson 7.

If you check that A <= 90 shouldn't the ASM equivalent be CP 91 instead of CP 89?
Since you check for the C flag condition, if A were 90 or 89 it wouldn't be set.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calcdude84se on November 14, 2010, 01:56:48 pm
Assuming coolsnake's account of the tutorials are accurate, then it should indeed be "cp 91", like he said.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 14, 2010, 06:38:00 pm
I have a question about page 10 from lesson 7.

If you check that A <= 90 shouldn't the ASM equivalent be CP 91 instead of CP 89?
Since you check for the C flag condition, if A were 90 or 89 it wouldn't be set.

You're right!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on November 28, 2010, 06:51:26 pm
Just a reminder: I've had a lot of people copying and pasting example programs.  If you do that, DO NOT COPY AND PASTE THE LINE #include "ti83plus.inc"  You will get an error if you do not retype it yourself.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Munchor on November 28, 2010, 06:53:34 pm
Just a reminder: I've had a lot of people copying and pasting example programs.  If you do that, DO NOT COPY AND PASTE THE LINE #include "ti83plus.inc"  You will get an error if you do not retype it yourself.

Hah, that reminds me of me :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on November 29, 2010, 04:24:10 pm
Just a reminder: I've had a lot of people copying and pasting example programs.  If you do that, DO NOT COPY AND PASTE THE LINE #include "ti83plus.inc"  You will get an error if you do not retype it yourself.
Why does it cause an error? Is it because you use a different unicode character?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Munchor on November 29, 2010, 04:26:21 pm
Just a reminder: I've had a lot of people copying and pasting example programs.  If you do that, DO NOT COPY AND PASTE THE LINE #include "ti83plus.inc"  You will get an error if you do not retype it yourself.
Why does it cause an error? Is it because you use a different unicode character?

Yes, the quotations marks in the .pdf are not the same quotation marks as quotation marks that should be used in Assembly programs
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on November 30, 2010, 12:06:44 am
Ah ok. I had issues with quotes before in VB classes. The keyboards typed the french quotes that looks like << and >> instead of ". Windows 98 even changed " to << automatically. It made Visual Basic 6.0 programming a major pain until they found a way to fix it.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Munchor on November 30, 2010, 04:06:48 pm
Ah ok. I had issues with quotes before in VB classes. The keyboards typed the french quotes that looks like << and >> instead of ". Windows 98 even changed " to << automatically. It made Visual Basic 6.0 programming a major pain until they found a way to fix it.

Portuguese used to be << >> too :S
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on December 10, 2010, 02:29:16 pm
Looks like in my hurry I forgot to pack my ASM tutorials to make the final changes.  I'm tired of waiting to put the files on ticalc.org and host them here, so I'm just going to look through the files, place the mistakes in the "Changes that couldn't make it" .txt file and leave it at that.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on December 11, 2010, 01:48:23 am
You mean the tutorials doesn't include the latest updates? I guess for now that could work and if later you have the motivation to update the files then you can do it. It can be annoying to upload again and again. X.x
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: LBlock on January 15, 2011, 03:38:22 pm
Hey everyone.  First of all, I want to thank Hot_Dog for making this tutorial.  It's been very helpful so far, and it's increased my interest in joining this community.

So here's my problem.  When I compile all of the code written up to the end of Lesson 11, I get a bunch of junk like this:

Code: [Select]
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:316
7: warning: redefinition of 'TPOLARG'
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:316
7: warning: previous definition of 'TPOLARG' was here
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:316
8: warning: redefinition of 'TRECTG'
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:316
8: warning: previous definition of 'TRECTG' was here
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:316
9: warning: redefinition of 'TCOORDON'
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:316
9: warning: previous definition of 'TCOORDON' was here
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:317
0: warning: redefinition of 'TCOORDOFF'
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:317
0: warning: previous definition of 'TCOORDOFF' was here
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:317
1: warning: redefinition of 'TDRAWLINE'
C:\Documents and Settings\*\Desktop\TI stuff\ASM_programming\ti83plus.inc:317
1: warning: previous definition of 'TDRAWLINE' was here

Similar messages are repeated for pretty much every line of the ti83plus.inc file.  Apparently, the code still compiles fine, though, because spasm still gives me a working .8xp file that displays the menu text exactly like it's supposed to.  Furthermore, every other ASM program I've written has compiled without giving me these warning messages, and I am using the fixed include file that Hot_Dog posted earlier.  I'm just wondering if anyone has any idea what's going on here, and if so, tell me how I can fix it.  Thanks!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: calc84maniac on January 15, 2011, 03:45:40 pm
Hmm, are you sure you didn't accidentally include it twice?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: LBlock on January 15, 2011, 03:50:41 pm
Yep, that was it.  I included it in one of the other files.  Thanks!  Now I'll know why this error pops up in the future  :P
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on January 15, 2011, 03:55:09 pm
First of all, I want to thank Hot_Dog for making this tutorial.  It's been very helpful so far, and it's increased my interest in joining this community.

Your welcome, and I'm glad that you were eager to join because of it!  Welcome by the way, and be sure to introduce yourself!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: DJ Omnimaga on January 18, 2011, 01:43:36 am
Heya LBlock! Welcome on the forums! Don't forget to introduce yourself in the tortureintroduction forum. ;D Also I'm glad you're interested in calc programming. I can't wait to see what you want to work on. :)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: ralphdspam on March 22, 2011, 02:45:09 am
I know, this is a necropost. :P

I just want to thank you so much, Hot_Dog!  Your lessons have been fun and educational at the same time.  Your lessons were well thought out and well written. 

I have tried other ASM tutorials, but this is the first one I have actually understood. 

After reading your lessons, I can understand 28 days and many other great tutorials. 
There is really no way to fully express my gratitude.  Thank you.  :D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: jnesselr on March 22, 2011, 03:35:35 pm
That isn't really a necropost at all, for the record.

And is there somewhere online where these are all hosted together?  Like 83 plus in 28 days was hosted on dragonfire, I think.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on March 22, 2011, 03:40:33 pm
Netham45 and DJ offered hosting here, so I'm working on that when I'm done with Correlation.  There are several typos I want to fix, because I know that once I put them up I'm going to be lazy to go back and fix an issue here and an issue there
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: aeTIos on March 22, 2011, 04:19:41 pm
Hot_Dog, I havent replied to this yet, but:
WOW on this tutorial, it finally took me on ASM!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Munchor on March 22, 2011, 06:12:27 pm
Hot_Dog, I havent replied to this yet, but:
WOW on this tutorial, it finally took me on ASM!

Great aeTIos, it got me started too, but then I didn't finish them yet.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Scipi on March 22, 2011, 08:52:48 pm
This tutorial is awesome. I failed to learn ASM twice from reading 28 days. (was always registers and flags that confused me) I read your tutorial and it completely clicked! I printed out every lesson (including new lesson 13 and 14 as well as appendices A,B,C, and D) and the stack is HUGE! You have over 300-400 pages there I'd say. And your tutorials are so easy to read, I finished them in merely a week.
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on March 22, 2011, 08:59:27 pm
Thank you everyone for your feedback!  The time I spent creating these lessons was definitely worth it, and I hope to see some great ASM games in the future (even though Ti-Basic and Axe are amazing as well)
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: aeTIos on March 23, 2011, 05:42:59 am
Ah, I'm now at lesson 10 and I started yesterday lol. ASM is just addicting ;D
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on March 23, 2011, 12:41:11 pm
Addicting is correct...Once I finally understood 28 days I couldn't stop reading about it!
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Deep Toaster on March 23, 2011, 12:53:57 pm
And I gotta thank you for Appendix A. That's something 28D never covered :D

And was there going to be an Appendix B?
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Hot_Dog on March 23, 2011, 02:28:57 pm
And I gotta thank you for Appendix A. That's something 28D never covered :D

And was there going to be an Appendix B?

Ugh, I really need to update the first thread.  Go to here:

http://www.omnimaga.org/index.php?action=downloads;sa=view;down=594
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: aeTIos on March 23, 2011, 03:57:18 pm
Addicting is correct...Once I finally understood 28 days I couldn't stop reading about it!
I can't even stop now, when I dont understand 28D fully xD
Title: Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
Post by: Deep Toaster on March 23, 2011, 05:09:09 pm
And I gotta thank you for Appendix A. That's something 28D never covered :D

And was there going to be an Appendix B?

Ugh, I really need to update the first thread.  Go to here:

http://www.omnimaga.org/index.php?action=downloads;sa=view;down=594

Oh, thanks.