Initial support for Pravetz 82

This commit is contained in:
Kaloyan Tenchov 2023-11-14 09:49:08 -05:00 committed by GitHub
commit 44b0dff61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1562 additions and 0 deletions

View File

@ -67,5 +67,10 @@ export const systemTypes: Record<string, Partial<SystemType>> = {
rom: 'fpbasic',
characterRom: 'apple2_char',
e: false,
},
pravetz82: {
rom: 'pravetz82',
characterRom: 'apple2_char',
e: false,
}
} as const;

View File

@ -46,6 +46,10 @@ switch (romVersion) {
rom = 'fpbasic';
characterRom = 'apple2lc_char';
break;
case 'pravetz82':
rom = 'pravetz82';
characterRom = 'apple2_char';
break;
default:
rom = 'fpbasic';
characterRom = 'apple2_char';

1547
js/roms/system/pravetz82.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -72,6 +72,10 @@ export class System implements OptionHandler {
value: 'apple2pig',
name: 'Apple ][+ (pig font)'
},
{
value: 'pravetz82',
name: 'Pravetz 82'
},
]
},
]

View File

@ -5,6 +5,7 @@ import FPBasicROM from '../../js/roms/system/fpbasic';
import Apple2eROM from '../../js/roms/system/apple2e';
import Apple2enhROM from '../../js/roms/system/apple2enh';
import Apple2jROM from '../../js/roms/system/apple2j';
import Pravetz82ROM from 'js/roms/system/pravetz82';
const roms: { [name: string]: { new(): ROM } } = {
'original': OriginalROM,
@ -13,6 +14,7 @@ const roms: { [name: string]: { new(): ROM } } = {
'apple2e': Apple2eROM,
'apple2enh': Apple2enhROM,
'apple2j': Apple2jROM,
'pravetz82': Pravetz82ROM,
};
for (const rom of Object.keys(roms)) {