Hallo Groepaz, > IIRC you have to read from the file to get the error, just > OPEN wont do it. I already found out myself, as you know. But this Data-Becker book, "Das Machinesprache Buch für Fortgeschrittene", page 181, mentions that just "OPEN" is should be enough. That is, that's the way I understood it. I could be wrong, but it wouldn't be the first time a Data-Becker isn't completely right. Hallo Patryk, > jsr OPEN > ldx storage_device_number > sec > jsr read_status_channel > ..... > > If you are interested I can put up or send you the remaining parts. You don't use OPEN itself either. A set Carry as output normally means there is an error. But you need it as input for the next routine, so you MUST do something ultimately in this "read_status_channel" routine to check whether things go wrong or right. So I'm at least interested in this one, just out of curiousity. I'm not so interested in the other routines, no offence meant. In the past I often accepted routines from other persons, not only ML, but also Pascal. And quite often the routines didn't exactly what I wanted so I needed to change them. And to understand them took often more time than "inventing the wheel for the second time". Another thing: you don't learn from copying, but you do from inventing the wheel, even if it is the second or even third time. -- Kind regards / Met vriendelijke groet, Ruud Baltissen www.Baltissen.org Message was sent through the cbm-hackers mailing listReceived on 2016-03-02 18:00:11
Archive generated by hypermail 2.2.0.