Is anyone using CBM Commander 2.3 to copy REL files? I'm seeing very odd behavior where the copy logic fails with error #70 (no channel or too many channels open). After setting up to build cbmcmd from source code and sprinkling in some print statements, it looks like this sequence fails: file # 15 is opened on error channel of source drive file # 2 is opened on source file itself, with secondary of 2 cbm_write( to ch.15 "p,96+2, rec#n, 1" ) <--- Position to rec #n cbm_read( from ch.2 to buffer ) <--- Returns '0' bytes (!), but _oserror == 0 cbm_read( from ch. 15 to buffer ) <--- buffer has '70, ... ' error message I can perform this exact series of steps from BASIC and all is well (provided I specify valid position). I'm going to keep digging down in the sources (particularly assembler interface to Kernal file I/O functions), but wondered if it was something particular to my setup or if it's just plain broken. The original code was using a value of 127 for error channel address. This seemed very odd, particularly since I cannot locate any obvious place where 127 is opened in the first place. -- Sent from: http://cbm-hackers.2304266.n4.nabble.com/Received on 2020-10-11 02:00:03
Archive generated by hypermail 2.3.0.