LZ: Problem with Mac-Caz...


[Prev][Next][Index][Thread]

LZ: Problem with Mac-Caz...



   I tryed to assemble the Nibbles program with the new version of mac-caz
(1.26), but it came up with a bunch of errors in the TI-85.h file.
   What should I do?


Stan Grinter
jgrinter@aol.com


This is exactly what is said:


caz -o Nibbles.85s NIBBLES.ASM


Z80_Assembler 1.26ss (7 January 94) c1992-94 by Carsten Rose
Macintosh (68K) port 1.0b1 by Christian Taylor (Jun 25 1996)


Parse 1
Error in File:TI-85.h
  16:#DEFINE ROM_CALL(index)         call $8C09 \ .db index
             ^ Unknown Command
Error in File:TI-85.h
  17:#DEFINE CALL_Z(addr)            call $8C0C \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  18:#DEFINE CALL_(addr)             call $8C0F \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  19:#DEFINE CALL_NZ(addr)           call $8C12 \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  20:#DEFINE CALL_C(addr)            call $8C18 \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  21:#DEFINE CALL_NC(addr)           call $8C1E \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  22:#DEFINE JUMP_Z(addr)            call $8C24 \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  23:#DEFINE JUMP_(addr)             call $8C27 \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  24:#DEFINE JUMP_NZ(addr)           call $8C2A \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  25:#DEFINE JUMP_C(addr)            call $8C30 \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  26:#DEFINE JUMP_NC(addr)           call $8C36 \ .dw addr
             ^ Unknown Command
Error in File:TI-85.h
  32:PROGRAM_ADDR   =$8C3C  ; program address
                    ^ Unknown Command
Error in File:TI-85.h
  33:ROM_VERS   =$8C3E  ; ROM version byte
                ^ Unknown Command
Error in File:TI-85.h
  34:ZSHELL_VER =$8C3F  ; ZShell version number
                ^ Unknown Command
Error in File:TI-85.h
  35:ZS_BITS        =$8C40  ; bit 0 set : checksum again
                    ^ Unknown Command
Error in File:TI-85.h
  46:LD_HL_MHL       =$0033  ; HL=(HL), A=L
                     ^ Unknown Command
Error in File:TI-85.h
  47:CP_HL_DE        =$008E  ; CP HL,DE (modifies flags only)
                     ^ Unknown Command
Error in File:TI-85.h
  48:UNPACK_HL       =$009A  ; unpacks one digit of HL into %A
                     ^ Unknown Command
Error in File:TI-85.h
  49:STORE_KEY       =$01B1  ; store immediate keystroke from %A
                     ^ Unknown Command
Error in File:TI-85.h
  50:GET_KEY         =$01BE  ; get immediate keystroke into %A
                     ^ Unknown Command
Error in File:TI-85.h
  58:TX_CHARPUT       =$00   ; xlated display of %A on screen, normal text
style
                      ^ Unknown Command
Error in File:TI-85.h
  59:D_LT_STR         =$01   ; display length-byte normal text string
                      ^ Unknown Command
Error in File:TI-85.h
  60:M_CHARPUT        =$02   ; display %A on screen, menu style
                      ^ Unknown Command
Error in File:TI-85.h
  61:D_ZM_STR         =$03   ; display zero-terminated string,  menu style
                      ^ Unknown Command
Error in File:TI-85.h
  62:D_LM_STR         =$04   ; display length-byte string, menu style
                      ^ Unknown Command
Error in File:TI-85.h
  63:GET_T_CUR        =$05   ; HL = absolute address of text cursor
                      ^ Unknown Command
Error in File:TI-85.h
  64:SCROLL_UP        =$06   ; scroll text screen up
                      ^ Unknown Command
Error in File:TI-85.h
  65:TR_CHARPUT       =$07   ; raw display of %A on screen, normal text style
                      ^ Unknown Command
Error in File:TI-85.h
  66:CLEARLCD         =$08   ; clear LCD, but not text or graphics memory
                      ^ Unknown Command
Error in File:TI-85.h
  67:D_HL_DECI        =$09   ; disp. HL as 5-byte, right just., blank-pad.
decimal
                      ^ Unknown Command
Error in File:TI-85.h
  68:CLEARTEXT        =$0A   ; clear LCD and text memory (affected by
1,(IY+13))
                      ^ Unknown Command
Error in File:TI-85.h
  69:D_ZT_STR         =$0B   ; display zero-terminated normal text string
                      ^ Unknown Command
Error in File:TI-85.h
  70:BUSY_OFF         =$0C   ; turn off "busy" indicataor
                      ^ Unknown Command
Error in File:TI-85.h
  71:BUSY_ON          =$0D   ; turn on "busy" indicator
                      ^ Unknown Command
Error in File:TI-85.h
  72:FIND_PIXEL       =$80   ; Find location in RAM for a pixel on the GFX
screen
                      ^ Unknown Command
Error in File:TI-85.h
  79:KEY_0      =$8000  ; translated scancode of last key, but 0 if gotten
                ^ Unknown Command
Error in File:TI-85.h
  80:KEY_1      =$8001  ; translated scancode of key down now
                ^ Unknown Command
Error in File:TI-85.h
  81:KEY_2      =$8002  ; same as 8001, but $FF if more than one key is down
                ^ Unknown Command
Error in File:TI-85.h
  82:KEY_STAT   =$8004  ; bit 2 set = key down now
                ^ Unknown Command
Error in File:TI-85.h
  83:LAST_KEY   =$8006  ; last key pressed
                ^ Unknown Command
Error in File:TI-85.h
  84:CONTRAST   =$8007  ; contrast
                ^ Unknown Command
Error in File:TI-85.h
  85:CURSOR_ROW =$800C  ; text cursor row
                ^ Unknown Command
Error in File:TI-85.h
  86:CURSOR_COL =$800D  ; text cursor column
                ^ Unknown Command
Error in File:TI-85.h
  87:CURSOR_LET =$800E  ; letter under text cursor
                ^ Unknown Command
Error in File:TI-85.h
  88:BUSY_COUNTER   =$8080  ; counter for busy indicator
                    ^ Unknown Command
Error in File:TI-85.h
  89:BUSY_BITMAP    =$8081  ; bitmap for busy indicator
                    ^ Unknown Command
Error in File:TI-85.h
  90:CURR_INPUT =$80C6  ; -> current home-screen input
                ^ Unknown Command
Error in File:TI-85.h
  91:BYTES_USED =$80CC  ; # of used user memory (Add to 80C8 to find first 
                ^ Unknown Command
Error in File:TI-85.h
  93:TEXT_MEM   =$80DF  ; text memory
                ^ Unknown Command
Error in File:TI-85.h
  94:CURSOR_ROW2    =$800C  ; text cursor row
                    ^ Unknown Command
Error in File:TI-85.h
  95:CURSOR_COL2    =$800D  ; text cursor column
                    ^ Unknown Command
Error in File:TI-85.h
  96:CHECKSUM   =$81BE  ; memory checksum from 8BF7 to FA6F
                ^ Unknown Command
Error in File:TI-85.h
  97:CURSOR_X   =$8333  ; x value of cursor
                ^ Unknown Command
Error in File:TI-85.h
  98:CURSOR_Y   =$8334  ; y value of cursor
                ^ Unknown Command
Error in File:TI-85.h
  99:_IY_TABLE  =$8346  ; where IY usually points
                ^ Unknown Command
Error in File:TI-85.h
 100:GRAPH_MEM  =$8641  ; graphics memory
                ^ Unknown Command
Error in File:TI-85.h
 101:TEXT_MEM2  =$8A6B  ; secondary text memory
                ^ Unknown Command
Error in File:TI-85.h
 102:USER_MEM   =$8B1B  ; -> start of user memory
                ^ Unknown Command
Error in File:TI-85.h
 103:FIXED_POINT    =$8B3A  ; fixed-point decimal place (FFh for floating
point)
                    ^ Unknown Command
Error in File:TI-85.h
 104:VAT_END        =$8BEB  ; -> one byte before end of VAT (backwards)
                    ^ Unknown Command
Error in File:TI-85.h
 105:VAT_START  =$FA6F  ; start of VAT
                ^ Unknown Command
Error in File:TI-85.h
 106:VIDEO_MEM  =$FC00  ; video memory
                ^ Unknown Command
   9:MASK_XMOVE = TEXT_MEM
                ^ Unknown Command
  10:MASK_YMOVE = TEXT_MEM+1
                ^ Unknown Command
  11:OBJ_PICKEDUP   = TEXT_MEM+2
                    ^ Unknown Command
  12:OBJ_XPOS   = TEXT_MEM+3
                ^ Unknown Command
  13:OBJ_YPOS   = TEXT_MEM+4
                ^ Unknown Command
  14:MASK_MOVE  = TEXT_MEM+5
                ^ Unknown Command
  15:MASK_START = TEXT_MEM+6
                ^ Unknown Command
  16:MASK_END   = TEXT_MEM+8
                ^ Unknown Command
  17:MASK_WANNASTART    = TEXT_MEM+10
                        ^ Unknown Command
  18:randvar        = TEXT_MEM+12
                    ^ Unknown Command
  19:SCORE      = TEXT_MEM+14       ; NOTE! WORD
                ^ Unknown Command
  20:DELAY_TIME = TEXT_MEM+16       ; NOTE! WORD
                ^ Unknown Command
  21:DELAY_COUNTER  = TEXT_MEM+18       ; NOTE! WORD
                    ^ Unknown Command
  22:MASK_DATA  = TEXT_MEM+20       ; NOTE! WORD
                ^ Unknown Command
  23:MASK_STEER = TEXT_MEM+22
                ^ Unknown Command
  24:LEVEL      = TEXT_MEM+23
                ^ Unknown Command
  25:TMPSCORE   = TEXT_MEM+24
                ^ Unknown Command
  27:masklen_size   = 180
                    ^ Unknown Command
  28:lastlevel  = 10
                ^ Unknown Command
  29:speed_slowest  = 1500
                    ^ Unknown Command
  30:speed_slow = 1100
                ^ Unknown Command
  31:speed_normal   = 800
                    ^ Unknown Command
  32:speed_fast = 350
                ^ Unknown Command
  33:speed_fastest  = 127
                    ^ Unknown Command
  38:   ROM_CALL(CLEARLCD)
     ^ Unknown Command
  68:   ROM_CALL(CLEARLCD)
     ^ Unknown Command
  92:   JUMP_NZ(StartLevel)
     ^ Unknown Command
  96:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 100:   ROM_CALL(D_ZM_STR)
     ^ Unknown Command
 103:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 106:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 109:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 112:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 115:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 118:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 121:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 124:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 128:   ld  l,(ix)
              ^ Wrong type of Argument
 136:   ld  (ix),a
            ^ Wrong type of Argument
 141:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 143:   CALL_(  DisplayLevel)
              ^ Unknown Command
 152:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 163:   JUMP_(  DispSpeed)
              ^ Unknown Command
 166:   CALL_(  GetRandom)
              ^ Unknown Command
 170:   JUMP_Z( StartLevel)
               ^ Unknown Command
 172:   JUMP_Z( ExitGame)
               ^ Unknown Command
 178:   JUMP_Z( SetSpeed_1)
               ^ Unknown Command
 180:   JUMP_Z( SetSpeed_2)
               ^ Unknown Command
 182:   JUMP_Z( SetSpeed_3)
               ^ Unknown Command
 184:   JUMP_Z( SetSpeed_4)
               ^ Unknown Command
 186:   JUMP_Z( SetSpeed_5)
               ^ Unknown Command
 207:   ld  (ix),a
            ^ Wrong type of Argument
 209:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 215:   ld  b,(ix)
              ^ Wrong type of Argument
 227:   JUMP_Z( WaitKey_Set)
               ^ Unknown Command
 231:   CALL_(  DisplayLevel)
              ^ Unknown Command
 232:   JUMP_(  WaitKey_Set)
              ^ Unknown Command
 258:   ld  (ix),c
            ^ Wrong type of Argument
 262:   ld  (ix),l
            ^ Wrong type of Argument
 265:   CALL_(  DisplayMenuTxt)
              ^ Unknown Command
 266:   JUMP_(  WaitKey_Set)
              ^ Unknown Command
 284:   ld  (ix),a
            ^ Wrong type of Argument
 304:   ld  (ix),a
            ^ Wrong type of Argument
 316:   ROM_CALL(CLEARLCD)
     ^ Unknown Command
 322:   ld  (ix),$FF
            ^ Wrong type of Argument
 329:   ld  (ix),$C0
            ^ Wrong type of Argument
 336:   ld  (ix),$FF
            ^ Wrong type of Argument
 348:   JUMP_Z( DrawLevel_5)
               ^ Unknown Command
 350:   JUMP_Z( DrawLevel_6)
               ^ Unknown Command
 352:   JUMP_Z( DrawLevel_7)
               ^ Unknown Command
 354:   JUMP_Z( DrawLevel_8)
               ^ Unknown Command
 356:   JUMP_Z( DrawLevel_9)
               ^ Unknown Command
 358:   JUMP_Z( DrawLevel_10)
               ^ Unknown Command
 359:   JUMP_(  DrawObjects)
              ^ Unknown Command
 366:   ld  (ix),a
            ^ Wrong type of Argument
 370:   JUMP_(  DrawObjects)
              ^ Unknown Command
 378:   ld  (ix),a
            ^ Wrong type of Argument
 382:   JUMP_(  DrawObjects)
              ^ Unknown Command
 390:   ld  (ix),a
            ^ Wrong type of Argument
 399:   ld  (ix),a
            ^ Wrong type of Argument
 407:   ld  (ix),a
            ^ Wrong type of Argument
 415:   ld  (ix),a
            ^ Wrong type of Argument
 419:   JUMP_(  DrawObjects)
              ^ Unknown Command
 424:   ld  (ix),a
            ^ Wrong type of Argument
 437:   ld  (ix),a
            ^ Wrong type of Argument
 454:   ld  (ix),$0c
            ^ Wrong type of Argument
 458:   JUMP_(  DrawObjects)
              ^ Unknown Command
 466:   ld  (ix),a
            ^ Wrong type of Argument
 479:   ld  (ix),a
            ^ Wrong type of Argument
 489:   JUMP_(  DrawObjects)
              ^ Unknown Command
 497:   ld  (ix),a
            ^ Wrong type of Argument
 502:   JUMP_(  DrawObjects)
              ^ Unknown Command
 510:   ld  (ix),a
            ^ Wrong type of Argument
 520:   ld  (ix),a
            ^ Wrong type of Argument
 526:   JUMP_(  DrawObjects)
              ^ Unknown Command
 534:   ld  (ix),a
            ^ Wrong type of Argument
 560:   ld  (ix),$c0
            ^ Wrong type of Argument
 576:   ld  (ix),a
            ^ Wrong type of Argument
 598:   CALL_(  PutObject)
              ^ Unknown Command
 603:   CALL_(  DrawSegment)
              ^ Unknown Command
 606:   ld  b,(ix)
              ^ Wrong type of Argument
 608:   CALL_(  DrawSegment)
              ^ Unknown Command
 611:   CALL_(  DrawSegment)
              ^ Unknown Command
 614:   CALL_(  DrawSegment)
              ^ Unknown Command
 617:   CALL_(  DrawSegment)
              ^ Unknown Command
 620:   CALL_(  DrawSegment)
              ^ Unknown Command
 626:   ld  b,(ix)          ; b = x pos
              ^ Wrong type of Argument
 648:   ld  (ix),b
            ^ Wrong type of Argument
 652:   ROM_CALL(FIND_PIXEL)
     ^ Unknown Command
 657:   JUMP_Z(UpdateScr_1)
     ^ Unknown Command
 662:   JUMP_NZ(LooseGame)
     ^ Unknown Command
 666:   JUMP_NZ(LooseGame)
     ^ Unknown Command
 693:   JUMP_Z( WonGame)
               ^ Unknown Command
 699:   CALL_(  PutObject)
              ^ Unknown Command
 704:   CALL_(  DrawSegment)
              ^ Unknown Command
 709:   CALL_(  DrawSegment)
              ^ Unknown Command
 726:   ld  b,(ix)
              ^ Wrong type of Argument
 729:   CALL_(  ClearPixel)
              ^ Unknown Command
 731:   CALL_(  ClearPixel)
              ^ Unknown Command
 733:   CALL_(  ClearPixel)
              ^ Unknown Command
 735:   CALL_(  ClearPixel)
              ^ Unknown Command
 763:   cp  -1
            ^ Wrong type of Argument
 764:   JUMP_Z( UpdatePos_0)
               ^ Unknown Command
 773:   cp  -1
            ^ Wrong type of Argument
 774:   JUMP_Z( UpdatePos)
               ^ Unknown Command
 799:   JUMP_(  CheckKey_Input)
              ^ Unknown Command
 825:   JUMP_(  CheckKey_Input)
              ^ Unknown Command
 830:   JUMP_(  CheckKey_Input)
              ^ Unknown Command
 856:   JUMP_(  CheckKey_Input)
              ^ Unknown Command
 860:   JUMP_(  CheckKey_Input)
              ^ Unknown Command
 868:   JUMP_Z( CheckKey_Input)
               ^ Unknown Command
 870:   JUMP_Z( ExitGame)
               ^ Unknown Command
 875:   JUMP_NZ(CheckKey_Input)
     ^ Unknown Command
 876:   JUMP_(  ExitGame)
              ^ Unknown Command
 889:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 894:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 897:   ROM_CALL(D_HL_DECI)
     ^ Unknown Command
 903:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 924:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 936:   JUMP_(  PlayNewLevel)
              ^ Unknown Command
 944:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 950:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 952:   ROM_CALL(D_HL_DECI)
     ^ Unknown Command
 953:   CALL_(  UpdateLastLevel)
              ^ Unknown Command
 983:   ROM_CALL(D_ZT_STR)
     ^ Unknown Command
 988:   JUMP_Z( RestartGame)
               ^ Unknown Command
 993:   CALL_(  UpdateLastLevel)
              ^ Unknown Command
 999:   ROM_CALL(FIND_PIXEL)
     ^ Unknown Command
1007:   ROM_CALL(FIND_PIXEL)
     ^ Unknown Command
1016:   CALL_(  SetPixel)
              ^ Unknown Command
1018:   CALL_(  SetPixel)
              ^ Unknown Command
1020:   CALL_(  SetPixel)
              ^ Unknown Command
1022:   CALL_(  SetPixel)
              ^ Unknown Command
1026:   CALL_(  GetRandom)
              ^ Unknown Command
1036:   CALL_(  GetRandom)
              ^ Unknown Command
1048:   ROM_CALL(FIND_PIXEL)
     ^ Unknown Command
1075:   ROM_CALL(D_ZM_STR)
     ^ Unknown Command
1085:   ROM_CALL(M_CHARPUT)
     ^ Unknown Command
1087:   ROM_CALL(M_CHARPUT)
     ^ Unknown Command
1089:   ROM_CALL(M_CHARPUT)
     ^ Unknown Command
1091:   ROM_CALL(M_CHARPUT)
     ^ Unknown Command
1094:   ROM_CALL(M_CHARPUT)
     ^ Unknown Command
1096:   ROM_CALL(M_CHARPUT)
     ^ Unknown Command
1145:   .block  masklen_size
              ^ Unknown Command




Assembling failed.
Found 226 errors.
Assembly complete.