Author Topic: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion  (Read 124394 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #285 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!

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #286 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.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #287 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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #288 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?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #289 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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #290 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.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #291 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

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #292 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #293 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

Offline LBlock

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #294 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!

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #295 on: January 15, 2011, 03:45:40 pm »
Hmm, are you sure you didn't accidentally include it twice?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline LBlock

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #296 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
« Last Edit: January 15, 2011, 03:51:23 pm by LBlock »

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #297 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!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #298 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. :)

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #299 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
ld a, 0
ld a, a