Hi!
Maybe stupid Q in title, but my program which when is RAMLink disabled checks DEV. NOT PRESENT drives ok.
When I enable RAMLink and my program start subroutine scan.drives (8-30) if happens that device is not connected, e.g.
8=Jiffy1581
9=nothing
10=1571CR
11=RAMLink
14=IEC-ATA
15-17 + 30 =64HDD
tests drive #9 computer hangs... drives are checked by "UI:" command to get DOS.
Why RAMLink (and I think also other CMD-HW) hangs computer?
I tried to skip subroutine scan.drives, all was ok until I wanted change drive:
DOSes were correctly recognized (at #9 I swap RAMLink) until #11 - not connected - then hangs ??? ?
Or better - what a problem has RAMLink with UI: on not connected device? ???
Many many thanks for every reply.
Miro
I checked devices for NOT PRESENT by open file and close without name.
Miro
1. Please check. Maybe UI resets the RL on device #9 back to the default value #11 ?
2. Post the code of your "device tester".
Regards WTE
lda #15
ldx device
ldy #15
jsr setlfs
jsr open
lda #15
jsr close
jsr clrch
lda $90
cmp #$80
bne ok
jmp notfound
Miro
SA 15 maybe not a good idea (closes all files).
Try it without SA (SA=$FF); as I remember correctly no SA could help.
I used open file without name and if BCS then dev not present - easy and no problem...
But also thanks.
Miro