Moved the 'graph' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5439 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
37
libsrc/geos-common/graph/bitotherclip.s
Normal file
37
libsrc/geos-common/graph/bitotherclip.s
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Alliance' Witkowiak
|
||||
;
|
||||
; 21.12.99
|
||||
|
||||
; void BitOtherClip (void *proc1, void* proc2, char skipl, char skipr, int skipy,
|
||||
; struct iconpic *myGfx);
|
||||
|
||||
; both proc1, proc2 should be: char __fastcall something (void);
|
||||
; proc1 is called before reading a byte (.A returns next data)
|
||||
; proc2 is called before reading each byte which is not pattern (code >219)
|
||||
|
||||
|
||||
.import popa, popax
|
||||
.import BitOtherRegs
|
||||
.export _BitOtherClip
|
||||
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
_BitOtherClip:
|
||||
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
|
||||
Reference in New Issue
Block a user