Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 06:09:17 *
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 ... 14 15 [16] 17 18 ... 21   Go Down
  Print  
Author Topic: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion -  (Read 20210 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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #225 on: 24 September, 2010, 17:43:10 »
0

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

Raylin
Godslayer
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 25 February, 2013, 17:03:58
Date Registered: 01 July, 2009, 22:55:16
Location: In the City of Labyrinth
Posts: 1405


Total Post Ratings: +53

View Profile WWW
« Reply #226 on: 24 September, 2010, 18:05:19 »
0

Hot_Dog, could you hit me up with a single zip file with everything? Thanks.
Logged

Bug me about my book.

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








Phantom Sanctuary: Sins of the Savior [==........] 20%
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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #227 on: 24 September, 2010, 18:11:07 »
0

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

oln9488
LV0 Newcomer (Next: 5)

Offline Offline

Last Login: 27 August, 2011, 17:50:44
Date Registered: 27 September, 2010, 17:30:23
Posts: 3

Total Post Ratings: 0

View Profile
« Reply #228 on: 27 September, 2010, 17:36:38 »
0

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! 
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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #229 on: 30 September, 2010, 08:04:50 »
0

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!
« Last Edit: 30 September, 2010, 08:06:59 by Hot_Dog » 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.

oln9488
LV0 Newcomer (Next: 5)

Offline Offline

Last Login: 27 August, 2011, 17:50:44
Date Registered: 27 September, 2010, 17:30:23
Posts: 3

Total Post Ratings: 0

View Profile
« Reply #230 on: 02 October, 2010, 23:59:55 »
0

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?
Logged
meishe91
Super Ninja
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 02 May, 2013, 23:54:14
Date Registered: 05 March, 2010, 05:39:48
Posts: 2965


Total Post Ratings: +102

View Profile WWW
« Reply #231 on: 03 October, 2010, 00:33:26 »
0

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:


1
2
3
4
5
6
7
8
9
10
11
12
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
« Last Edit: 03 October, 2010, 00:34:39 by meishe91 » Logged





For the 51st time, that is not my card! (Magic Joke)
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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #232 on: 03 October, 2010, 01:12:28 »
0

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

oln9488
LV0 Newcomer (Next: 5)

Offline Offline

Last Login: 27 August, 2011, 17:50:44
Date Registered: 27 September, 2010, 17:30:23
Posts: 3

Total Post Ratings: 0

View Profile
« Reply #233 on: 03 October, 2010, 04:38:55 »
0

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!
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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #234 on: 03 October, 2010, 08:52:20 »
0

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.
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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #235 on: 07 October, 2010, 11:06:09 »
0

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.
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: --)
*
Online Online

Gender: Male
Last Login: Today at 06:02:07
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50225


Total Post Ratings: +2615

View Profile WWW
« Reply #236 on: 07 October, 2010, 15:35:14 »
0

Cool! By draft, do you mean that there will be another version released later?
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
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: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #237 on: 07 October, 2010, 19:17:03 »
0

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
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: --)
*
Online Online

Gender: Male
Last Login: Today at 06:02:07
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50225


Total Post Ratings: +2615

View Profile WWW
« Reply #238 on: 07 October, 2010, 23:46:11 »
0

Cool! Cheesy

I saw it in the archives now Cheesy
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
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: --)
*
Online Online

Gender: Male
Last Login: Today at 06:02:07
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50225


Total Post Ratings: +2615

View Profile WWW
« Reply #239 on: 08 October, 2010, 09:58:43 »
0

Double-post: I didn't check all but in the last lesson, the Omnimaga banner used is very outdated Tongue. It might be best to use the default one since it's what will show up if someone decides to visit the site. Tongue

Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: 1 ... 14 15 [16] 17 18 ... 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.331 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.