-- COMAL-80 on UC-2 for c128 -----

This package is specially for the UC-2 cartridge.
It includes new Jedec File and BIN file for the Flash AM29F040.

This Version of COMAL runs on a Commodore c128 in native mode.
The Hybrid Package includes COMAL for c128 native and C64 mode.

FILES
UC2_COMAL_3.jed     ... Jedec File for CPLD in the UC-2
comal80.bin         ... BIN file for FLASH in the UC-2




There are two registers:
- $DE00 ... Bank
- $DE01 ... Control

The Control Registe:
Bit 0,1 ... mode
Bit 4,5 ... rmode

mode 0: startup, selects bank 8  at $40000
mode 1: c128 mode, COMAL-80 v2.02, selects bank 0 at $00000
mode 2: c64 mode,  COMAL-80 v2.01, selects bank 4 at $20000
mode 3: c128 mode, 16 x 32K banking

rmode 0: startup, selects FLASH 32K
rmode 1: select SRAM 32K instead of FLASH, write disabled
rmode 2: select SRAM 16K at $8000, lower part, writeable
rmode 3: select SRAM 16K at $8000, upper part, writeable


POKE 56833,1 ... select mode 1  (c128 COMAL)
POKE 56833,2 ... select mode 2  (c64  COMAL)