2023-10-26 19:51:20 +02:00
|
|
|
# Project details
|
|
|
|
## Address Space
|
2023-12-08 00:13:50 +01:00
|
|
|
|Name|From|To|r/w|
|
|
|
|
|---|---:|---:|:---:|
|
|
|
|
|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 `|
|
2023-10-26 19:51:20 +02:00
|
|
|
|
|
|
|
## Naming conventions
|
|
|
|
leading underscors `_` indicate a "private" label/variable, that is meant for internal use within the module only.
|
|
|
|
### Labels
|
2023-12-08 00:13:50 +01:00
|
|
|
- **scopes**: snake case
|
|
|
|
- **subroutines** and **variables**: snake case (`scope::(_)fname_snake_case` or `scope::(_)varname_2`)
|
|
|
|
- **macros**: camel case (`(_)GoodMacroname`)
|
|
|
|
- **constants** (eg. in ROM): upper case (`scope::(_)NICE_SYMBOLNAME`)
|