Difference between revisions of "Talk:83Plus:Software:usb8x/Asm Interface/MSD/MSD Initialize"
From WikiTI
m (signed unsigned) |
|||
Line 17: | Line 17: | ||
jp c,fatfailed | jp c,fatfailed | ||
</code> | </code> | ||
− | I'm not using zds so I'm not using the U_call macro, does there seem to be anything wrong? MSD8x the app does get past initization and displays files. | + | I'm not using zds so I'm not using the U_call macro, does there seem to be anything wrong? MSD8x the app does get past initization and displays files. {{Unsigned|Jim_e|12:48, 17 August 2006 (EST)}} |
: Error 8 is one of those not very helpful ones because it means something has gone wrong during initialization, but not any of the other error conditions I check for. My initial reaction is to say make sure the device was not previously initialized, the port was in a reset state (plug/unplug the cable and turn on/off the calculator), and that your batteries are fresh. It seems odd that it would work with MSD8x but not with your code, though. Maybe Brandon will have a better idea --[[User:Dan Englender|Dan Englender]] 12:17, 17 August 2006 (PDT) | : Error 8 is one of those not very helpful ones because it means something has gone wrong during initialization, but not any of the other error conditions I check for. My initial reaction is to say make sure the device was not previously initialized, the port was in a reset state (plug/unplug the cable and turn on/off the calculator), and that your batteries are fresh. It seems odd that it would work with MSD8x but not with your code, though. Maybe Brandon will have a better idea --[[User:Dan Englender|Dan Englender]] 12:17, 17 August 2006 (PDT) |
Revision as of 11:21, 17 August 2006
I've been trying to work with this newest version. But I seem to get an error when I MSD_Initialize, returning an error code of 8.
ld hl,driverram ld a,uDriverInit call USBDriverCall jp c,driverfailed ld hl,appBackUpScreen ld de,appBackUpScreen+256 ld a,uMSD_Initialize call USBDriverCall jp c,msdfailed ;fails here ld a,uUFI_Initialize call USBDriverCall jp c,ufifailed ld a,uFAT_Initialize call USBDriverCall jp c,fatfailed
I'm not using zds so I'm not using the U_call macro, does there seem to be anything wrong? MSD8x the app does get past initization and displays files. (preceding unsigned comment by Jim_e (talk • contribs) 12:48, 17 August 2006 (EST))
- Error 8 is one of those not very helpful ones because it means something has gone wrong during initialization, but not any of the other error conditions I check for. My initial reaction is to say make sure the device was not previously initialized, the port was in a reset state (plug/unplug the cable and turn on/off the calculator), and that your batteries are fresh. It seems odd that it would work with MSD8x but not with your code, though. Maybe Brandon will have a better idea --Dan Englender 12:17, 17 August 2006 (PDT)