LZ: CAZ is BUGGING me...!!!


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

LZ: CAZ is BUGGING me...!!!



Okay, here's another problem for all of you successful (I'm doubting your
existence at the moment) CAZ users:


When I assemble the following, I get:


  14:   CALL_(PLOTPIXEL)
     ^ Unknown Command
  20:   CALL_(PLOTPIXEL)
     ^ Unknown Command
  26:   CALL_(PLOTPIXEL)
     ^ Unknown Command


Numbers are Line Numbers given by CAZ.


Basically, the problem is that CAZ ISN'T LETTING ME USE CALLS!!!  WHAT THE
HECK?  SHOULDN'T THIS WORK?  Here's the code:




#INCLUDE 'TI-85.H'


ORG 0
DEFM 'Example 4', 0


INIT:
        LD A, 4
        OUT (5), A
        CALL ROM_CALL
        DEFW CLEARLCD
        LD B, 10
        LD C, 10
        LD A, 0
        CALL_(PLOTPIXEL)




        LD B, 20
        LD C, 20
        LD A, 0
        CALL_(PLOTPIXEL)




        LD B, 100
        LD C, 50
        LD A, 0
        CALL_(PLOTPIXEL)


WAIT:
        CALL GET_KEY
        CP 0X9
        RET Z


        JR NZ, WAIT


PLOTPIXEL:
        CALL ROM_CALL
        DEFW FIND_PIXEL
        LD DE, 0XFC00
        ADD HL, DE
        OR (HL)
        LD (HL), A
        RET


END








BTW, thanks again to Tim FitzRandolph for his zteach and to anyone who
helps me in advance.


 ________________________________________________________________
| Marc Heikens                 |  Fear not all is well.          |
| kheikens@owt.com             |  Fear, not all is well.         |
|______________________________|  Fear not, all is well.         |
|  Reduce your stress level!   |                                 |
|  Buy a Macintosh!            |  --Truth lies in interpretation.|
|______________________________|_________________________________|


Follow-Ups: