functions that do not modify data take const char* as argument

git-svn-id: svn://svn.cc65.org/cc65/trunk@848 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2001-08-15 16:09:35 +00:00
parent 9346c3fbac
commit 2a57280a11
11 changed files with 46 additions and 88 deletions

View File

@@ -4,7 +4,18 @@
; Maciej 'YTM/Elysium' Witkowiak, 15.07.2001
;
.export _memset
.import _FillRam
.export _memset
.import popa, popax
_memset = _FillRam
.include "../inc/jumptab.inc"
.include "../inc/geossym.inc"
_memset:
sta r0L
stx r0H
jsr popax
sta r2L
jsr popax
sta r1L
stx r1H
jmp FillRam