1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00

Renamed CC65_MMU_CFG to MMU_CFG_CC65

git-svn-id: svn://svn.cc65.org/cc65/trunk@1697 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-12-02 14:12:25 +00:00
parent dc3b6ecbfe
commit 57e7ce7eb2
3 changed files with 6 additions and 4 deletions

View File

@ -176,7 +176,9 @@ CIA2_CRB = $DD0F
; I/O: MMU ; I/O: MMU
MMU_CR = $FF00 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 ; Super CPU

View File

@ -61,7 +61,7 @@ Head: .word @Next
lda MMU_CR ; Get current memory configuration... lda MMU_CR ; Get current memory configuration...
pha ; ...and save it for later 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 sta MMU_CR
; Save the zero page locations we need ; Save the zero page locations we need
@ -178,7 +178,7 @@ IRQStub:
cld ; Just to be sure cld ; Just to be sure
lda MMU_CR ; Get old register value lda MMU_CR ; Get old register value
pha ; And save on stack 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 sta MMU_CR
ldy #<(__IRQFUNC_COUNT__*2) ldy #<(__IRQFUNC_COUNT__*2)
lda #<__IRQFUNC_TABLE__ lda #<__IRQFUNC_TABLE__

View File

@ -541,7 +541,7 @@ _rs232_status:
.segment "LOWCODE" .segment "LOWCODE"
NmiHandler: NmiHandler:
lda #CC65_MMU_CFG ;(2) lda #MMU_CFG_CC65 ;(2)
sta MMU_CR ;(4) sta MMU_CR ;(4)
lda ACIA+RegStatus ;(4) ;status ;check for byte received lda ACIA+RegStatus ;(4) ;status ;check for byte received
and #$08 ;(2) and #$08 ;(2)