home *** CD-ROM | disk | FTP | other *** search
- InitPlot:
- move.l #$60000,d0 ;Plot plan!
- move.w #255,d1
- lea ypos(pc),a0
- lea xpos(pc),a1
- clr.l d2
- Initplot1:
- move.l d0,(a0)+
- add.l #40,d0
- dbf d1,initplot1
- move.w #319,d1
- clr.l d0
- Initplot2:
- move.l d0,d2
- divu #8,d2
- move.b d2,(a1)+
- swap d2
- move.b d2,d4
- eor #7,d4
- move.b d4,(a1)+
- add.w #1,d0
- dbf d1,initplot2
- rts
-
- Plot:
- asl #2,d0
- asl #1,d1
- move.l (a0,d0.w),a1
- move.b (a2,d1.w),d4
- move.b 1(a2,d1.w),d1
- bset d1,(a1,d4.b)
- rts
-
- UnPlot:
- asl #2,d0
- asl #1,d1
- move.l (a0,d0.w),a1
- move.b (a2,d1.w),d4
- move.b 1(a2,d1.w),d1
- bclr d1,(a1,d4.b)
- rts
-
- ypos:
- blk.l 256,0
- xpos:
- blk.l 320,0