Project

General

Profile

« Previous | Next » 

Revision 1508

Added by markw 2 days ago

Fix no drive selected (dX) and KEY_ESC does not work so use any key to quit for now

View differences:

atari_chips/pokeyv2/pokeycfg.c
while (1)
{
filename[1] = '0' + core_drive;
gotoxy(29,3); //column of the drive digit
cputc('0'+core_drive);
gotoxy(0,7);
......
if ((key >= '1') && (key <= '8'))
{
core_drive = key - '0';
filename[1] = '0' + core_drive;
}
else if (key == 'y')
{
return 1;
}
else if (key == KEY_ESC)
else
{
return 0;
}

Also available in: Unified diff