Posted: Tue Oct 11, 2011 11:30 pm
Incredible - still can't believe this runs on a Vic-20
Great work.
Great work.
The Commodore Vic 20 Forum
http://sleepingelephant.com/ipw-web/bulletin/bb/
http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=5342
I wouldn't go too far with emulating a real DOS. I just want to put enough functionality in that you can use file browsers and other disk related programs without problems. Of course, if anything is needed by somebody using it in his program, please let me know.Diddl wrote:Bit by bit we have a real DOS for the RAM disk.
wow - very impressed - hope to get my FE3 soon.Kananga wrote:There is a new release of the RAM DRIVE that adds support for the command channel (15). You can now read the status of the last operation, and scratch and rename files.
The driver should survive a reset, if the module area remains untouched.
Download RAM DISK 0.7 here
Running on real hardware as device 9 with the GUI:
EDIT: unnecessary quotes removed.
Code: Select all
10 POKE55,195:POKE56,28:CLR:GOTO19
11 GET#4,A$,B$,C$,D$:F=1
12 GET#4,A$:IFA$=""THENRETURN
13 IFA$<>CHR$(34)THEN12
14 N$="":T$="":F=0
15 GET#4,A$:IFA$<>CHR$(34)THENN$=N$+A$:GOTO15
16 GET#4,A$:IFA$=""THENRETURN
17 IFA$>="A"ANDA$<="Z"THENT$=T$+A$
18 GOTO16
19 FORT=0TO60:READA:POKE7363+T,A:NEXT:POKE5,0:POKE6,29
20 INPUT"SRC DEV.";SD:INPUT"DST DEV.";DD
21 OPEN4,SD,0,"$":GET#4,A$,B$:GOSUB11
22 GOSUB11:ONFGOTO25:IFNOT(T$="PRG"ORT$="SEQ"ORT$="USR")THEN22
23 F$=N$+","+LEFT$(T$,1):PRINTF$:OPEN2,SD,2,F$+",R"
24 OPEN3,DD,3,F$+",W":SYS7363:CLOSE2:CLOSE3:GOTO22
25 CLOSE4:POKE55,PEEK(643):POKE56,PEEK(644):CLR:END
26 DATA 162,2,32,198,255,160,0,132,3,32,207,255,72,165,144,201,1
27 DATA 104,164,3,145,5,200,132,3,176,2,208,236,8,32,204,255,162
28 DATA 3,32,201,255,160,0,177,5,132,4,32,210,255,164,4,200,196
29 DATA 3,208,242,32,204,255,40,144,196,96
Thanks, Mike!Mike wrote:Here's a file based disk copy program, which can be used to transfer the contents of a *.d64 or *.d81 disc image to the FE3 RAM-Disk (download):
Perhaps, everybody else waits until you found all the bugs and I fixed them.Mike wrote:Maybe that program gives a little incentive for more people to test their programs with Kananga's FE3 RAM-Disk.
...me. I use tapes too, often more than disks.Kananga wrote: EDIT:
You could also write a program that copies a whole disk in one go, by storing the image in the RAM drive! But who does still use real 5 1/4'' disks?