| |
Bamu® Account closed
Registered: May 2005 Posts: 1332 |
SID DUZZ IT > Help!!<
Hi,
I'm looking for something like a tutorial for SDI that explains everything - step by step - in a simple way.
Ps: Where can i find the digi-version of SDI?? |
|
... 20 posts hidden. Click here to view all posts.... |
| |
6R6
Registered: Feb 2002 Posts: 244 |
Soci:
Does your fixes work with Commodore and CMD drives as well?
If yes --> I would like to install it as default.
I have never written a send dos command myself,
hope you got a short source i can learn from.
GRG
|
| |
soci
Registered: Sep 2003 Posts: 474 |
It does work of course with other devices too. Command channel example taken from the user's guide:
This opens command channel and sends an init command:
lda #2 ;filenumber
ldx $ba ;last drive
ldy #15 ;channel
jsr $ffba ;setparam
lda #0
jsr $ffbd ;setname (none)
jsr $ffc0 ;open
ldx #2 ;filenumber
jsr $ffc9 ;chkout
lda #"i" ;init command
jsr $ffd2 ;chrout
jsr $ffcc ;clrchn
And this will display the error message:
ldx #2 ;filenumber
jsr $ffc6 ;chkin
jsr $ffcf ;read
jsr $ffd2 ;print
bit $90
bvc *-8
jsr $ffcc ;clrchn
close error channel
lda #2
jsr $ffc3
done.
|
Previous - 1 | 2 | 3 - Next |