Professional Documents
Culture Documents
OF THE
Basic Revealed.
_,,. '
,< .
-,:able:.1
~.....
'
'
.,;
. .
'
'
(106f:
FAC# 1 o,.1er+ low
i O !..-t
0069-006E - FAC#2
i o 5
- I / 'C.)
006F
- FAC s i :.w1 corn~=-ar i son // 1
0070
- FAC# 1 round i n-:.1 / / 2
0075
F:oom +or sw- .: <Phic:s screen J/ 7
( O=not c1!...J-=j l-=<b le)
n .
.007C-OO?D - F'o inter: GO::::f_l.f: st-:.'l.ck ' ~ tf -- / Z .5
!JO::\::
- F l -:<::.i +or 1.1.1i ndo,.1.1 ( $40=w i nclow on .. /3 r
$80=multicolour.,$C6~both
'...t
Status word ST J~~ J 0090
- Ke-::1s1.1.1 itch CI A: :3TOP and F:V:; + la::.1s
0091
O= lo.:1.d .. 1 =...1er i f ::l , i-1 '1
0093
::::et-
i =<.1 i:11_4t~=ut : deferred char +l-:<::.-1 1~ 8
0094
:
:
:er
i
2. l def erred ch-:<r--::i.cter i l--( 5
0095
#
,:,pen
f i les ! > ;
0097
.
.c
009:::
I nr:ut dei...11 ce I _) --0099
01.~t~=1.~t CMD de 1...1 ice i 5 .3
009A
- Di rect=:::O/r1_m=O 01...1t1=-ut control /5
009D-009E - Tc<.Pe end -: :<.ddress/End of ~=ro :.wc1If1 J5 .. y,. OOAJ-OOA5
.Jiff::1 clock
J{:; J- / S
[10A6
- Seri -~- l bit cotmt/EO I f lasi 1i l
OOAA
- Cc,1_mtdown t.:IJ':e wr i t.e/b it count I i ,
0[1AB
# chars in f i lename
; I1
OOAC
- Current lo:.1 i C -::<. l f i li?
i .::; : :-00AD
- C:1.wrent second-:<r-.:1 a.ckkess
1 :'; :1
OOAE
- Cw--rE-nt de...1 ice
; ( 1 i1
OOAF-OOBO - Pointer to f i len.::<.ff,e
/7 5 - i -:Jt
~
.-1 J
7,,.,;; - 1.J,.Jo
7
0::.1I:2-00:B3
- I,, u s t ..:(!"- +... a~,:~ress
1,:...;
f :J
00B4-00f:5
Al! sta.rt. a.ddress ( !=:iad.,\.ier i +::1 >/. 7'5 i<2o
om::6-(1(fE:7 - F'o 1nter : ca.ss:E'tte buffer
{ f, / - 18<_
OOC4-00C5
I m:L~t cursc~r lo:.1 ( r-01.1.1) e:r:r ltm1n) / :) 1
37
00C6
LJh 1 ch ke':::1 : t-4=no ke.:1
f tj o
00C7
I m=ut. from screen/ke::1board i C\ '5
OOC:::-OOC9 - Pointer tei screen line
2_ D ') _ 2 ;:, ;
00CA
Pointer=c:ursor column
~
~
~ 0 <:
OOC:B
- 01.rtt:ut =itwtes f l-:<."21
2. 0 -:;
Of1CD
Pointer : ct~rsor row
- o -~:, .
OOCE
01_4t~:1.4t ch.:1r-: 1.cter (to scre en > w t,
OOCF
# of i nsE't-ts outst.:1r1d i n-:.1 '2...o 100EA- OOEB
Sc reen c:o lour p,:,intet- 2..~<'.z: -- 2-1.>i
OOEC-OOED
Ve::clboard. t:oointer 2--.-~>&, - 2:;-~1
_
00EF
# chars 1 n kE''::lbo.:<r-d bl6ffer '2... ,V'.)
OOF8
T::1~:e of t-=<i=e +i le 2... 'z1..
/i
OOFF-010A
F lo.a.tin:.-1 to A:3CI I / work nar-e.::<. 'J_";""';- - J..b (
0100-013E
T.:1;:,e error lo:.1 1Sf;, - :::, 1 u .
1
.-:-11-:1.-:1--::>lFF
F't-------t-+.-2..-i
- - "I;:',=!.
- ~.:. t. t. .:.I
'Lll_:l;:'::;.::;.1_1 . ::;
. .;:f.1_:~( ,:;:;<,
', l.) I
0200-025::: - R::1.s i c i rn:ut bL4f fer ')'r 2 -: &c....-u .
0259-(125A
Pointer: line# +or COHT 6;.:, r ~ {...-(:. 2. /
025f:-025C - F'o inter : B2.s i c st ..3-tement tor CC!r-HL~C:-> 02F2-02F:;:
F loa.t-f i :,-::ed ...1ector 1-~ jf ~
02F4-02F5
Fi::-::ed-f lo,;:1.t ...1ectr:rr T-s- c, - ~s-7
0:300-0311 - Ba.sic ...1ectors
'') bS ~
I:...,.
' I
I('' - .
c,
c.-, ,
J
+:.;~
J-6
, -
' I
' i1J1
7:.
Mc1.1 n
r~S-
l2.17-
,Gs7-r- iGJ Y!
986C
9886
3~ 7 ~ 6
9A62
Basic ROM co ld start rout i r,e
9A7D
Initialize Basic
3 2--1 ) '--::::,
9A9D
Pourer-uio messa~e
~ ~ c') 12
9ADE
vectors for $0300
.,'.; ~ c:; ~r:~
9B66
Initialize vectors ~ ?:,.Oi-(:J
9C48
CHRGET for $0479f.. ys)3 :?. o 1:,t\
9CBB
Keywords
:s -3. 1 0 [;,
9CCF
Commar,d 1.ectors
3?. b (, 7
9D1Z13
Fur,ction vectors
'::':> :S 8 i '3
9D15
Arithmetic ot=-erator vectors '3,'3,S !f9D61
Error messa.sie:S
3 '?:, r.J~ ~
9Ir7(1
-'S'T'NTA~< ERROF~-'
~ L1l/ '..::, 3:,
9Ir84
Error routine
3 Lrt,(s !>'
9D93
., READY .,
3 c,10L '3>
9DD2
Basic warm start
3 l; S f?
9DFA
Find Basic line
3,; -3 3,~
9E12
Perform NHJ-'
J 1 t1 ii :.5
9E6A
Per-form CLF~.,
. 3 S ,:, i ::S o
9E87
Set text t=o inter
3 I';, ,s ? 5
9E9E
Perform ,LI ST.,
3 ":i S 8 ,~
A01 E
PE-rform , Rut-V
~~ ~.112
A07B
Perform "RESTOF~E"
-, ./;.@g~
A197
Per-f'orm STOP.,
:-=;,_
~S
A221
Perform ,ENI!.,
~6 o 5g
A281
Perform ,. COtH ,
3 t:, 05 C)
A2A0
Perform , GOSUB ,.
3~I 0 o
A2BE
Perform -'GOTO-'
36: I 7 3
A2DD
Perform ,RETURN,
3 6 2. 2. 7_
A'.::58
Per-f'orm 'TtATA -'
'3 6 2 7- 2A5E4
Perform , IF
A5EE
Per-form REM" .:ir,d ,ELSE
A627
Perform ,OH'
A660
Get line number ( 0-63999) 3 64 r - A707
1 A?7D
Perform ., LET,
Perfc,rm ,.P~'.ItH#
::S
32 A785
Perform -'CMD-'
A78B
Perform ' PR I HT.,
3 t, 3 0 A?91
Pr i r,t str i nSi from (':al. a) 3 Do o A797
Perfc,rm ,GET,
Perform ., INPUT#-'
A7A6
Perform ,.INPUT'
Perform ,READ,.
A7AF
,?REDO FROM START,. mess.:1.s1e
A7B5
Perform ,. ND::T ,
A?DE
Evaluate expression
A7FO
Constarit - Pi
A7F3
Per-form ,.HOT,.
A84D
Scar, Past ,. ) ,
A85A
Scan Pa.st , ( ,
A86B
Scan Past ,, .,
A8B(1
Perform ,OR'
A954
Per-form ,. AHD,.
AA7f1
Perform com,o.;,r i sons ( <=>)
AA77
Per-form ., DIM,.
AAC~3
Locate Vat' i ab le
AB 1 A
----==========---------8000
8019
80CC
8105
8117
8123
818E 8383
8415
8453 84 71
8681 8683
8703
870F 8A3Il
8A79 8A98
8AF 1 8AFF 8BI:C 8C9A
8CD8 f:CDA
8D03 ...,.
8D2C
8D4D 8D83
8DB0
8IrE1
8E0B
8E 1B
8E3E
8E7C
8FEf1
8FE6
9000 9088
90B8 90EE
9108
914F 920B
9294
932C
9439
t,'
t3
- Constar,t - 32768
Float-fixed
Perform ., FRE,.
Perform ., POS,.
- Perform -'DEF"
Perform ., FN,.
Perform ., STR$,.
Get temioora.r1;1 strin"t
Perform -'CHF~$,
- Perform -'LEFT$,.
Perform -'F~IGHT$'.
Perform "MII1$"
- Perform '"LEtY
Perform ,. ASC,.
- Get 1 byte t=-a.rameter
Perform ,. VAL,.
Get ~a.r asneters for
Perform ,PEEK-'
Perform 'POKE-'
- Perform , i,JA IT,
- Perf,::irm ,:subtrc<.ct"
- Per-f'orm add,.
Perform ,. LOG,
Perform ,mu ltit::- l::1'
Perform -'divide
- Nemc,rY to FAC# 1
!,//
0 5
- FAC#2 to FAC# 1
J6 0 l
Round FAC# 1
v;lb32.
Perfc,rm ,. SGN,.
Perform ABS '
Perform ., I NT '
Perform ,sow
Perfc,rm ,Power-'
,... Perform ,nes1ate...Perform E;<P ,
- Perform ,- RND ,.
Basic I /0 error har.d ler
Basic-kerna 1 P-:1.tch -for OPEN
- Basic-kerna l Pc<.tch f,::ir PRINT
- Bas i c-kerna. l Pat.ch for INPUT
Bas i c-kerna. l t=-.:i.tch for set
o;tt=ut de,.1 ice
Basic-kerna.1 Pate,~-. -for s'='t
inPut device
Basic-kerna l t=-a.t.ch
Perform Sr'S "
Perform ' SAVE,.
Per-fc,rm ,,/ERIPr'
Perform -'LOAD'
Perform -oPEH
Per-form ,CLOSE,
Get ~arameters -for
Get parameters for
Ga.rba"21e cc, l ler:::t
- Per-form .- C0!3,.
Perform ,SIN,
- Perform , TRW'
Perform , ATt~ ,
-5
AB8D
ADCA
AE5A
AECA
B42B
B44(1
.8544
B557
B5AC
B60~:
B652
B655
B6CD
B6E8
B729
B849
B8BD
B8I11
B9D4
:BAE2
BD35
BE29
C(11 E
C4D9
C50D
C:51 A
7-
.-....
L--c:.Jt
..- -
C5B8
C5C3
' CE:BC
L-c,41
-
C:951
C99C C9CC
C9DA C9F 4 CA0(1 CD32 CE00 CEOE CE42 -
DOOO
D802
Df:1B
D:3:34
D:.:::39
DSA::::
DBC 1
F t.:-BE
Set screen Pointers s-,s-cc c._1 _
FD0(1
0
Rerno...1e char +r,:,r,-, ke:1board 'l~ 03
FF52
~b<J&--~
fr/t
bi
-=-~-=-~3 p
6.
at -.
f6 .
62.,1c.P