EasyManua.ls Logo

Commodore 1570 - Page 104

Commodore 1570
132 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...
1)
2)
3)
4)
done_wr
error
cmd
buf
Ida
sta
jsr
dlsdr
stat
clkhi
; get data from serial data reg
; save status
; set clock high
Code to check status byte.
This code will
check
for
mode
whether
GCR
or
MFM.
Verify sector size.
Check
for error,
if
ok
then continue.
On
error, check error switch
if
set co_ntinue
otherwise abort.
Verify switches
Ida
stat
; retrieve status
and
#15
cmp
#2
;
just
chk
for error only (3)
bcs
error
; finish
dex
beq done_wr
; done?
mc
buffer
+ 1
; next buffer
jmp
wrLit
cli
. byte
$24
sec
rts
. byte
'UO' ,2,0,0,0,0
96

Related product manuals