Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 15:34:29 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 18 19 [20] 21   Go Down
  Print  
Author Topic: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion -  (Read 20527 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:35:58
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2942


Topic starter
Total Post Ratings: +432

View Profile
« Reply #285 on: 15 November, 2010, 01:38:00 »
0

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!
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:35:58
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2942


Topic starter
Total Post Ratings: +432

View Profile
« Reply #286 on: 29 November, 2010, 01:51:26 »
0

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.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #287 on: 29 November, 2010, 01:53:34 »
0

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 Tongue
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2637

View Profile WWW
« Reply #288 on: 29 November, 2010, 23:24:10 »
0

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?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #289 on: 29 November, 2010, 23:26:21 »
0

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
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2637

View Profile WWW
« Reply #290 on: 30 November, 2010, 07:06:44 »
0

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.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #291 on: 30 November, 2010, 23:06:48 »
0

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
Logged
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:35:58
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2942


Topic starter
Total Post Ratings: +432

View Profile
« Reply #292 on: 10 December, 2010, 21:29:16 »
0

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.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2637

View Profile WWW
« Reply #293 on: 11 December, 2010, 08:48:23 »
0

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
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
LBlock
LV0 Newcomer (Next: 5)

Offline Offline

Last Login: 18 February, 2011, 23:04:46
Date Registered: 28 November, 2010, 01:46:38
Posts: 2

Total Post Ratings: 0

View Profile
« Reply #294 on: 15 January, 2011, 22:38:22 »
0

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:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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!
Logged
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Online Online

Gender: Male
Last Login: Today at 15:30:11
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2738


Total Post Ratings: +376

View Profile
« Reply #295 on: 15 January, 2011, 22:45:40 »
0

Hmm, are you sure you didn't accidentally include it twice?
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
LBlock
LV0 Newcomer (Next: 5)

Offline Offline

Last Login: 18 February, 2011, 23:04:46
Date Registered: 28 November, 2010, 01:46:38
Posts: 2

Total Post Ratings: 0

View Profile
« Reply #296 on: 15 January, 2011, 22:50:41 »
0

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  Tongue
« Last Edit: 15 January, 2011, 22:51:23 by LBlock » Logged
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:35:58
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2942


Topic starter
Total Post Ratings: +432

View Profile
« Reply #297 on: 15 January, 2011, 22:55:09 »
0

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!
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2637

View Profile WWW
« Reply #298 on: 18 January, 2011, 08:43:36 »
0

Heya LBlock! Welcome on the forums! Don't forget to introduce yourself in the tortureintroduction forum. Grin Also I'm glad you're interested in calc programming. I can't wait to see what you want to work on. Smiley
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
ralphdspam
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 09:10:11
Date Registered: 01 February, 2011, 07:58:40
Location: California, USA
Posts: 841


Total Post Ratings: +36

View Profile
« Reply #299 on: 22 March, 2011, 08:45:09 »
+1

I know, this is a necropost. Tongue

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.  Cheesy
Logged

ld a, 0
ld a, a
Pages: 1 ... 18 19 [20] 21   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.379 seconds with 32 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.