EasyManua.ls Logo

Commodore Plus 4 - Page 365

Commodore Plus 4
464 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The
Bisk
Drive
353
Low
byte
of
file
name
address.
High
byte
of
file
name
address.
SETNAM.
Address
of
zero
page
location
at
$2003.
Low
byte
of
end
save
address.
High
byte
of
end
save
address.
SAVESP.
If
error,
read
disk
error
channel.
Get status
byte.
If
error,
read
disk
error
channel.
To
signal
verify.
LOADSP.
(All
the
other
information
was
already
set).
If
error,
read
disk
error
channel.
Get status
byte.
Normal
end-of-file.
If
not,
then
go
to
error
handler.
Device
number
of
disk
drive.
To
indicate
a
relocated
load.
SETLFS.
To
signal
load.
Low
byte
of
address
for
load start.
High
byte
of
address
for
load
start.
LOADSP.
If
error,
read
disk
error
channel.
Get
status
byte.
Normal
end-of-file.
If
not,
read
disk
error
channel.
Stop
processing.
The
contents
of
the
X
and
Y
register
are
the
low
and
high
bytes
of
the
address
of
the
last
byte
loaded
plus
1,
if
a
normal
exit
is
achieved.
200F
2011
2013
2016
2018
201A
201C
201F
2021
2024
2026
2028
202B
202D
2030
2032
2034
2036
2038
203B
203D
203F
2041
2044
2046
2049
204B
204D
A2
A0
20
A9
A2
A0
20
B0
20
D0
A9
20
B0
20
C9
D0
A2
A0
20
A9
A2
A0
20
B0
20
C9
D0
00
00
21
BD
D8
06
21
D8
5F
B7
5A
80
D5
53
B7
40
3C
08
00
BA
00
00
30
D5
3A
B7
40
33
FF
FF
FF
FF
FF
FF
FF
FF
LDX
LDY
JSR
LDA
LDX
LDY
JSR
BCS
JSR
BNE
LDA
JSR
BCS
JSR
CMP
BNE
LDX
LDY
JSR
LDA
LDX
LDY
JSR
BCS
JSR
CMP
BNE
BRK
#$00
#$21
$FFBD
#$D8
#$06
#$21
$FFD8
$2080
$FFB7
$2080
#$80
$FFD5
$2080
$FFB7
#$40
$2070
#$08
#$00
$FFBA
#$00
#$00
#$30
$FFD5
$2080
$FFB7
#$40
$2080
2070
2072
2074
2076
2079
207C
207D
207F
2080
2082
2084
2086
2089
208B
208E
2091
2093
2095
2098
C9
D0
A2
BD
20
CA
10
00
A9
A2
A0
20
A9
20
20
B0
A2
20
B0
50
0C
05
F8
D2
F7
0F
08
0F
BA
00
BD
C0
16
0F
C6
0F
20
FF
FF
FF
FF
FF
CMP
BNE
LDX
LDA
JSR
DEX
BPL
BRK
LDA
LDX
LDY
JSR
LDA
JSR
JSR
BCS
LDX
JSR
BCS
#$50
$2080
#$05
$20F8,X
$FFD2
$2076
#$0F
#$08
#$0F
$FFBA
#$00
$FFBD
$FFC0
$20A9
#$0F
$FFC6
$20A9
Look
for
verify
error.
If
not,
read
disk
error
channel.
Length
of
error
message.
Get
a
byte
of
message.
Write
it
to
the
screen.
Point
at
next
byte.
If
more,
go
back.
Stop
processing.
Logical
file
number
to
use.
Device
number
of
disk
drive.
Command
channel.
SETLFS.
No
file
name.
SETNAM.
OPEN.
If
an
error
is
present,
quit.
Logical
file
number
of
comnand
channel
CHKIN.
If
an
error
is
present,
quit.