Added wrappers for the kernal functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@1587 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-11-22 22:16:20 +00:00
parent df42c5943d
commit b7e7864fc5
28 changed files with 595 additions and 113 deletions

View File

@@ -6,18 +6,22 @@
; ---------------------------------------------------------------------------
; Zero page, Commodore stuff
TMPPTR = $22 ; Temporary ptr used by BASIC
ST = $90 ; IEC status byte
TIME = $A3 ; 60HZ clock
FNAM_LEN = $AB ; Length of filename
LFN = $AC ; Logical file number
SECADR = $AD ; Secondary address
DEVNUM = $AE ; Device number
FNAM_ADR = $AF ; Pointer to filename for OPEN
KEY_COUNT = $EF ; Number of keys in input buffer
CURS_X = $CA ; Cursor column
CURS_Y = $CD ; Cursor row
SCREEN_PTR = $C8 ; Pointer to current char in text screen
CRAM_PTR = $EA ; Pointer to current char in color RAM
DOS_FN1 = $25E ; DOS filename buffer #1
DOS_FN1LEN = $26E ; DOS filename length #1
CHARCOLOR = $53B
FKEY_COUNT = $55D ; Characters for function key
FKEY_SPACE = $55F ; Function key definitions
@@ -63,5 +67,10 @@ TED_HPOS = $FF1E
TED_ROMSEL = $FF3E
TED_RAMSEL = $FF3F
; ---------------------------------------------------------------------------
; RAM/ROM selection addresses
ENABLE_ROM = $FF3E
ENABLE_RAM = $FF3F