]> git.sur5r.net Git - cc65/commitdiff
Renamed CC65_MMU_CFG to MMU_CFG_CC65
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 2 Dec 2002 14:12:25 +0000 (14:12 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 2 Dec 2002 14:12:25 +0000 (14:12 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1697 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/c128.inc
libsrc/c128/crt0.s
libsrc/c128/rs232.s

index e22c29fcf0057fb2bb68892f4279073349d0a2f2..c8e65bc31ecdd70429753952f944b8c7a5a1e316 100644 (file)
@@ -176,7 +176,9 @@ CIA2_CRB    = $DD0F
 ; I/O: MMU
 
 MMU_CR         = $FF00
-CC65_MMU_CFG   = $0E   ; Bank 0 with kernal ROM
+MMU_CFG_CC65    = %00001110    ; Bank 0 with kernal ROM
+MMU_CFG_RAM0   = %00111111     ; Bank 0 full RAM
+
 
 ; ---------------------------------------------------------------------------
 ; Super CPU
index 3a2b888e6daf79b573fd5bd6a66cc517acce8205..62501722af180110d6b6816d6a3dcebc518e1317 100644 (file)
@@ -61,7 +61,7 @@ Head:   .word   @Next
 
        lda     MMU_CR          ; Get current memory configuration...
                pha                     ; ...and save it for later
-               lda     #CC65_MMU_CFG   ; Bank0 with kernal ROM
+               lda     #MMU_CFG_CC65   ; Bank0 with kernal ROM
        sta     MMU_CR
 
 ; Save the zero page locations we need
@@ -178,7 +178,7 @@ IRQStub:
        cld                             ; Just to be sure
        lda     MMU_CR                  ; Get old register value
        pha                             ; And save on stack
-       lda     #CC65_MMU_CFG           ; Bank 0 with kernal ROM
+       lda     #MMU_CFG_CC65           ; Bank 0 with kernal ROM
        sta     MMU_CR
        ldy     #<(__IRQFUNC_COUNT__*2)
                lda     #<__IRQFUNC_TABLE__
index 8218902244e89b202127c092454fd846983562d0..a1f3f6a3fd62415f6a8532cb356db6ee152378fc 100644 (file)
@@ -541,7 +541,7 @@ _rs232_status:
 .segment               "LOWCODE"
 
 NmiHandler:
-       lda     #CC65_MMU_CFG           ;(2)
+       lda     #MMU_CFG_CC65           ;(2)
        sta     MMU_CR                  ;(4)
                lda     ACIA+RegStatus          ;(4) ;status ;check for byte received
        and     #$08                    ;(2)