1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-06 18:54:30 +00:00
cc65/libsrc/geos-common/graph/drawpoint.s
ol.sc 0828464f26 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
2012-02-04 17:17:32 +00:00

26 lines
356 B
ArmAsm

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 29.10.99, 05.3.2003
; void DrawPoint (char mode, struct pixel *mypixel);
.import PointRegs
.import popa
.importzp tmp1
.export _DrawPoint
.include "jumptab.inc"
_DrawPoint:
jsr PointRegs
jsr popa
sta tmp1
clc
bit tmp1
bvc @1
sec
@1: jmp DrawPoint