| |
6R6
Registered: Feb 2002 Posts: 245 |
Sidplay64 sd2iec
Hello,
I'm thinking about upgrading Sidplay64 to support directory browsing and image (d64,d81) browsing for sd2iec.
I wonder if there are people here interested in this upgrade.
And if the current sidplay64 0.6 performs nicely with
similar devices (uIEC, uiec2ata, mmc2iec, 1541u1, 1541u2).
regards,
6R6
|
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
actually in the german forum64 a bunch of people asked for exactly that :) |
| |
6R6
Registered: Feb 2002 Posts: 245 |
To bad I dont spreche german very well.
Anyway, upgrading has started.
I am really short on C64 memory, and I might need some help with bug-testing in this thread.
|
| |
MacGyver Account closed
Registered: Dec 2001 Posts: 149 |
At Forum64, English is allowed, too ;) |
| |
macx
Registered: Mar 2002 Posts: 255 |
I would not mind using my Infinity as a HVSC boombox. |
| |
6R6
Registered: Feb 2002 Posts: 245 |
Here is Sidplay64 TEST VERSION for sd2iec.
With directory and image (d64, d71, d81, i2m) browsing.
Max files and dirs in memory for this version : 170
Directories are marked as DIR and are sorted to
the top of the displayer.
Use return to open a directory.
Use shift+return to go back a directory.
You cannot change directories when shuffle mode is on (Next or Random). You need to set Manual mode with M.
When playing an rsid the border will turn grey.
You can probably exit by pressing space, ctrl, cbm or runstop.
If that doesnt work, hit the panic button (restore).
If that doesnt work, hit the reset button.
A red border means the file was not found, or the file doesnt have a rsid/psid header.
A "no memory error" means there's no memory to relocate sp64.
EDIT: Btw, make sure you only test with sids from the most recent hvsc update. |
| |
6R6
Registered: Feb 2002 Posts: 245 |
This is the dir sniffer and sorter.
It puts the dirs at the top of the displayer.
Is it possible to shorten this code, perhaps even make it
sort in a a-z range ?
maxfile = $03 ;Keeps track of # of files in memory
rzp = $06 ;word
countfile = $f0 ;byte
countdir = $f1 ;byte
dzp = $fc ;word
dirpos = $d000 ;Filenames
flengde = $daa1 ;Table of filename/dirname lengths for each entry in dirpos
;$01-$10 filename length
;$81-$90 dirname length
iec_dir_sort
lda #0
sta countfile
sort_next
jsr scanforfile ;scan for first file entry
bne bn91
rts
bn91 sta filevalue+1
tya
jsr getpos
sta dzp+1
stx dzp
lda countfile ;set first dir entry to scan
sta countdir ;for at same position as first file entry
jsr scanfordir
bne bn92
rts
bn92 sta dirvalue+1
tya
jsr getpos
sta rzp+1
stx rzp
ldy countfile ;filepos
dirvalue lda #0 ;insert dir value
sta flengde,y
ldy countdir ;dirpos
filevalue lda #0 ;insert file value
sta flengde,y
ldy #$0f ;swap names
swap2 lda (dzp),y ;filename
pha
lda (rzp),y ;dirname
sta (dzp),y ;store dirname in new position
pla
sta (rzp),y ;store filename in new position
dey
bpl swap2
bmi sort_next ;jmp
getpos pha
asl
asl
asl
asl
tax
pla
lsr
lsr
lsr
lsr
ora #>dirpos ;Filenames at $d000, $d010, $d020 ...
rts
scanfordir ldy countdir ;Search dir entries
bn93 lda flengde,y
bmi dirfound
iny
cpy maxfile
bne bn93
lda #0 ;nothing, so we exit
dirfound sty countdir
rts
scanforfile ldy countfile ;Search file entries
bn94 lda flengde,y
bpl filefound
iny
cpy maxfile
bne bn94
lda #0 ;nothing available, so we exit
filefound sty countfile
rts
|
| |
6R6
Registered: Feb 2002 Posts: 245 |
Sidplay64 for all drives & devices:
sidplay64_0688.zip
Sidplay64 for CMD, IDE64 & IEC devices (With directory browsing):
sidplay64_0688_iec_cmd_ide64.zip
(CMD = Creative Micro Designs devices)
Sidplay64 for sd2iec (With directory & image browsing):
sidplay64_0688_sd2iec.zip
Keys controls to use:
Return : Load sid file/Open directory/Open image file.
Instdel : Go back one directory level.
M/N/R : Manual selection/Next play/Random play
<- : Fastforward
Spacebar : Reload dir
Restore : Use the panic button when you are stuck.
Sd2iec version:
When in Random or Next mode you cannot open image files,
turn Manual mode on to do so.
Does any of these work with netdrive on device # 6 or 7? |
| |
Grue
Registered: Dec 2001 Posts: 162 |
On ide64 it doesnt understand IDE64 filetypes with ,sid suffix, it shows them as "DIR" on browser.
Gloria,sid shows as Gloria DIR
Gloria.sid,sid shows as Gloria.sid DIR
Gloria.sid,prg shows as :0F
I have lots of other ",sid" suffix files on that test dir, I guess :0f refers to number of directory entries before this one.
I managed to browse HVSC structure also from pclink device, with same kind of results, works if ",sid" is renamed to ",prg"
It should work with ide64 native filetypes, pclink renames .sid -> ,sid.
I'm used to play hvsc with pclink from my pc hd on c64, as it would take ages and bit more time to transfer whole hvsc on ide64 drive ;)
edit: I'm using latest ide64 0.91 beta 771 rom |
| |
6R6
Registered: Feb 2002 Posts: 245 |
v0.690:
Fixed Grue's issues with IDE64 and filetypes.
It works through pclink too.
Fixed a bug where sidplay64 code was relocated when loading a RSid file with not enough relocation pages. It now loads and run those files with no return to displayer.
http://privat.bluezone.no/glennrg/sp64/
|
| |
spider-j
Registered: Oct 2004 Posts: 498 |
tested all three 0.690 versions (normal, iec, sd2iec) with netdrive (drive 6)
on startup all versions show the same error message:
"@6: 31, SYNTAX ERROR, 00, 00"
but when you ignore this and hit return, everything works fine in every version. |
... 13 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 - Next |