From: Marko Mäkelä (msmakela_at_gmail.com)
Date: 2008-02-02 17:02:10
On Sat, Feb 02, 2008 at 11:36:35AM +0100, silverdr@inet.com.pl wrote: > Something like: > > jsr OPEN > bcs error ; then I can decide whether I check what exactly happened > jmp success > >> >> How about using the ReadST command? its at $ffb7.. >> > > Do you know exactly how to do this to get a boolean value of success/ > failure after OPEN? OPEN doesn't always result in any communication. For example, when no file name is specified on the serial bus, nothing will be sent. Try OPEN1,8,15 with nothing attached to the serial bus. It will succeed. Also, I seem to remember that the KERNAL doesn't do proper error handling either. Try a SAVE to the 1541 with an existing file name, without the @: prefix. Marko Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.