Author Topic: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion  (Read 112610 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 #240 on: October 08, 2010, 10:05:11 am »
Yeah, I forgot about that.  I use the older skin, which give me an older banner

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • 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 #241 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.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • 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 #243 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)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #244 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?
Sig wipe!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • 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 #245 on: October 15, 2010, 12:13:21 pm »
He ditched a few of them as well as some lessons recently. I forgot which one.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #247 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)
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

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

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 #249 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?

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #250 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)
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

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

Offline kyllopardiun

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 178
  • Rating: +14/-4
  • Kyllopardiun over 2000 results in google.
    • View Profile
    • Kyllo's blog (a blog about poetry, videos and computing)
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #252 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 ...

ASHBAD_ALVIN

  • Guest
Re: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion
« Reply #253 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

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 #254 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.
« Last Edit: October 24, 2010, 09:17:07 pm by DJ Omnimaga »