Comments (5)
Reset all mappings:
;; remove megabyte maps (setting them to 0 again)
lda #$00
ldx #$0f
ldy #$00
ldz #$0f
map
;; now zero all registers and remove all maps
tax
tay
taz
map
eom
from mega65-user-guide.
@lydon42 Is the issue that the upper bytes of the MAP register are not reset when you do a <1MB MAP setting, or that they are? You're mentioning the zeroing sequence as if that needs emphasis, which suggests the former.
from mega65-user-guide.
Full notes from @ki-bo (discord), emphasis mine:
Note also that if you enable >1MB mapping with
lda #$ff
ldx #$0f
ldy #$00
ldz #$00
map
then you won't disable the MB part with setting A,X,Y,Z to zero. The MB part will still stay. You need to disable MB mapping like this, too:
lda #$00
ldx #$0f
ldy #$00
ldz #$0f
map
So, to be really sure all mappings are reset, you can do this:
lda #$00
ldx #$0f
ldy #$00
ldz #$0f
map
tax
tay
taz
map
eom
from mega65-user-guide.
Related Issues (20)
- Unsure about term un-shifted HOT 1
- dirname is listed as filename HOT 1
- No exact description of CTRL+U HOT 1
- Trivial typo Appendix I HOT 1
- Review remarks: User Guide 2nd edition, version 15 September HOT 1
- Add a section about the base page to the Memory chapter HOT 3
- More than 26 appendices breaks the build
- MODKEY bit description is wrong HOT 1
- ROLQ copy/paste mistake HOT 1
- Xemu keyboard layout picture does not show the Alt key
- FREEZER shortcomings not explained HOT 1
- Improve BLNK register description HOT 1
- Document Flash Slot Boot Selection Logic
- Mega65-book > page 12-9 > 6502 instead of 6510 like C64 CPU HOT 1
- LDQ example text needs fixing HOT 1
- Document the BASIC 65 command 'INFO'
- Document MegaInfo in User's Guide HOT 1
- Document VIC-IV errata register HOT 1
- Improve "C65 Compatibility ROM Layout" table
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mega65-user-guide.