home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CBM Funet Archive
/
cbm-funet-archive-2003.iso
/
cbm
/
maps
/
C64ram.doc
< prev
next >
Wrap
Text File
|
1995-04-26
|
11KB
|
240 lines
;cOMMODORE 64 ram mEMORY mAP
;v1.21 sEP 1994
labelhexdecimal
addresslocationdescription
adray20005-00065-6jUMP vECTOR: cONVERT iNTEGER--fLOATING
charac00077sEARCH cHARACTER
endchr00088fLAG: sCAN FOR qUOTE AT eND OF sTRING
trmpos00099sCREEN cOLUMN fROM lAST tab
verck000a10fLAG: 0 = lOAD, 1 = vERIFY
count000b11iNPUT bUFFER pOINTER / nO. OF sUBSCRIPTS
dimflg000c12fLAG: dEFAULT aRRAY dImENSION
vauyp000d13dATA tYPE: $ff = sTRING, $00 = nUMERIC
intflg000e14dATA tYPE: $80 = iNTEGER, $00 = fLOATING
garbfl000f15fLAG: data SCAN/lLst QUOTE/gARBAGE cOLL
subflg001016fLAG: sUBSCRIPT rEF / uSER fUNCTION cALL
inpflg001117fLAG: $00 = input, $40 = get, $98 = read
tansgn001218fLAG tan SIGN / cOMPARISON rESULT
001319fLAG: input pROMPT
linnum0014-001520-21tEMP: iNTEGER vALUE
temppt001622pOINTER tEMPORARY sTRING
lastpt0017-001823-24lAST tEMP sTRING aDDRESS
tempst0019-002125-33sTACK FOR tEMPORARY sTRINGS
index0022-002534-37uTILITY pOINTER aREA
index10022-002334fIRST uTILITY pOINTER.
index20024-002536sECOND uTILITY pOINTER.
resho0026-002a38-42fLOATING-pOINT pRODUCT OF mULTIPLY
txttab002b-002c43-44pOINTER: sTART OF basictEXT
vartab002d-002e45-46pOINTER: sTART OF basicvARIABLES
arytab002f-003047-48pOINTER: sTART OF basic aRRAYS
strend0031-003249-50pOINTER eND OF basic aRRAYS (+1)
fretop0033-003451-52pOINTER: bOTTOM OF sTRING sTORAGE
frespc0035-003653-54uTILITY sTRING pOINTER
memsiz0037-003855-56pOINTER: hIGHEST aDDRESS uSED BY basic
curlin0039-003a57-58cURRENT basic lINE nUMBER
oldlin003b-003c59-60pREVIOUS basic lINE nUMBER
oldtxt003d-003e61-62pOINTER: basic sTATEMENT FOR cont
datlin003f-004063-64cURRENT data lINE nUMBER
datptr0041-004265-66pOINTER: cURRENT data iTEM aDDRESS
inpptr0043-004467-68vECTOR: input rOUTINE
varnam0045-004669-70cURRENT basic vARIABLE nAME
varpnt0047-004871-72pOINTER: cURRENT basic vARIABLE dATA
forpnt0049-004a73-74pOINTER: iNDEX vARIABLE FOR for/next
004b-006075-96tEMP pOINTER / dATA aREA
vartxt004b-004c75tEMPORARY STORAGE FOR txtptr DURING read, input AND get.
opmask004d77mASK USED DURING frmevl.
tempf3004e-005278tEMPORARY STORAGE FOR flpt VALUE.
four6005383lENGTH OF sTRING vARIABLE DURING gARBEGE COLLECTION.
jmper0054-005684jUMP vECTOR USED IN fUNCTION eVALUATION - jmp FOLLOWED BY aDDRESS ($4c,$lb,$mb).
tempf10057-005b87tEMPORARY STORAGE FOR flpt VALUE.
tempf2005c-006092tEMPORARY STORAGE FOR flpt VALUE.
facexp006197fLOATING-pOINT aCCUMULATOR #1: eXPONENT
facho0062-006598-101fLOATING aCCUM.#1: mANTISSA
facsgn0066102fLOATING aCCUM.#1: sIGN
sgnflg0067103pOINTER: sERIES eVALUATION cONSTANT
bits0068104fLOATING -ACCUM. #1: oVERFLOW dIGIT
argexp0069105fLOATING-pOINT aCCUMULATOR #2: eXPONENT
argho006a-006d106-109fLOATING aCCUM. #2: mANTISSA
argsgn006e110fLOATING aCCUM. #2: sIGN
arisgn006f111sIGN cOMPARISON rESULT: aCCUM. # 1 VS #2
facov0070112fLOATING aCCUM. #1. lOW-oRDER (rOUNDING)
fbufpt0071-0072113-114pOINTER: cASSETTE bUFFER
chrget0073-008a115-138sUBROUTINE: gET nEXT bYTE OF basic tEXT
chrgot0079121eNTRY TO gET sAME bYTE OF tEXT aGAIN
txtptr007a-007b122-123pOINTER: cURRENT bYTE OF basic tEXT
rndx008b-008f139-143fLOATING rnd fUNCTION sEED vALUE
status0090144kERNAL i/o sTATUS wORD: st
stkey0091145fLAG: stop KEY / rvs KEY
svxt0092146tIMING cONSTANT FOR tAPE
verck0093147fLAG: 0 = lOAD, 1 = vERIFY
c3po0094148fLAG: sERIAL bUS-oUTPUT cHAR. bUFFERED
bsour0095149bUFFERED cHARACTER FOR sERIAL bUS
syno0096150cASSETTE sYNC nO.
0097151tEMP dATA aREA
ldtnd0098152nO. OF oPEN fILES / iNDEX TO fILE tABLE
dfltn0099153dEFAULT iNPUT dEVICE (0)
dflto009a154dEFAULT oUTPUT (cmd) dEVICE (3)
prty009b155tAPE cHARACTER pARITY
psw009c156fLAG: tAPE bYTE-rECEIVED
msgflg009d157fLAG: $80 = dIRECT mODE, $00 = pROGRAM
ptr1009e158tAPE pASS 1 eRROR lOG
ptr2009f159tAPE pASS 2 eRROR lOG
time00a0-00a2160-162rEAL-tIME jIFFY cLOCK (APPROX) 1/60 sEC
00a3-00a4163-164tEMP dATA aREA
cntdn00a5165cASSETTE sYNC cOUNTDOWN
bufpnt00a6166pOINTER: tAPE i/o bUFFER
inbit00a7167rs-232 iNPUT bITS / cASSETTE tEMP
bitci00a8168rs-232 iNPUT bIT cOUNT / cASSETTE tEMP
rinone00a9169rs-232 fLAG: cHECK FOR sTART bIT
ridata00aa170rs-232 iNPUT bYTE bUFFER/cASSETTE tEMP
riprty00ab171rs-232 iNPUT pARITY / cASSETTE sHORT cNT
sal00ac-00ad172-173pOINTER: tAPE bUFFER/ sCREEN sCROLLING
eal00ae-00af174-175tAPE eND aDDRESSES/eND OF pROGRAM
cmp000b0-00b1176-177tAPE tIMING cONSTANTS
tape100b2-00b3178-179pOINTER: sTART OF tAPE bUFFER
bitts00b4180rs-232 oUT bIT cOUNT / cASSETTE tEMP
nxtbit00b5181rs-232 nEXT bIT TO sEND/ tAPE eot fLAG
rodata00b6182rs-232 oUT bYTE bUFFER
fnlen00b7183lENGTH OF cURRENT fILE nAME
la00b8184cURRENT lOGICAL fILE nUMBER
fa00ba186cURRENT dEVICE nUMBER
fnadr00bb-00bc187-188pOINTER: cURRENT fILE nAME
roprty00bd189rs-232 oUT pARITY / cASSETTE tEMP
fsblk00be190cASSETTE rEAD / wRITE bLOCK cOUNT
mych00bf191sERIAL wORD bUFFER
cas100c0192tAPE mOTOR iNTERLOCK
stal00c1-00c2193-194i/o sTART aDDRESS
memuss00c3-00c4195-196tAPE lOAD tEMPS
lstx00c5197cURRENT kEY pRESSED: chr$(N) 0 = nO kEY
ndx00c6198nO. OF cHARS. IN kEYBOARD bUFFER (qUEUE)
rvs00c7199fLAG: pRINT rEVERSE cHARS. -1=yES, 0=nO uSED
indx00c8200pOINTER: eND OF lOGICALlINE FOR input
lxsp00c9-00ca201-202cURSOR x-y pOS. AT sTART OF input
sfdx00cb203fLAG: pRINT sHIFTED cHARS.
blnsw00cc204cURSOR bLINK ENABLE: 0 = fLASH cURSOR
blnct00cd205tIMER: cOUNTDOWN TO tOGGLE cURSOR
gdbln00ce206cHARACTER uNDER cURSOR
blnon00cf207fLAG: lAST cURSOR bLINKoN/oFF
crsw00d0208fLAG: input OR get FROMkEYBOARD
pnt00d1-00d2209-210pOINTER: cURRENT sCREENlINE aDDRESS
pntr00d3211cURSOR cOLUMN ON cURRENT lINE
qtsw00d4212fLAG: eDITOR IN qUOTE mODE, $00 = no
lnmx00d5213pHYSICAL sCREEN lINE lENGTH
tblx00d6214cURRENT cURSOR pHYSICAL lINE nUMBER
00d7215tEMP dATA aREA
insrt00d8216fLAG: iNSERT mODE, >0 = # instS
ldtb100d9-00f2217-242sCREEN lINE lINK tABLE / eDITOR tEMPS
user00f3-00f4243-244pOINTER: cURRENT sCREENcOLOR ram LOC.
keytab00f5-00f624s-246vECTOR kEYBOARD dECODE tABLE
ribuf00f7-00f8247-248rs-232 iNPUT bUFFER pOINTER
robuf00f9-00fa249-250rs-232 oUTPUT bUFFER pOINTER
frekzp00fb-00fe251-254fREE 0-pAGE sPACE FOR uSER pROGRAMS
baszpt00ff255basic tEMP dATA aREA
0100-01ff256-511mICRO-pROCESSOR sYSTEM sTACK aREA
0100-010a256-266fLOATING TO sTRING wORK aREA
bad0100-013e256-318tAPE iNPUT eRROR lOG
buf0200-02s8512-600sYSTEM input bUFFER
lat0259-0262601-610kernal tABLE: aCTIVE lOGICAL fILE nO'S.
fat0263-026c611-620kernal tABLE: dEVICE nO. FOR eACH fILE
sat026d-0276621-630kernal tABLE: sECOND aDDRESS eACH fILE
keyd0277-0280631-640kEYBOARD bUFFER qUEUE (fifo)
memstr0281-0282641-642pOINTER: bOTTOM OF mEMORY FOR o.s.
memsiz0283-0284643-644pOINTER: tOP OF mEMORY FOR o.s.
timout0285645fLAG: kERNAL vARIABLE FOR ieee tIMEOUT
color0286646cURRENT cHARACTER cOLOR cODE
gdcol0287647bACKGROUND cOLOR uNDER cURSOR
hibase0288648tOP OF sCREEN mEMORY (pAGE)
xmax0289649sIZE OF kEYBOARD bUFFER
rptflg028a650fLAG: repeat kEY uSED, $80 = rEPEAT
kount028b651rEPEAT sPEED cOUNTER
delay028c652rEPEAT dELAY cOUNTER
shflag028d653fLAG: kEYB'RD shift kEY/ctrl kEY/c= kEY
lstshf028e654lAST kEYBOARD sHIFT pATTERN
keylog028f-0290655-656vECTOR: kEYBOARD tABLE sETUP
mode0291657fLAG: $00=dISABLE shiftkEYS, $80 = eNABLE
shift kEYS
autodn0292658fLAG: aUTO sCROLL dOWN, 0 = on
m51ctr0293659rs-232: 6551 cONTROL rEGISTER iMAGE
ms1cdr0294660rs-232: 6551 cOMMAND rEGISTER iMAGE
m51ajb0295-0296661-662rs-232 nON-sTANDARD bps (tIME/2-100) usa
rsstat0297663rs-232: 6551 sTATUS rEGISTER iMAGE
bitnum0298664rs-232 nUMBER OF bITS lEFT TO sEND
baudof0299-029a665-666rs-232 bAUD rATE: fULL bIT tIME (US)
ridbe029b667rs-232 iNDEX TO eND OF iNPUT bUFFER
ridbs029c668rs-232 sTART OF iNPUT bUFFER (pAGE)
rodbs029d669rs-232 sTART OF oUTPUT bUFFER (pAGE)
rodbe029e670rs-232 iNDEX TO eND OF oUTPUT bUFFER
irqtmp029f-02a0671-672hOLDS irq vECTOR dURING tAPE i/o
enabl02a1673rs-232 eNABLES
02a2674tod sENSE dURING cASSETTE i/o
02a3675tEMP sTORAGE fOR cASSETTE rEAD
02a4676tEMP d1 irq iNDICATOR fOR cASSETTE rEAD
02a5677tEMP fOR lINE iNDEX
02a6678pal/ntsc fLAG, o= ntsc, 1 = pal
02a7-02ff679-767uNUSED
ierror0300-0301768-769vECTOR: pRINT basic eRROR mESSAGE
imain0302-0303770-771vECTOR: basic wARM sTART
icrnch0304-0305772-773vECTOR: tOKENIZE basic tEXT
iqplop0306-0307774-775vECTOR: basic tEXT list
igone0308-0309776-777vECTOR: basic cHAR. dISPATCH
ieval030a-030b778-779vECTOR: basic tOKEN eVALUATION
sareg030c780sTORAGE FOR 6502 .a rEGISTER
sxreg030d781sTORAGE FOR 5502 .x rEGISTER
syreg030e782sTORAGE FOR 6502 .y rEGISTER
spreg030f783sTORAGE FOR 6502 .sp rEGISTER
usrpok0310784usr fUNCTION jUMP iNSTR (4c)
usradd0311-0312785-786usr aDDRESS lOWbYTE / hIGH bYTE
0313787uNUSED
cinv0314-0315788-789vECTOR: hARDWARE iNTERRUPT
cbinv0316-0317790-791vECTOR: brk iNSTR. iNTERRUPT
nminv0318-0319792-793vECTOR: nON-mASKABLE iNTERRUPT
iopen031a-031b794-795kernal open rOUTINE vECTOR
iclose031c-031d796-797kernal close rOUTINE vECTOR
ichkin031e-031f798-799kernal chkin rOUTINE
ickout0320-0321800-801kernal chkout rOUTINE
iclrch0322-0323802-803kernal clrchn rOUTINE vECTOR
ibasin0324-0325804-805kernal chrin rOUTINE
ibsout0326-0327806-807kernal chrout rOUTINE
istop0328-0329808-809kernal stop rOUTINE vECTOR
igetin032a-032b810-811kernal getin rOUTINE
iclall032c-032d812-813kernal clall rOUTINE vECTOR
usrcmd032e-032f814-815uSER-dEFINED vECTOR
iload0330 0331813 817kernal load rOUTINE
isave0332-0333818-819kernal save rOUTINE vECTOR
0334-033b820-827uNUSED
tbuffr033c-03fb828-1019tAPE i/o bUFFER
03fc-03ff1020-1023uNUSED
vicscn0400-07ff1024-20471024 bYTE sCREEN mEMORY aREA
0400-07e71024-2023vIDEO mATRIX: 25 lINES x 40 cOLUMNS
07f8-07ff2040-2047sPRITE dATA pOINTERS
0800-9fff2048-40959nORMAL basic pROGRAM sPACE
8000-9fff32768-40959vsp cARTRIDGE rom -- 8192 bYTES
a000-bfff40960-49151basic rom-8192 bYTES (OR 8k ram)
c000-cfff49152-53247ram-4096 bYTES
d000-dfff53248-57343iNPUT/oUTPUT dEVICES AND
cOLOR ram OR cHARACTER gENERATOR rom
OR ram-4096 bYTES
e000-ffff57344-65535kernal rom -- 8192 bYTES (OR 8k ram)