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:
@@ -111,7 +111,7 @@ cbm610lib:
|
||||
# GEOS on the C64/128
|
||||
|
||||
geoslib:
|
||||
CC=$(CC) \
|
||||
CC=../$(CC) \
|
||||
AS=../$(AS) \
|
||||
AR=../$(AR) \
|
||||
CFLAGS="-Osir -g -t geos -I../../include" \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
;GeosConst - various system constans sorted by function
|
||||
;reassembled by Maciej 'YTM/Alliance' Witkowiak
|
||||
;reassembled by Maciej 'YTM/Elysium' Witkowiak
|
||||
;4-2-99, 18-3-99
|
||||
|
||||
NULL = 0
|
||||
@@ -306,6 +306,7 @@ O_GHP_FNAME = 117
|
||||
O_GHINFO_TXT = $a0
|
||||
|
||||
; values for CPU_DATA - C64 memory config
|
||||
RAM_64K = $30 ;64K RAM
|
||||
IO_IN = $35 ;60K RAM, 4K I/O space in
|
||||
KRNL_IO_IN = $36 ;kernal and I/O mapped into memory
|
||||
KRNL_BAS_IO_IN = $37 ;kernal, I/O and basic mapped into memory
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
;GEOS variable memory locations sorted by address
|
||||
;reassembled by Maciej 'YTM/Alliance' Witkowiak
|
||||
;reassembled by Maciej 'YTM/Elysium' Witkowiak
|
||||
;4-2-99
|
||||
|
||||
zpage = $0000
|
||||
@@ -101,7 +101,6 @@ cardDataPntr = $2c
|
||||
currentMode = $2e
|
||||
dispBufferOn = $2f
|
||||
mouseOn = $30
|
||||
RAM_64K = $30
|
||||
msePicPtr = $31
|
||||
windowTop = $33
|
||||
windowBottom = $34
|
||||
|
||||
Reference in New Issue
Block a user