update
This commit is contained in:
parent
d5d02ece73
commit
ef23ccdc15
20
details.md
20
details.md
@ -1,13 +1,19 @@
|
|||||||
# Project details
|
# Project details
|
||||||
## Address Space
|
## Address Space
|
||||||
### RAM: $0-$7fff
|
|Name|From|To|r/w|
|
||||||
### (EEP)ROM: $8000-$ffff
|
|---|---:|---:|:---:|
|
||||||
|
|ZEROPAGE |$00 |$ff |`rw`|
|
||||||
|
|STACK |$100 |$1ff |`rw`|
|
||||||
|
|RAM |$200 |$4fff |`rw`|
|
||||||
|
|SPI |$5000 |$5fff |`rw`|
|
||||||
|
|VIA1 |$6000 |$600f |`rw`|
|
||||||
|
|VIA2 |$7000 |$700f |`rw`|
|
||||||
|
|ROM |$8000 |$ffff |`r `|
|
||||||
|
|
||||||
## Naming conventions
|
## Naming conventions
|
||||||
leading underscors `_` indicate a "private" label/variable, that is meant for internal use within the module only.
|
leading underscors `_` indicate a "private" label/variable, that is meant for internal use within the module only.
|
||||||
### Labels
|
### Labels
|
||||||
- `namespace_fname` for exported subroutines
|
- **scopes**: snake case
|
||||||
- `_namespace_fname` or `_namespace_fname_sub` for internal labels
|
- **subroutines** and **variables**: snake case (`scope::(_)fname_snake_case` or `scope::(_)varname_2`)
|
||||||
- `(_)namespace_Macroname`
|
- **macros**: camel case (`(_)GoodMacroname`)
|
||||||
- `(_)NAMESPACE_SYMBOLNAME` for constant symbols
|
- **constants** (eg. in ROM): upper case (`scope::(_)NICE_SYMBOLNAME`)
|
||||||
- `(_)NAMESPACE_symbolname` for variables
|
|
||||||
|
Loading…
Reference in New Issue
Block a user