mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
22 lines
465 B
ArmAsm
22 lines
465 B
ArmAsm
|
;
|
||
|
; void __fastcall__ scandisplay(unsigned char left, unsigned char middle, unsigned char right);
|
||
|
;
|
||
|
|
||
|
.include "kim1.inc"
|
||
|
|
||
|
.import popa
|
||
|
|
||
|
.export _scandisplay
|
||
|
|
||
|
.proc _scandisplay
|
||
|
|
||
|
sta $F9 ; Rightmost display data
|
||
|
jsr popa
|
||
|
sta $FA ; Middle display data
|
||
|
jsr popa
|
||
|
sta $FB ; Leftmost display data
|
||
|
jsr SCANDS
|
||
|
rts
|
||
|
|
||
|
.endproc
|