Project

General

Profile

« Previous | Next » 

Revision 98

Added by markw about 11 years ago

Allow more than 32K sectors.

View differences:

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;

Also available in: Unified diff