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

0 Members and 2 Guests are viewing this topic.

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 #30 on: May 02, 2010, 02:21:32 pm »
Bad TI :(

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #31 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.
Bug me about my book.

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







Offline 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 #32 on: May 02, 2010, 02:24:45 pm »
Can I see your test.asm?

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #33 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
Bug me about my book.

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







Offline 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 #34 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.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #35 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
« Last Edit: May 02, 2010, 02:36:46 pm by Raylin »
Bug me about my book.

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







Offline 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 #36 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.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #37 on: May 02, 2010, 02:48:15 pm »
Yeah.
The new ti83plus.inc I speak of is the one downloaded from TI's site.
Bug me about my book.

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







Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #39 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?
Bug me about my book.

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







Offline 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 #40 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.

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 #41 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.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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

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

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 #44 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