home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff267.lzh
/
Diglib
/
diglib.zoo
/
diglib
/
mov.asm
< prev
next >
Wrap
Assembly Source File
|
1989-06-20
|
1KB
|
34 lines
**************************************************************************
*
* MOV by Jim Locker, SofTech Inc.
* 19 June, 1989
*
* called from AbSoft Fortran
* calls system MOVE routine
* Needed because Amiga.sub is too slow.
*
* USAGE:
*
* Call MOV(GFXBASE,RastPort,X,Y)
*
***************************************************************************
_LVOMOVE EQU -240
MOV:
MOVE.L 4(A7),A3 *LOAD POINTER TO Y POSITION
MOVE.L (A3),D1 *LOAD Y POSITION
MOVE.L 8(A7),A3 *LOAD POINTER TO X POSITION
MOVE.L (A3),D0 *LOAD X POSITION
MOVE.L 12(A7),A3 *LOAD POINTER TO RP POINTER
MOVEA.L (A3),A1 *LOAD RP POINTER
MOVE.L 16(A7),A3 *LOAD POINTER TO GFXBASE
MOVEM.L A0/A4-A6,-(A7) *SAVE EVERYTHING WE NEED
MOVEA.L (A3),A6 *MOVE IN GRAPHICS LIB POINTER
* move.l d0,-(a7)
* move.l #0,d0
* JSR -114(a6)
JSR _LVOMOVE(A6) *CALL MOVE
MOVEM.L (A7)+,A0/A4-A6 *RESTORE EVERYTHING
RTS