c128lib Labels
Labels definition for C128
Loading...
Searching...
No Matches
mmu.asm File Reference

Mmu module. More...

Namespaces

namespace  Mmu
 

Variables

label CONFIGURATION = $D500
 
label PRECONFIG_A = $D501
 
label PRECONFIG_B = $D502
 
label PRECONFIG_C = $D503
 
label PRECONFIG_D = $D504
 
label MODE_CONFIG = $D505
 
label RAM_CONFIG = $D506
 
label PAGE0_PAGE_POINTER = $D507
 
label PAGE0_BLOCK_POINTER = $D508
 
label PAGE1_PAGE_POINTER = $D509
 
label PAGE1_BLOCK_POINTER = $D50A
 
label MMU_VERSION = $D50B
 
label LOAD_CONFIGURATION = $FF00
 
label LOAD_PRECONFIG_A = $FF01
 
label LOAD_PRECONFIG_B = $FF02
 
label LOAD_PRECONFIG_C = $FF03
 
label LOAD_PRECONFIG_D = $FF04
 
label IO_ROM = %00000000
 
label IO_RAM = %00000001
 
label ROM_LOW_ROM = %00000000
 
label ROM_LOW_RAM = %00000010
 
label ROM_MID_ROM = %00000000
 
label ROM_MID_INT = %00000100
 
label ROM_MID_EXT = %00001000
 
label ROM_MID_RAM = %00001100
 
label ROM_HI = %00000000
 
label ROM_HI_INT = %00010000
 
label ROM_HI_EXT = %00100000
 
label ROM_HI_RAM = %00110000
 
label RAM0 = %00000000
 
label RAM1 = %01000000
 
label CPU_Z80 = %00000000
 
label CPU_8502 = %00000001
 
label FASTSERIALINPUT = %00000000
 
label FASTSERIALOUTPUT = %00001000
 
label GAME_LOW = %00000000
 
label GAME_HI = %00010000
 
label EXROM_LOW = %00000000
 
label EXROM_HI = %00100000
 
label KERNAL_128 = %00000000
 
label KERNAL_64 = %01000000
 
label COLS_80 = %00000000
 
label COLS_40 = %10000000
 
label COMMON_RAM_1K = %00000000
 
label COMMON_RAM_4K = %00000001
 
label COMMON_RAM_8K = %00000010
 
label COMMON_RAM_16K = %00000011
 
label COMMON_RAM_UNUSED = %00000000
 
label COMMON_RAM_BOTTOM = %00000100
 
label COMMON_RAM_TOP = %00001000
 
label COMMON_RAM_BOTH = COMMON_RAM_BOTTOM | COMMON_RAM_TOP
 
label VIC_BANK_ON_RAM_0 = %00000000
 
label VIC_BANK_ON_RAM_1 = %01000000
 
label VIC_BANK_ON_RAM_2 = %10000000
 
label VIC_BANK_ON_RAM_3 = %11000000
 

Detailed Description

Mmu module.

This file contains labels that map to the MMU registers of the Commodore 128.; Labels are intended to be used in assembly for 6502 with KickAssembler.

The Commodore 128 has a MMU chip, which is responsible for managing the computer's memory. The MMU chip controls the memory configuration, including the mapping of ROM and RAM banks.

https://c128lib.github.io/Reference/Mmu

Author
Raffaele Intorcia raffa.nosp@m.ele..nosp@m.intor.nosp@m.cia@.nosp@m.gmail.nosp@m..com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Date
2024