diff --git a/tools/6502/contiki.html b/tools/6502/contiki.html index b0d3eeec0..4c5784c37 100644 --- a/tools/6502/contiki.html +++ b/tools/6502/contiki.html @@ -30,8 +30,8 @@ @@ -51,7 +51,7 @@ - + - + + + + + + + + @@ -95,7 +107,7 @@ - + . . diff --git a/tools/6502/download.php b/tools/6502/download.php index a62f7dd66..b5e4f4ed7 100644 --- a/tools/6502/download.php +++ b/tools/6502/download.php @@ -28,6 +28,13 @@ case 'c128': $ext = '-' . $dsk . '.d71'; $ofs = 0x15002; break; +case 'atari': + $hex = strtok($_GET['atari-addr-drv'], '-'); + $drv = strtok('-'); + $ext = '-' . $dsk . '.atr'; + $blk = array(0, 5, 4, 0); + $ofs = 0x00010 + ($blk[$dsk] - 1) * 0x80; + break; } $addr = hexdec($hex);