home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
M.u.C.S. Disc 2000
/
MUCS2000.iso
/
falcon
/
whip.031
/
vlm
/
sparkle
/
source
/
vlmserv.s
< prev
Wrap
Text File
|
1999-06-18
|
2KB
|
94 lines
vlm_set_vblrout macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l (a1),a1
move.l \1,a0
jsr (a1)
movem.l (sp)+,d0-2/a0-1
endm
vlm_wait_vbl macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 4(a1),a1
jsr (a1)
movem.l (sp)+,d0-2/a0-1
endm
vlm_set_scradr macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 8(a1),a1
move.l \1,a0
jsr (a1)
movem.l (sp)+,d0-2/a0-1
endm
VLM_320x240x16 = 1
VLM_320x100x16 = 2
VLM_320x240x8 = 3
VLM_320x100x8 = 4
vlm_set_resolution macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 12(a1),a1
move.w \1,d0
jsr (a1)
movem.l (sp)+,d0-2/a0-1
endm
vlm_get_left_spec macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 16(a1),a1
jsr (a1)
move.l a0,\1
movem.l (sp)+,d0-2/a0-1
endm
vlm_get_right_spec macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 20(a1),a1
jsr (a1)
move.l a0,\1
movem.l (sp)+,d0-2/a0-1
endm
vlm_get_left_volume macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 24(a1),a1
jsr (a1)
move.l d0,\1
movem.l (sp)+,d0-2/a0-1
endm
vlm_get_right_volume macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 28(a1),a1
jsr (a1)
move.l d0,\1
movem.l (sp)+,d0-2/a0-1
endm
vlm_get_left_osci macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 32(a1),a1
jsr (a1)
move.l a0,\1
movem.l (sp)+,d0-2/a0-1
endm
vlm_get_right_osci macro
movem.l d0-2/a0-1,-(sp)
move.l service_struct,a1
move.l 36(a1),a1
jsr (a1)
move.l a0,\1
movem.l (sp)+,d0-2/a0-1
endm