mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Add 13 sector ][+ option.
This commit is contained in:
parent
4046a9dbce
commit
9824c51119
|
@ -167,6 +167,7 @@
|
||||||
<select id="computer_type2" value="apple2plus" onchange="Apple2.updateCPU()">
|
<select id="computer_type2" value="apple2plus" onchange="Apple2.updateCPU()">
|
||||||
<option value="apple2plus">Apple ][+</option>
|
<option value="apple2plus">Apple ][+</option>
|
||||||
<option value="apple2">Autostart Apple ][</option>
|
<option value="apple2">Autostart Apple ][</option>
|
||||||
|
<option value="apple213">13 Sector Apple ][</option>
|
||||||
<option value="original">Apple ][</option>
|
<option value="original">Apple ][</option>
|
||||||
<option value="apple2j">Apple ][j+</option>
|
<option value="apple2j">Apple ][j+</option>
|
||||||
<option value="apple2lc">Apple ][+ (lowercase font)</option>
|
<option value="apple2lc">Apple ][+ (lowercase font)</option>
|
||||||
|
|
|
@ -29,11 +29,16 @@ var prefs = new Prefs();
|
||||||
var romVersion = prefs.readPref('computer_type2');
|
var romVersion = prefs.readPref('computer_type2');
|
||||||
var rom;
|
var rom;
|
||||||
var characterRom = apple2_charset;
|
var characterRom = apple2_charset;
|
||||||
|
var sectors = 16;
|
||||||
|
|
||||||
switch (romVersion) {
|
switch (romVersion) {
|
||||||
case 'apple2':
|
case 'apple2':
|
||||||
rom = new IntBASIC();
|
rom = new IntBASIC();
|
||||||
break;
|
break;
|
||||||
|
case 'apple213':
|
||||||
|
rom = new IntBASIC();
|
||||||
|
sectors = 13;
|
||||||
|
break;
|
||||||
case 'original':
|
case 'original':
|
||||||
rom = new OriginalROM();
|
rom = new OriginalROM();
|
||||||
break;
|
break;
|
||||||
|
@ -96,7 +101,7 @@ var lc = new LanguageCard(io, rom);
|
||||||
var parallel = new Parallel(io, printer);
|
var parallel = new Parallel(io, printer);
|
||||||
var videoTerm = new VideoTerm(io, options.screen[0]);
|
var videoTerm = new VideoTerm(io, options.screen[0]);
|
||||||
var slinky = new RAMFactor(io, 1024 * 1024);
|
var slinky = new RAMFactor(io, 1024 * 1024);
|
||||||
var disk2 = new DiskII(io, driveLights);
|
var disk2 = new DiskII(io, driveLights, sectors);
|
||||||
var clock = new Thunderclock(io);
|
var clock = new Thunderclock(io);
|
||||||
var cffa = new CFFA(io);
|
var cffa = new CFFA(io);
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user