6502-NES-easy-projects
所属分类:其他
开发工具:Assembly
文件大小:0KB
下载次数:0
上传日期:2023-09-11 21:56:41
上 传 者:
sh-1993
说明: 一组评论强烈的.asm文件,用于帮助学习任天堂娱乐系统的6502汇编,
(A collection of heavily commented .asm files for assistance in learning 6502 assembly for the Nintendo Entertainment System,)
文件列表:
.vscode/ (0, 2023-09-13)
.vscode/tasks.json (915, 2023-09-13)
assets/ (0, 2023-09-13)
assets/palette_ntsc.png (48601, 2023-09-13)
assets/text.png (2215, 2023-09-13)
boilerplate.asm (2043, 2023-09-13)
hello.asm (7105, 2023-09-13)
simple.asm (3137, 2023-09-13)
text.chr (8192, 2023-09-13)
workspace.code-workspace (60, 2023-09-13)
# Simple NES .asm files for study
## How to assemble
Step 1: Assemble asm file into an object file
**ca65 file.asm -o file.o -t nes**
Step 2: link the object file to the nes target (yields a .NES rom for use with emulator, tested on Fceux)
**ld65 file.o -o file.nes -t nes**
###
1. **simple.asm**
Heavily commented NES code that will assemble into a rom. Does nothing.
2. **hello.asm**
Heavily commented NES code that will assemble into a rom. Displays 'HELLO WORLD' on screen.
3. **boilerplate.asm**
Same as hello.asm but with the majority of comments removed - boiler plate code ready for expansion into something more complex.
###
Links
## FCEUX:
Emulator used for testing
https://fceux.com/web/home.html
## CC65 (CA65)
Assembler used
https://www.cc65.org/
### Font
This is the font sprites within text.chr
![image of font](https://github.com/assets/text.png)
### NTSC palette
This is a reference for the NES NTSC palette
![image of font](https://github.com/assets/palette_ntsc.png)
近期下载者:
相关文件:
收藏者: