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:
25
libsrc/geos-common/graph/pointregs.s
Normal file
25
libsrc/geos-common/graph/pointregs.s
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Alliance' Witkowiak
|
||||
;
|
||||
; 29.10.99
|
||||
|
||||
.importzp ptr4
|
||||
|
||||
.export PointRegs
|
||||
|
||||
.include "geossym.inc"
|
||||
|
||||
PointRegs: ;a/x is a struct pixel*
|
||||
sta ptr4
|
||||
stx ptr4+1
|
||||
ldy #0
|
||||
lda (ptr4),y
|
||||
sta r3L
|
||||
iny
|
||||
lda (ptr4),y
|
||||
sta r3H
|
||||
iny
|
||||
lda (ptr4),y
|
||||
sta r11L
|
||||
rts
|
||||
Reference in New Issue
Block a user