2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
|
|
;
|
|
|
|
; 21.12.99
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
; void BitOtherClip (void *proc1, void* proc2, char skipl, char skipr, int skipy,
|
|
|
|
; struct iconpic *myGfx);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
; both proc1, proc2 should be: char __fastcall something (void);
|
2013-05-09 11:56:54 +00:00
|
|
|
; proc1 is called before reading a byte (.A returns next data)
|
|
|
|
; proc2 is called before reading each byte which is not pattern (code >219)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.import popa, popax
|
|
|
|
.import BitOtherRegs
|
|
|
|
.export _BitOtherClip
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "geossym.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_BitOtherClip:
|
2013-05-09 11:56:54 +00:00
|
|
|
jsr BitOtherRegs
|
|
|
|
jsr popax
|
|
|
|
sta r12L
|
|
|
|
stx r12H
|
|
|
|
jsr popa
|
|
|
|
sta r11H
|
|
|
|
jsr popa
|
|
|
|
sta r11L
|
|
|
|
jsr popax
|
|
|
|
sta r14L
|
|
|
|
stx r14H
|
|
|
|
jsr popax
|
|
|
|
sta r13L
|
|
|
|
stx r13H
|
|
|
|
jmp BitOtherClip
|