Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Other formats:
* Commander X16 - 640 x 400 (cropped to fit in VRAM), 16 colors out of 4096
* Amiga Lores - 320 x 256, 32 colors out of 4096
* Amiga Lores HAM6 - 320 x 256, 4096 colors via HAM
* Amiga Lores (Workbench 1.3) - 320 x 256, 4 colors out of 4096
* Amiga Lores (Workbench 2.0+) - 320 x 256, 4 colors out of 4096


## Development
Expand Down
14 changes: 14 additions & 0 deletions src/settings/palettes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,20 @@ export const GAMEBOY_MONO_RGB = [
0xffffff,
];

export const AMIGA_WORKBENCH_13 = [
0x0055aa,
0x000022,
0xffffff,
0xff8800,
];

export const AMIGA_WORKBENCH_20 = [
0xaaaaaa,
0x000000,
0xffffff,
0x6688bb,
];

export const RGB_444 = generateRGBPalette(4, 4, 4);
export const GAMEBOY_COLOR_RGB = RGB_444;
export const AMIGA_OCS_COLOR_RGB = RGB_444;
Expand Down
16 changes: 16 additions & 0 deletions src/settings/systems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,22 @@ export const SYSTEMS: (DithertronSettings | null)[] = [
//toNative:'exportFrameBuffer',
//exportFormat:{bpp:1,brev:true,np:6},
},
{
id: 'amiga.lores.workbench13',
name: 'Amiga (Workbench 1.3)',
width: 320,
height: 256,
conv: 'DitheringCanvas',
pal: palettes.AMIGA_WORKBENCH_13,
},
{
id: 'amiga.lores.workbench20',
name: 'Amiga (Workbench 2.0)',
width: 320,
height: 256,
conv: 'DitheringCanvas',
pal: palettes.AMIGA_WORKBENCH_20,
},
{
id: 'cx16.lores',
name: 'Commander X16 (Lores)',
Expand Down