Revision 98
Added by markw over 11 years ago
| firmware/atari_drive_emulator.c | ||
|---|---|---|
| 
     		case 0x3f:
 
   | 
||
| 
     			{
 
   | 
||
| 
     			//printf("Speed:");
 
   | 
||
| 
     			int sector = ((int)command.aux1) + (((int)command.aux2&0x7f)<<8);
 
   | 
||
| 
     			int sector = ((int)command.aux1) + (((int)command.aux2)<<8);
 
   | 
||
| 
     			USART_Transmit_Mode();
 
   | 
||
| 
     			send_ACK();
 
   | 
||
| 
     			clearAtariSectorBuffer();
 
   | 
||
| ... | ... | |
| 
     			{
 
   | 
||
| 
     			//debug_pos = 0;
 
   | 
||
| 
     | 
||
| 
     			int sector = ((int)command.aux1) + (((int)command.aux2&0x7f)<<8);
 
   | 
||
| 
     			int sector = ((int)command.aux1) + (((int)command.aux2)<<8);
 
   | 
||
| 
     			int sectorSize = 0;
 
   | 
||
| 
     			int location =0;
 
   | 
||
| 
     | 
||
| ... | ... | |
| 
     			break;
 
   | 
||
| 
     		case 0x52: // read
 
   | 
||
| 
     			{
 
   | 
||
| 
     			int sector = ((int)command.aux1) + (((int)command.aux2&0x7f)<<8);
 
   | 
||
| 
     			int sector = ((int)command.aux1) + (((int)command.aux2)<<8);
 
   | 
||
| 
     			int sectorSize = 0;
 
   | 
||
| 
     			int read = 0;
 
   | 
||
| 
     			int location =0;
 
   | 
||
Allow more than 32K sectors.