move slots (and ram) into a slots bucket in the machine description. devices with media are also includes (in the device bucket).

In preparation for a UI to edit the subslots.
This commit is contained in:
Kelvin Sherlock 2021-03-09 22:22:24 -05:00
parent 9626a6588f
commit 34970cb476
59 changed files with 201825 additions and 152591 deletions

View File

@ -73,6 +73,7 @@ static_assert(SLOT_COUNT <= sizeof(unsigned) * 8, "too many slot types");
[self setMedia: EmptyMedia];
}
-(void)loadMachine {
@ -180,6 +181,7 @@ static_assert(SLOT_COUNT <= sizeof(unsigned) * 8, "too many slot types");
NSInteger index = [sender tag];
if (index < 0) return; //
if (index >= SLOT_COUNT) return; //
unsigned mask = 1 << index;

File diff suppressed because it is too large Load Diff

View File

@ -6,19 +6,6 @@
<string>agat7</string>
<key>description</key>
<string>Agat-7</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>32768</integer>
<key>description</key>
<string>32K</string>
<key>value</key>
<string>32K</string>
<key>default</key>
<true/>
</dict>
</array>
<key>media</key>
<dict>
<key>cass</key>
@ -29,325 +16,388 @@
<integer>512</integer>
<integer>512</integer>
</array>
<key>sl2</key>
<key>slots</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>32768</integer>
<key>description</key>
<string>32K</string>
<key>value</key>
<string>32K</string>
<key>default</key>
<true/>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>name</key>
<string>sl2</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
<string>Slot 2</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>devname</key>
<string>agat7_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>default</key>
<true/>
<key>devname</key>
<string>a7lang</string>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>devname</key>
<string>a7ram</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>name</key>
<string>sl3</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
<string>Slot 3</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>default</key>
<true/>
<key>devname</key>
<string>agat7_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>devname</key>
<string>a7lang</string>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>devname</key>
<string>a7ram</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>name</key>
<string>sl4</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
<string>Slot 4</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>devname</key>
<string>agat7_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>devname</key>
<string>a7lang</string>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>devname</key>
<string>a7ram</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<true/>
<key>devname</key>
<string>a7ports</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>name</key>
<string>sl5</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>default</key>
<true/>
<string>Slot 5</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>devname</key>
<string>agat7_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>devname</key>
<string>a7lang</string>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>devname</key>
<string>a7ram</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>name</key>
<string>sl6</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
<string>Slot 6</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>devname</key>
<string>agat7_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>devname</key>
<string>a7lang</string>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>default</key>
<true/>
<key>devname</key>
<string>a7ram</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
</array>
</dict>
</array>
<key>sl3</key>
<key>devices</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>default</key>
<true/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
</array>
<key>sl4</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<true/>
</dict>
</array>
<key>sl5</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
</array>
<key>sl6</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7fdc</string>
<key>description</key>
<string>Agat-7 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>a7lang</string>
<key>description</key>
<string>Agat-7 32K Language Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ram</string>
<key>description</key>
<string>Agat-7 32K RAM Card</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
</array>
<key>software</key>
<array>

View File

@ -6,19 +6,6 @@
<string>agat9</string>
<key>description</key>
<string>Agat-9</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
</array>
<key>media</key>
<dict>
<key>cass</key>
@ -29,419 +16,484 @@
<integer>512</integer>
<integer>512</integer>
</array>
<key>sl1</key>
<key>slots</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>name</key>
<string>sl1</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
<string>Slot 1</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>devname</key>
<string>agat9_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>devname</key>
<string>a2diskii</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>devname</key>
<string>nclock</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>name</key>
<string>sl2</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
<string>Slot 2</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>devname</key>
<string>agat9_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>devname</key>
<string>a2diskii</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>devname</key>
<string>nclock</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>name</key>
<string>sl3</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
<string>Slot 3</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>devname</key>
<string>agat9_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>devname</key>
<string>a2diskii</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>devname</key>
<string>nclock</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>name</key>
<string>sl4</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
<string>Slot 4</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>devname</key>
<string>agat9_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>devname</key>
<string>a2diskii</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>devname</key>
<string>nclock</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>name</key>
<string>sl5</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
<string>Slot 5</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<true/>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>devname</key>
<string>agat9_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>devname</key>
<string>a2diskii</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>devname</key>
<string>nclock</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>name</key>
<string>sl6</string>
<key>description</key>
<string>Nippel Clock</string>
<key>default</key>
<false/>
<string>Slot 6</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>devname</key>
<string>agat840k_hle</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>devname</key>
<string>agat_fdc</string>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>devname</key>
<string>a7ports</string>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<true/>
<key>devname</key>
<string>agat9_flop</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>devname</key>
<string>a2diskii</string>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>devname</key>
<string>nclock</string>
</dict>
</array>
</dict>
</array>
<key>sl2</key>
<key>devices</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>default</key>
<false/>
</dict>
</array>
<key>sl3</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>default</key>
<false/>
</dict>
</array>
<key>sl4</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>default</key>
<false/>
</dict>
</array>
<key>sl5</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>default</key>
<false/>
</dict>
</array>
<key>sl6</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdchle</string>
<key>description</key>
<string>Agat 840K floppy card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc</string>
<key>description</key>
<string>Agat 840K floppy controller card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a7ports</string>
<key>description</key>
<string>Agat-7 Ports Card</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>a9fdc140</string>
<key>description</key>
<string>Agat-9 140K floppy card</string>
<key>default</key>
<true/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>diskii</string>
<key>description</key>
<string>Apple Disk II controller</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>floppy_5_25</key>
<integer>2</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>nclock</string>
<key>description</key>
<string>Nippel Clock</string>
<key>default</key>
<false/>
</dict>
</array>
<key>software</key>
<array>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,129 +6,6 @@
<string>apple1</string>
<key>description</key>
<string>Apple I</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>4096</integer>
<key>description</key>
<string>4K</string>
<key>value</key>
<string>4K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>8192</integer>
<key>description</key>
<string>8K</string>
<key>value</key>
<string>8K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>12288</integer>
<key>description</key>
<string>12K</string>
<key>value</key>
<string>12K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>16384</integer>
<key>description</key>
<string>16K</string>
<key>value</key>
<string>16K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>20480</integer>
<key>description</key>
<string>20K</string>
<key>value</key>
<string>20K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>24576</integer>
<key>description</key>
<string>24K</string>
<key>value</key>
<string>24K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>28672</integer>
<key>description</key>
<string>28K</string>
<key>value</key>
<string>28K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>32768</integer>
<key>description</key>
<string>32K</string>
<key>value</key>
<string>32K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>36864</integer>
<key>description</key>
<string>36K</string>
<key>value</key>
<string>36K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>40960</integer>
<key>description</key>
<string>40K</string>
<key>value</key>
<string>40K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>45056</integer>
<key>description</key>
<string>44K</string>
<key>value</key>
<string>44K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>49152</integer>
<key>description</key>
<string>48K</string>
<key>value</key>
<string>48K</string>
<key>default</key>
<true/>
</dict>
</array>
<key>media</key>
<dict>
</dict>
@ -137,41 +14,268 @@
<integer>560</integer>
<integer>384</integer>
</array>
<key>exp</key>
<key>slots</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>4096</integer>
<key>description</key>
<string>4K</string>
<key>value</key>
<string>4K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>8192</integer>
<key>description</key>
<string>8K</string>
<key>value</key>
<string>8K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>12288</integer>
<key>description</key>
<string>12K</string>
<key>value</key>
<string>12K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>16384</integer>
<key>description</key>
<string>16K</string>
<key>value</key>
<string>16K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>20480</integer>
<key>description</key>
<string>20K</string>
<key>value</key>
<string>20K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>24576</integer>
<key>description</key>
<string>24K</string>
<key>value</key>
<string>24K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>28672</integer>
<key>description</key>
<string>28K</string>
<key>value</key>
<string>28K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>32768</integer>
<key>description</key>
<string>32K</string>
<key>value</key>
<string>32K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>36864</integer>
<key>description</key>
<string>36K</string>
<key>value</key>
<string>36K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>40960</integer>
<key>description</key>
<string>40K</string>
<key>value</key>
<string>40K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>45056</integer>
<key>description</key>
<string>44K</string>
<key>value</key>
<string>44K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>49152</integer>
<key>description</key>
<string>48K</string>
<key>value</key>
<string>48K</string>
<key>default</key>
<true/>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>cassette</string>
<key>name</key>
<string>exp</string>
<key>description</key>
<string>Apple I cassette board</string>
<key>default</key>
<true/>
<key>media</key>
<dict>
<key>cass</key>
<integer>1</integer>
</dict>
<string>Expansion</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>cassette</string>
<key>description</key>
<string>Apple I cassette board</string>
<key>default</key>
<true/>
<key>devname</key>
<string>a1cass</string>
<key>media</key>
<dict>
<key>cass</key>
<integer>1</integer>
</dict>
</dict>
<dict>
<key>value</key>
<string>cffa</string>
<key>description</key>
<string>CFFA Compact Flash for Apple I</string>
<key>devname</key>
<string>cffa1</string>
</dict>
</array>
</dict>
</array>
<key>devices</key>
<array>
<dict>
<key>value</key>
<string>cffa</string>
<key>description</key>
<string>CFFA Compact Flash for Apple I</string>
<key>default</key>
<false/>
<key>media</key>
<dict>
<key>hard</key>
<integer>1</integer>
</dict>
<key>name</key>
<string>cffa1</string>
<key>slots</key>
<array>
<dict>
<key>name</key>
<string>:cffa_ata:0</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>cdrom</string>
<key>description</key>
<string>CD-ROM</string>
<key>media</key>
<dict>
<key>cdrom</key>
<integer>1</integer>
</dict>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>hdd</string>
<key>description</key>
<string>Hard Disk</string>
<key>media</key>
<dict>
<key>hard</key>
<integer>1</integer>
</dict>
<key>default</key>
<true/>
</dict>
</array>
</dict>
<dict>
<key>name</key>
<string>:cffa_ata:1</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>cdrom</string>
<key>description</key>
<string>CD-ROM</string>
<key>media</key>
<dict>
<key>cdrom</key>
<integer>1</integer>
</dict>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>hdd</string>
<key>description</key>
<string>Hard Disk</string>
<key>media</key>
<dict>
<key>hard</key>
<integer>1</integer>
</dict>
<key>default</key>
<false/>
</dict>
</array>
</dict>
</array>
</dict>
</array>
<key>software</key>

File diff suppressed because it is too large Load Diff

View File

@ -6,19 +6,6 @@
<string>apple2c</string>
<key>description</key>
<string>Apple //c</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
</array>
<key>media</key>
<dict>
<key>floppy_5_25</key>
@ -29,246 +16,289 @@
<integer>560</integer>
<integer>384</integer>
</array>
<key>gameio</key>
<key>slots</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>joy</string>
<key>name</key>
<string>gameio</string>
<key>description</key>
<string>Apple II analog joysticks</string>
<key>default</key>
<false/>
<string>Game I/O</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>joy</string>
<key>description</key>
<string>Apple II analog joysticks</string>
<key>devname</key>
<string>a2joy</string>
</dict>
<dict>
<key>value</key>
<string>paddles</string>
<key>description</key>
<string>Apple II paddles</string>
<key>devname</key>
<string>a2pdls</string>
</dict>
<dict>
<key>value</key>
<string>compeyes</string>
<key>description</key>
<string>Digital Vision ComputerEyes</string>
<key>devname</key>
<string>a2ceyes</string>
</dict>
<dict>
<key>value</key>
<string>gizmo</string>
<key>description</key>
<string>HAL Labs Gizmo</string>
<key>devname</key>
<string>a2gizmo</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>paddles</string>
<key>description</key>
<string>Apple II paddles</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>compeyes</string>
<key>description</key>
<string>Digital Vision ComputerEyes</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>gizmo</string>
<key>description</key>
<string>HAL Labs Gizmo</string>
<key>default</key>
<false/>
</dict>
</array>
<key>printer</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<key>name</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>default</key>
<false/>
<string>Printer</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>devname</key>
<string>ie15_terminal</string>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>devname</key>
<string>pseudo_terminal</string>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>devname</key>
<string>rs_serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>devname</key>
<string>rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>devname</key>
<string>dec_rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>devname</key>
<string>null_modem</string>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>devname</key>
<string>serial_keyboard</string>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>devname</key>
<string>serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>devname</key>
<string>serial_terminal</string>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>devname</key>
<string>sunkbd_adaptor</string>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>devname</key>
<string>swtpc8212_terminal</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>name</key>
<string>modem</string>
<key>description</key>
<string>Serial Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>default</key>
<false/>
<string>Modem</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>devname</key>
<string>ie15_terminal</string>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>devname</key>
<string>pseudo_terminal</string>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>devname</key>
<string>rs_serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>devname</key>
<string>rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>devname</key>
<string>dec_rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>devname</key>
<string>null_modem</string>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>devname</key>
<string>serial_keyboard</string>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>devname</key>
<string>serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>devname</key>
<string>serial_terminal</string>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>devname</key>
<string>sunkbd_adaptor</string>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>devname</key>
<string>swtpc8212_terminal</string>
</dict>
</array>
</dict>
</array>
<key>modem</key>
<key>devices</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>default</key>
<false/>
</dict>
</array>
<key>software</key>
<array>

View File

@ -6,59 +6,6 @@
<string>apple2cp</string>
<key>description</key>
<string>Apple //c Plus</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>393216</integer>
<key>description</key>
<string>384K</string>
<key>value</key>
<string>384K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>655360</integer>
<key>description</key>
<string>640K</string>
<key>value</key>
<string>640K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>917504</integer>
<key>description</key>
<string>896K</string>
<key>value</key>
<string>896K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>1179648</integer>
<key>description</key>
<string>1152K</string>
<key>value</key>
<string>1152K</string>
<key>default</key>
<false/>
</dict>
</array>
<key>media</key>
<dict>
<key>floppy_5_25</key>
@ -71,246 +18,329 @@
<integer>560</integer>
<integer>384</integer>
</array>
<key>gameio</key>
<key>slots</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>393216</integer>
<key>description</key>
<string>384K</string>
<key>value</key>
<string>384K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>655360</integer>
<key>description</key>
<string>640K</string>
<key>value</key>
<string>640K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>917504</integer>
<key>description</key>
<string>896K</string>
<key>value</key>
<string>896K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>1179648</integer>
<key>description</key>
<string>1152K</string>
<key>value</key>
<string>1152K</string>
<key>default</key>
<false/>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>joy</string>
<key>name</key>
<string>gameio</string>
<key>description</key>
<string>Apple II analog joysticks</string>
<key>default</key>
<false/>
<string>Game I/O</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>joy</string>
<key>description</key>
<string>Apple II analog joysticks</string>
<key>devname</key>
<string>a2joy</string>
</dict>
<dict>
<key>value</key>
<string>paddles</string>
<key>description</key>
<string>Apple II paddles</string>
<key>devname</key>
<string>a2pdls</string>
</dict>
<dict>
<key>value</key>
<string>compeyes</string>
<key>description</key>
<string>Digital Vision ComputerEyes</string>
<key>devname</key>
<string>a2ceyes</string>
</dict>
<dict>
<key>value</key>
<string>gizmo</string>
<key>description</key>
<string>HAL Labs Gizmo</string>
<key>devname</key>
<string>a2gizmo</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>paddles</string>
<key>description</key>
<string>Apple II paddles</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>compeyes</string>
<key>description</key>
<string>Digital Vision ComputerEyes</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>gizmo</string>
<key>description</key>
<string>HAL Labs Gizmo</string>
<key>default</key>
<false/>
</dict>
</array>
<key>printer</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<key>name</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>default</key>
<false/>
<string>Printer</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>devname</key>
<string>ie15_terminal</string>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>devname</key>
<string>pseudo_terminal</string>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>devname</key>
<string>rs_serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>devname</key>
<string>rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>devname</key>
<string>dec_rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>devname</key>
<string>null_modem</string>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>devname</key>
<string>serial_keyboard</string>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>devname</key>
<string>serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>devname</key>
<string>serial_terminal</string>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>devname</key>
<string>sunkbd_adaptor</string>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>devname</key>
<string>swtpc8212_terminal</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>name</key>
<string>modem</string>
<key>description</key>
<string>Serial Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>default</key>
<false/>
<string>Modem</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>devname</key>
<string>ie15_terminal</string>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>devname</key>
<string>pseudo_terminal</string>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>devname</key>
<string>rs_serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>devname</key>
<string>rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>devname</key>
<string>dec_rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>devname</key>
<string>null_modem</string>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>devname</key>
<string>serial_keyboard</string>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>devname</key>
<string>serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>devname</key>
<string>serial_terminal</string>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>devname</key>
<string>sunkbd_adaptor</string>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>devname</key>
<string>swtpc8212_terminal</string>
</dict>
</array>
</dict>
</array>
<key>modem</key>
<key>devices</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>default</key>
<false/>
</dict>
</array>
<key>software</key>
<array>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,59 +6,6 @@
<string>las128e2</string>
<key>description</key>
<string>Laser 128ex2 (version 6.1)</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>393216</integer>
<key>description</key>
<string>384K</string>
<key>value</key>
<string>384K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>655360</integer>
<key>description</key>
<string>640K</string>
<key>value</key>
<string>640K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>917504</integer>
<key>description</key>
<string>896K</string>
<key>value</key>
<string>896K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>1179648</integer>
<key>description</key>
<string>1152K</string>
<key>value</key>
<string>1152K</string>
<key>default</key>
<false/>
</dict>
</array>
<key>media</key>
<dict>
<key>floppy_5_25</key>
@ -69,246 +16,329 @@
<integer>560</integer>
<integer>384</integer>
</array>
<key>gameio</key>
<key>slots</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>131072</integer>
<key>description</key>
<string>128K</string>
<key>value</key>
<string>128K</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>393216</integer>
<key>description</key>
<string>384K</string>
<key>value</key>
<string>384K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>655360</integer>
<key>description</key>
<string>640K</string>
<key>value</key>
<string>640K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>917504</integer>
<key>description</key>
<string>896K</string>
<key>value</key>
<string>896K</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>1179648</integer>
<key>description</key>
<string>1152K</string>
<key>value</key>
<string>1152K</string>
<key>default</key>
<false/>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>joy</string>
<key>name</key>
<string>gameio</string>
<key>description</key>
<string>Apple II analog joysticks</string>
<key>default</key>
<false/>
<string>Game I/O</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>joy</string>
<key>description</key>
<string>Apple II analog joysticks</string>
<key>devname</key>
<string>a2joy</string>
</dict>
<dict>
<key>value</key>
<string>paddles</string>
<key>description</key>
<string>Apple II paddles</string>
<key>devname</key>
<string>a2pdls</string>
</dict>
<dict>
<key>value</key>
<string>compeyes</string>
<key>description</key>
<string>Digital Vision ComputerEyes</string>
<key>devname</key>
<string>a2ceyes</string>
</dict>
<dict>
<key>value</key>
<string>gizmo</string>
<key>description</key>
<string>HAL Labs Gizmo</string>
<key>devname</key>
<string>a2gizmo</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>paddles</string>
<key>description</key>
<string>Apple II paddles</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>compeyes</string>
<key>description</key>
<string>Digital Vision ComputerEyes</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>gizmo</string>
<key>description</key>
<string>HAL Labs Gizmo</string>
<key>default</key>
<false/>
</dict>
</array>
<key>printer</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<key>name</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>default</key>
<false/>
<string>Printer</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>devname</key>
<string>ie15_terminal</string>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>devname</key>
<string>pseudo_terminal</string>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>devname</key>
<string>rs_serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>devname</key>
<string>rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>devname</key>
<string>dec_rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>devname</key>
<string>null_modem</string>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>devname</key>
<string>serial_keyboard</string>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>devname</key>
<string>serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>devname</key>
<string>serial_terminal</string>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>devname</key>
<string>sunkbd_adaptor</string>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>devname</key>
<string>swtpc8212_terminal</string>
</dict>
</array>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>name</key>
<string>modem</string>
<key>description</key>
<string>Serial Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>default</key>
<false/>
<string>Modem</string>
<key>options</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>devname</key>
<string>ie15_terminal</string>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>devname</key>
<string>pseudo_terminal</string>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>devname</key>
<string>rs_serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>devname</key>
<string>rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>devname</key>
<string>dec_rs232_loopback</string>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>devname</key>
<string>null_modem</string>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>devname</key>
<string>serial_keyboard</string>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>devname</key>
<string>serial_printer</string>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>devname</key>
<string>serial_terminal</string>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>devname</key>
<string>sunkbd_adaptor</string>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>devname</key>
<string>swtpc8212_terminal</string>
</dict>
</array>
</dict>
</array>
<key>modem</key>
<key>devices</key>
<array>
<dict>
<key>value</key>
<string></string>
<key>description</key>
<string>—None—</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>value</key>
<string>ie15</string>
<key>description</key>
<string>IE15 Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>pty</string>
<key>description</key>
<string>Pseudo terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>rs_printer</string>
<key>description</key>
<string>Radio Shack Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>loopback</string>
<key>description</key>
<string>RS232 Loopback</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>dec_loopback</string>
<key>description</key>
<string>RS232 Loopback (DEC 12-15336-00)</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>null_modem</string>
<key>description</key>
<string>RS232 Null Modem</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>keyboard</string>
<key>description</key>
<string>Serial Keyboard</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>printer</string>
<key>description</key>
<string>Serial Printer</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>terminal</string>
<key>description</key>
<string>Serial Terminal</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>sunkbd</string>
<key>description</key>
<string>Sun Keyboard Adaptor</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>value</key>
<string>swtpc8212</string>
<key>description</key>
<string>SWTPC8212 Terminal</string>
<key>default</key>
<false/>
</dict>
</array>
<key>software</key>
<array>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,59 +6,6 @@
<string>maclc</string>
<key>description</key>
<string>Macintosh LC</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>2097152</integer>
<key>description</key>
<string>2M</string>
<key>value</key>
<string>2M</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>4194304</integer>
<key>description</key>
<string>4M</string>
<key>value</key>
<string>4M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>6291456</integer>
<key>description</key>
<string>6M</string>
<key>value</key>
<string>6M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>8388608</integer>
<key>description</key>
<string>8M</string>
<key>value</key>
<string>8M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>10485760</integer>
<key>description</key>
<string>10M</string>
<key>value</key>
<string>10M</string>
<key>default</key>
<false/>
</dict>
</array>
<key>media</key>
<dict>
<key>floppy_3_5</key>
@ -71,6 +18,71 @@
<integer>640</integer>
<integer>480</integer>
</array>
<key>slots</key>
<array>
<dict>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>2097152</integer>
<key>description</key>
<string>2M</string>
<key>value</key>
<string>2M</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>4194304</integer>
<key>description</key>
<string>4M</string>
<key>value</key>
<string>4M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>6291456</integer>
<key>description</key>
<string>6M</string>
<key>value</key>
<string>6M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>8388608</integer>
<key>description</key>
<string>8M</string>
<key>value</key>
<string>8M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>10485760</integer>
<key>description</key>
<string>10M</string>
<key>value</key>
<string>10M</string>
<key>default</key>
<false/>
</dict>
</array>
</dict>
</array>
<key>devices</key>
<array>
</array>
<key>software</key>
<array>
<string>mac_hdd.xml</string>

View File

@ -6,49 +6,6 @@
<string>maclc2</string>
<key>description</key>
<string>Macintosh LC II</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>4194304</integer>
<key>description</key>
<string>4M</string>
<key>value</key>
<string>4M</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>6291456</integer>
<key>description</key>
<string>6M</string>
<key>value</key>
<string>6M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>8388608</integer>
<key>description</key>
<string>8M</string>
<key>value</key>
<string>8M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>10485760</integer>
<key>description</key>
<string>10M</string>
<key>value</key>
<string>10M</string>
<key>default</key>
<false/>
</dict>
</array>
<key>media</key>
<dict>
<key>floppy_3_5</key>
@ -61,6 +18,61 @@
<integer>640</integer>
<integer>480</integer>
</array>
<key>slots</key>
<array>
<dict>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>4194304</integer>
<key>description</key>
<string>4M</string>
<key>value</key>
<string>4M</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>6291456</integer>
<key>description</key>
<string>6M</string>
<key>value</key>
<string>6M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>8388608</integer>
<key>description</key>
<string>8M</string>
<key>value</key>
<string>8M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>10485760</integer>
<key>description</key>
<string>10M</string>
<key>value</key>
<string>10M</string>
<key>default</key>
<false/>
</dict>
</array>
</dict>
</array>
<key>devices</key>
<array>
</array>
<key>software</key>
<array>
<string>mac_hdd.xml</string>

View File

@ -6,79 +6,6 @@
<string>maclc3</string>
<key>description</key>
<string>Macintosh LC III</string>
<key>ram</key>
<array>
<dict>
<key>intValue</key>
<integer>4194304</integer>
<key>description</key>
<string>4M</string>
<key>value</key>
<string>4M</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>8388608</integer>
<key>description</key>
<string>8M</string>
<key>value</key>
<string>8M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>16777216</integer>
<key>description</key>
<string>16M</string>
<key>value</key>
<string>16M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>33554432</integer>
<key>description</key>
<string>32M</string>
<key>value</key>
<string>32M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>50331648</integer>
<key>description</key>
<string>48M</string>
<key>value</key>
<string>48M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>67108864</integer>
<key>description</key>
<string>64M</string>
<key>value</key>
<string>64M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>83886080</integer>
<key>description</key>
<string>80M</string>
<key>value</key>
<string>80M</string>
<key>default</key>
<false/>
</dict>
</array>
<key>media</key>
<dict>
<key>floppy_3_5</key>
@ -91,6 +18,91 @@
<integer>640</integer>
<integer>480</integer>
</array>
<key>slots</key>
<array>
<dict>
<key>name</key>
<string>ramsize</string>
<key>description</key>
<string>RAM</string>
<key>options</key>
<array>
<dict>
<key>intValue</key>
<integer>4194304</integer>
<key>description</key>
<string>4M</string>
<key>value</key>
<string>4M</string>
<key>default</key>
<true/>
</dict>
<dict>
<key>intValue</key>
<integer>8388608</integer>
<key>description</key>
<string>8M</string>
<key>value</key>
<string>8M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>16777216</integer>
<key>description</key>
<string>16M</string>
<key>value</key>
<string>16M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>33554432</integer>
<key>description</key>
<string>32M</string>
<key>value</key>
<string>32M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>50331648</integer>
<key>description</key>
<string>48M</string>
<key>value</key>
<string>48M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>67108864</integer>
<key>description</key>
<string>64M</string>
<key>value</key>
<string>64M</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>intValue</key>
<integer>83886080</integer>
<key>description</key>
<string>80M</string>
<key>value</key>
<string>80M</string>
<key>default</key>
<false/>
</dict>
</array>
</dict>
</array>
<key>devices</key>
<array>
</array>
<key>software</key>
<array>
<string>mac_hdd.xml</string>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -30,13 +30,13 @@
-(void)reset;
-(void)prepareView: (SlotTableCellView *)view;
-(void)loadDeviceSlots: (NSDictionary *)devices;
//-(void)loadDeviceSlots: (NSDictionary *)devices;
-(void)selectValue: (NSString *)value;
-(SlotOption *)selectedItem;
-(Media)selectedMedia;
-(instancetype)initWithName: (NSString *)name title: (NSString *)title data: (NSArray *)data;
//-(instancetype)initWithName: (NSString *)name title: (NSString *)title data: (NSArray *)data;
@end

View File

@ -9,6 +9,14 @@
#import <Cocoa/Cocoa.h>
#import "Slot.h"
static NSArray *MapArray(NSArray *src, id(^fn)(id)) {
NSMutableArray *rv = [NSMutableArray arrayWithCapacity: [src count]];
for (id x in src) {
[rv addObject: fn(x)];
}
return rv;
}
static NSArray *DeepCopyArray(NSArray *src) {
if (!src) return nil;
@ -27,6 +35,9 @@ static NSArray *DeepCopyArray(NSArray *src) {
//-(NSArray *)buildArgs: (NSMutableArray *)args prefix: (NSString *)prefix;
//-(void)buildMedia: (MediaBuilder *)builder;
//-(NSArray *)buildSerial: (NSMutableArray *)array;
-(instancetype)initWithDictionary: (NSDictionary *)dictionary devices: (NSDictionary *)devices;
@end
@interface SlotOption() {
@ -34,11 +45,11 @@ static NSArray *DeepCopyArray(NSArray *src) {
//NSDictionary *_media;
Media _media;
NSString *_keyPath;
NSString *_devName;
//NSString *_devName;
BOOL _default;
}
-(instancetype)initWithDictionary: (NSDictionary *)dictionary;
-(instancetype)initWithDictionary: (NSDictionary *)dictionary devices: (NSDictionary *)devices;
-(NSMenuItem *)menuItem;
@ -49,12 +60,42 @@ static NSArray *DeepCopyArray(NSArray *src) {
-(void)buildMedia: (Media *)media;
-(void)buildSerial: (NSMutableArray *)array;
-(BOOL)loadDeviceSlots: (NSDictionary *)devices;
//-(BOOL)loadDeviceSlots: (NSDictionary *)devices;
@end
@implementation Slot
static NSDictionary *IndexMap = nil;
+(void)load {
IndexMap = @{
@"ramsize": @0,
@"sl0": @1,
@"sl1": @2,
@"sl2": @3,
@"sl3": @4,
@"sl4": @5,
@"sl5": @6,
@"sl6": @7,
@"sl7": @8,
@"exp": @9,
@"aux": @10,
@"rs232": @11,
@"gameio": @12,
@"modem": @13,
@"printer": @14,
//nubus mac
@"nb9": @15,
@"nba": @16,
@"nbb": @17,
@"nbc": @18,
@"nbd": @19,
@"nbe": @20,
};
}
-(void)reset {
[self setSelectedIndex: _defaultIndex >= 0 ? _defaultIndex : 0];
@ -152,7 +193,50 @@ static NSArray *DeepCopyArray(NSArray *src) {
}
-(instancetype)initWithDictionary: (NSDictionary *)data devices: (NSDictionary *)devices {
BOOL topLevel = NO;
_selectedIndex = -1;
_defaultIndex = -1;
_index = -1;
_name = [data objectForKey: @"name"];
_title = [data objectForKey: @"description"];
NSNumber *x = [IndexMap objectForKey: _name];
if (x) {
topLevel = YES;
_index = [x integerValue];
_name = [@"-" stringByAppendingString: _name];
_title = [_title stringByAppendingString: @":"];
}
NSArray *op = [data objectForKey: @"options"];
NSMutableArray *options = [NSMutableArray arrayWithCapacity: [op count]];
NSInteger index = 0;
for (NSDictionary *d in op) {
SlotOption *o = [[SlotOption alloc] initWithDictionary: d devices: devices];
if ([o isDefault]) {
_defaultIndex = index;
}
++index;
if (topLevel) [o setKeyPath: _name];
[options addObject: o];
}
_options = options;
_selectedIndex = _defaultIndex;
if (_selectedIndex < 0) _selectedIndex = 0;
//if (topLevel) [self setKeyPath];
return self;
}
#if 0
-(instancetype)initWithName: (NSString *)name title: (NSString *)title data: (NSArray *)data {
_name = [name copy];
@ -181,6 +265,7 @@ static NSArray *DeepCopyArray(NSArray *src) {
return self;
}
#endif
-(NSArray *)menuItems {
//if (_menuItems) return _menuItems;
@ -193,11 +278,13 @@ static NSArray *DeepCopyArray(NSArray *src) {
return menuItems;
}
#if 0
-(void)loadDeviceSlots: (NSDictionary *)devices {
for (SlotOption *s in _options) {
[s loadDeviceSlots: devices];
}
}
#endif
-(void)prepareView: (SlotTableCellView *)view {
@ -225,17 +312,36 @@ static NSArray *DeepCopyArray(NSArray *src) {
@synthesize isDefault = _default;
#if 0
-(instancetype)initWithDictionary: (NSDictionary *)dictionary {
_default = [(NSNumber *)[dictionary objectForKey: @"default"] boolValue];
_disabled = [(NSNumber *)[dictionary objectForKey: @"disabled"] boolValue];
_value = [dictionary objectForKey: @"value"];
_devName = [dictionary objectForKey: @"devName"];
//_devName = [dictionary objectForKey: @"devName"];
_title = [dictionary objectForKey: @"description"];
_media = MediaFromDictionary([dictionary objectForKey: @"media"]);
//_media = [dictionary objectForKey: @"media"];
return self;
}
#endif
-(instancetype)initWithDictionary: (NSDictionary *)data devices: (NSDictionary *)devices {
_default = [(NSNumber *)[data objectForKey: @"default"] boolValue];
_disabled = [(NSNumber *)[data objectForKey: @"disabled"] boolValue];
_value = [data objectForKey: @"value"];
_title = [data objectForKey: @"description"];
_media = MediaFromDictionary([data objectForKey: @"media"]);
NSString *devName = [data objectForKey: @"devname"];
if (devName && devices) {
NSArray *tmp = [devices objectForKey: devName];
if (tmp) _children = DeepCopyArray(tmp);
}
return self;
}
-(void)reset {
for (Slot *s in _children) {
@ -267,7 +373,7 @@ static NSArray *DeepCopyArray(NSArray *src) {
child->_disabled = _disabled;
child->_media = _media;
child->_value = [_value copyWithZone: zone];
child->_devName = [_devName copyWithZone: zone];
//child->_devName = [_devName copyWithZone: zone];
child->_title = [_title copyWithZone: zone];
//child->_media = [_media copyWithZone: zone];
child->_keyPath = [_keyPath copyWithZone: zone];
@ -333,12 +439,14 @@ static NSArray *DeepCopyArray(NSArray *src) {
}
#if 0
-(BOOL)loadDeviceSlots: (NSDictionary *)devices {
NSArray *o = [devices objectForKey: _devName];
if (!o) return NO;
_children = DeepCopyArray(o);
return YES;
}
#endif
@end
@ -348,6 +456,45 @@ static NSArray *DeepCopyArray(NSArray *src) {
@end
extern NSString *InternString(NSString *);
NSDictionary *BuildDevices(NSArray *array) {
#if 0
static NSCache *cache = nil;
if (!cache) {
cache = [NSCache new];
}
#endif
NSMutableDictionary *rv = [NSMutableDictionary dictionaryWithCapacity: [array count]];
for (NSDictionary *d in array) {
NSString *name = [d objectForKey: @"name"];
NSArray *slots = [d objectForKey: @"slots"];
if (!name) continue;
if (!slots) continue;
#if 0
name = InternString(name);
id x = [cache objectForKey: name];
if (x) {
[rv setObject: x forKey: name];
continue;
}
#endif
NSArray *data = MapArray(slots, ^(id o){
Slot *s = [[Slot alloc] initWithDictionary: o devices: nil];
return s;
});
[rv setObject: data forKey: name];
}
return rv;
}
NSArray *BuildSlots(NSString *name, NSDictionary *data) {
static NSCache *cache = nil;
@ -391,22 +538,21 @@ NSArray *BuildSlots(NSString *name, NSDictionary *data) {
cache = [NSCache new];
}
extern NSString *InternString(NSString *);
name = InternString(name);
NSArray *x = [cache objectForKey: name];
if (x) {
return x;
}
NSMutableArray *rv = [NSMutableArray new];
for (unsigned i = 0, index = 1; i < 21; ++i, index <<= 1) {
NSArray *tmp = [data objectForKey: Slots[i].key];
if (!tmp) continue;
NSArray *slots = [data objectForKey: @"slots"];
Slot *s = [[Slot alloc] initWithName: Slots[i].flag title: Slots[i].title data: tmp];
[s setIndex: i];
NSMutableArray *rv = [NSMutableArray arrayWithCapacity: [slots count]];
NSDictionary *devices = BuildDevices([data objectForKey: @"devices"]);
for (NSDictionary *d in slots) {
[s setKeyPath];
Slot *s = [[Slot alloc] initWithDictionary: d devices: devices];
[rv addObject: s];
}

View File

@ -41,3 +41,28 @@ SLOTS = (
"nb1", "nb2", "nb3", "nb4", "nb5", "nb6", "nb7",
"nb8", "nb9", "nba", "nbb", "nbc", "nbd", "nbe",
)
SLOT_NAMES = {
"ramsize": "RAM",
"sl0": "Slot 0",
"sl1": "Slot 1",
"sl2": "Slot 2",
"sl3": "Slot 3",
"sl4": "Slot 4",
"sl5": "Slot 5",
"sl6": "Slot 6",
"sl7": "Slot 7",
"exp": "Expansion",
"aux": "Auxiliary",
"rs232": "RS232",
"gameio": "Game I/O",
"modem": "Modem",
"printer": "Printer",
"nb9": "Slot 9",
"nba": "Slot A",
"nbb": "Slot B",
"nbc": "Slot C",
"nbd": "Slot D",
"nbe": "Slot E",
}

View File

@ -5,7 +5,7 @@ from plist import to_plist
import xml.etree.ElementTree as ET
from machines import MACHINES, SLOTS
from machines import MACHINES, SLOTS, SLOT_NAMES
# macintosh errata:
# maclc has scsi:1 - scsi:7 and lcpds slots, but none are currently configurable.
@ -132,9 +132,9 @@ def find_media(parent, include_slots=False):
"messimg_disk_image": "pseudo_disk",
}
remap_slot = {
"harddisk": "hard",
"hdd": "hard",
"cdrom": "cdrom",
# "harddisk": "hard",
# "hdd": "hard",
# "cdrom": "cdrom",
"525": "floppy_5_25",
"image": "psuedo_disk",
}
@ -189,6 +189,10 @@ def slot_options(machine):
'cdrom': 'CD-ROM',
'hdd': 'Hard Disk',
'harddisk': 'Hard Disk',
# "525": '5.25"'
# '35hd': '3.5" HD',
# '35dd': '3.5" DD',
# '35sd': '3.5" SD',
}
MEDIA = {
'cdrom': 'cdrom',
@ -198,32 +202,109 @@ def slot_options(machine):
mname = machine.get('name')
rv = { }
slots = []
for slot in machine.findall('./slot'):
slotname = slot.get("name")
tmp = []
options = []
has_default = False
#has_media = False
for option in slot.findall("./slotoption"):
name = option.get("name")
if name not in REMAP: continue
default = option.get("default") == "yes"
has_default |= default
tmp.append({
options.append({
'value': name,
'description': REMAP[name],
'media': MEDIA[name],
'media': { MEDIA[name]: 1 },
'default': default
})
if len(tmp) < 2 : continue # don't bother if only 1 option which is going to be defaulted anyhow.
# n.b. 9 diskiing, for example, has media but only 2 options...
# if len(options) < 2 : continue # don't bother if only 1 option which is going to be defaulted anyhow.
if not options: continue
options.sort(key=lambda x: x["description"].upper() )
options.insert(0, {"value": "", "description": "—None—", "default": not has_default})
tmp.sort(key=lambda x: x["description"].upper() )
tmp.insert(0, {"value": "", "description": "—None—", "default": not has_default})
slots.append({
"name": slotname,
"options": options
})
rv[slotname] = tmp
if not len(slots): return None
if not len(rv): return None
return slots
return rv
def make_devices(mm):
devices = []
for m in mm.values():
name = m.get("name")
slots = slot_options(m)
if slots:
devices.append({
"name": name,
"slots": slots
})
return devices
def make_ram(machine):
options = [
{
"intValue": int(x.text),
"description": x.get("name"),
"value": x.get("name"),
"default": x.get("default") == "yes"
}
for x in machine.findall('ramoption')
]
# sort and add empty starting entry.
options.sort(key=lambda x: x["intValue"])
return {
"name": "ramsize",
"description": SLOT_NAMES["ramsize"],
"options": options
}
def make_slot(m, slotname, nodes):
options = []
has_default = False
for x in nodes:
name = x.get("name")
devname = x.get("devname")
desc = mm[devname].find("description").text
default = x.get("default") == "yes"
disabled = name in DISABLED or (m, name) in DISABLED
d = { "value": name, "description": desc } # "devname": devname or ''}
if default: d["default"] = True
if disabled: d["disabled"] = True
if not disabled:
d["devname"] = devname
media = find_media(mm[devname], True)
if media:
d["media"] = media
options.append(d)
has_default |= default
options.sort(key=lambda x: x["description"].upper() )
options.insert(0, {"value": "", "description": "—None—", "default": not has_default})
return {
"name": slotname,
"description": SLOT_NAMES[slotname],
"options": options
}
@ -256,20 +337,6 @@ for m in machines:
data["value"] = m
data["description"] = machine.find("description").text
tmp = [
{
"intValue": int(x.text),
"description": x.get("name"),
"value": x.get("name"),
"default": x.get("default") == "yes"
}
for x in machine.findall('ramoption')
]
# sort and add empty starting entry.
tmp.sort(key=lambda x: x["intValue"])
# tmp.insert(0, {"value": 0, "default": False, "description": "" })
data["ram"] = tmp
data["media"] = find_machine_media(machine)
@ -289,47 +356,19 @@ for m in machines:
# print(mm)
# ss = {}
slots = []
slots.append(make_ram(machine))
for s in SLOTS:
path = 'slot[@name="{}"]/slotoption'.format(s)
nodes = machine.findall(path)
if not nodes: continue
tmp = []
has_default = False
for x in nodes:
name = x.get("name")
devname = x.get("devname")
desc = mm[devname].find("description").text
default = x.get("default") == "yes"
disabled = name in DISABLED or (m, name) in DISABLED
s = make_slot(m, s, nodes)
slots.append(s);
d = { "value": name, "description": desc, "default": default } #, "devname": devname or ''}
if disabled: d["disabled"] = True
else:
media = find_media(mm[devname], True)
if media: d["media"] = media
data["slots"] = slots
# slots = find_slot_options(mm[devname])
# if slots: d["options"] = slots # should not include media if it has slot options.
tmp.append(d)
has_default |= default
tmp.sort(key=lambda x: x["description"].upper() )
tmp.insert(0, {"value": "", "description": "—None—", "default": not has_default})
data[s] = tmp
# also add child slots
slots = {}
for x in mm.values():
name = x.get("name")
y = slot_options(x)
if y:
slots[name] = y
#if slots: data["device-slots"] = slots
data["devices"] = make_devices(mm)
data["software"] = find_software(machine)