Add 13 sector ][+ option.

This commit is contained in:
Will Scullin 2020-07-19 14:53:01 -07:00
parent 4046a9dbce
commit 9824c51119
No known key found for this signature in database
GPG Key ID: 9092A5C0A673416B
3 changed files with 7 additions and 1 deletions

View File

@ -167,6 +167,7 @@
<select id="computer_type2" value="apple2plus" onchange="Apple2.updateCPU()">
<option value="apple2plus">Apple ][+</option>
<option value="apple2">Autostart Apple ][</option>
<option value="apple213">13 Sector Apple ][</option>
<option value="original">Apple ][</option>
<option value="apple2j">Apple ][j+</option>
<option value="apple2lc">Apple ][+ (lowercase font)</option>

View File

@ -29,11 +29,16 @@ var prefs = new Prefs();
var romVersion = prefs.readPref('computer_type2');
var rom;
var characterRom = apple2_charset;
var sectors = 16;
switch (romVersion) {
case 'apple2':
rom = new IntBASIC();
break;
case 'apple213':
rom = new IntBASIC();
sectors = 13;
break;
case 'original':
rom = new OriginalROM();
break;
@ -96,7 +101,7 @@ var lc = new LanguageCard(io, rom);
var parallel = new Parallel(io, printer);
var videoTerm = new VideoTerm(io, options.screen[0]);
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 cffa = new CFFA(io);

Binary file not shown.