Hey! I finally tried DreamLoad and was delighted how easy it is to use. Unfortunately, it didn't work. My test doesn't load anything, but the installer hangs. Also, the initial 8 in $BA somehow changes to a 9 (checked in ViceMon). I used DreamAss to assemble the loader per the instructions. Then I wrote a simple program to test it but it fails:
Code:
!to "\ohjelmat\vice\files\dl.prg",cbm
*=$801
LdCfgInit_CodeStart = $1000
LdLoc = $cd00
DL_LoadFile = LdLoc
DL_Open = LdLoc
DL_LoadTS = LdLoc+3
DL_Get = LdLoc+3
DL_ShutUp = LdLoc+6
DL_WakeUp = LdLoc+9
DL_LedOff = LdLoc+12
DL_SpeederOff = LdLoc+15
; BASIC line to start the MC
!byte $b,8,0,0,$9e,$32,$30,$36,$34,0,0,0,0,0,0
jsr LdCfgInit_CodeStart
bcc Load1
rts
Load1 lda #fne-fn
ldx #<fn
ldy #>fn
jsr DL_LoadFile
bcc Load2
jmp DL_SpeederOff
Load2 jsr DL_SpeederOff
jsr $a659
jmp $a7ae
fn !pet "goldsun /ssi"
fne
*=LdCfgInit_CodeStart
!binary "\ohjelmat\dload\dload.c64",,2
Please help. Also, the documentation completely lacked everything MMC64 related. I looked at the sources and found the MMC loader there, but without knowledge how to use it, that's much in vain. I looked into mmcparam.src to find the device numbers to use for MMC64 but one of those is unclear, and I don't know how to work with DFI images. Again, please help!
I was thinking if I could use autodetection for MMC / real drive. When my program is loaded from a memory card, $BA probably is zero? Add RR detection to that, and then change $BA to $20+ accordingly. Otherwise leave it as it was, to load from the drive from which the program was initially loaded. This should work to allow same program to run from disk/MMC?