mirror of
https://github.com/safiire/n65.git
synced 2024-12-13 06:29:16 +00:00
Updated README
This commit is contained in:
parent
427b676502
commit
e92101fcdf
16
README.md
16
README.md
@ -1,8 +1,6 @@
|
|||||||
# assembler6502
|
# assembler6502
|
||||||
|
|
||||||
An assembler for the 6502 microprocessor written in Ruby
|
An NES assembler for the 6502 microprocessor written in Ruby
|
||||||
|
|
||||||
6502 Assembler
|
|
||||||
|
|
||||||
Usage: ./assembler\_6502.rb <infile.asm> -o outfile.nes
|
Usage: ./assembler\_6502.rb <infile.asm> -o outfile.nes
|
||||||
|
|
||||||
@ -20,20 +18,21 @@ An assembler for the 6502 microprocessor written in Ruby
|
|||||||
where labels were used.
|
where labels were used.
|
||||||
|
|
||||||
I have used this to compile some code for the NES, and it ran correctly
|
I have used this to compile some code for the NES, and it ran correctly
|
||||||
on FCEUX, got it to make some sounds, etc.
|
on FCEUX, got it to make some sounds, load tiles, sprites, and scrolling.
|
||||||
|
|
||||||
Some Todos:
|
Some Todos:
|
||||||
- I need to add the #\<$800 and #\>$800 style operators to select the
|
|
||||||
MSB and LSB of immediate values during assembly.
|
|
||||||
- I may make this into a Rubygem
|
- I may make this into a Rubygem
|
||||||
- Maybe I can put some better error messages.
|
- Maybe I can put some better error messages.
|
||||||
- I should just make a 6502 CPU emulator probably now too.
|
- Should I also make a 6502 Emulator in Ruby?
|
||||||
|
|
||||||
Some new additions:
|
Some new additions:
|
||||||
|
- Ported NES101 tutor to this assembler.
|
||||||
|
- Added msb and lsb byte selectors on address labels
|
||||||
- added .org directive
|
- added .org directive
|
||||||
- added .dw directive
|
- added .dw directive
|
||||||
- added .bytes directive
|
- added .bytes directive
|
||||||
- added .incbin directive
|
- added .incbin directive
|
||||||
|
- added .ascii directive
|
||||||
- Invented my own iNES header directive that is JSON
|
- Invented my own iNES header directive that is JSON
|
||||||
- Split the project up into separate files per class
|
- Split the project up into separate files per class
|
||||||
- Wrote some more unit tests
|
- Wrote some more unit tests
|
||||||
@ -47,6 +46,3 @@ their correct places, and then after resolving symbols during the second pass,
|
|||||||
I just clip out the Cartridge ROM area and iNES header at the end, works great
|
I just clip out the Cartridge ROM area and iNES header at the end, works great
|
||||||
so far.
|
so far.
|
||||||
|
|
||||||
Next up I will port some more tutorials that use sprites and use controller input
|
|
||||||
and sound all together.
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user