ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/IEC.cpp
(Generate patch)

Comparing Frodo4/Src/IEC.cpp (file contents):
Revision 1.3 by cebix, 2004-01-11T00:09:51Z vs.
Revision 1.4 by cebix, 2004-01-11T14:03:29Z

# Line 210 | Line 210 | uint8 IEC::OutSec(uint8 byte)
210   *  Read one byte
211   */
212  
213 < uint8 IEC::In(uint8 *byte)
213 > uint8 IEC::In(uint8 &byte)
214   {
215          if (talker_active && (received_cmd == CMD_DATA))
216                  return data_in(byte);
217  
218 <        *byte = 0;
218 >        byte = 0;
219          return ST_TIMEOUT;
220   }
221  
# Line 388 | Line 388 | uint8 IEC::data_out(uint8 byte, bool eoi
388   *  Read byte from channel
389   */
390  
391 < uint8 IEC::data_in(uint8 *byte)
391 > uint8 IEC::data_in(uint8 &byte)
392   {
393          return talker->Read(sec_addr, byte);
394   }
# Line 451 | Line 451 | void Drive::set_error(int error, int tra
451          sprintf(error_buf, Errors_1541[error], track, sector);
452          error_ptr = error_buf;
453          error_len = strlen(error_buf);
454 +        current_error = error;
455  
456          // Set drive condition
457          if (error != ERR_OK && error != ERR_SCRATCHED)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines