1
0
mirror of https://github.com/safiire/n65.git synced 2024-12-12 15:29:12 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
Safiire
7ffd2dc8ac Removed all trailing whitespace 2015-04-11 21:03:13 -07:00
Safiire
d6a9f7ac7d A few little updates, comment cleanup, removal of commented code 2015-03-31 13:14:30 -07:00
Safiire
1013280f9e Made n65 into a RubyGem 2015-03-31 02:50:55 -07:00
Safiire
58eab7dd6f Moving music driver to examples 2015-03-31 02:10:27 -07:00
Safiire
7b2c90d621 Still messing with midi to nes feature 2015-03-31 01:58:27 -07:00
Safiire
a5a86d6b60 Adding an example of making an A power chord using the A and B buttons and pulse1 and pulse2 2015-03-30 18:10:44 -07:00
Safiire
eeaeec1b84 Updated readme 2015-03-29 10:23:58 -07:00
Safiire
6e655963f7 Renaming the program to n65 2015-03-29 10:19:19 -07:00
Safiire
dc60139aaa Improvement to the .bytes directive, can now take hex literals, binary literals, and symbols both zero page and 16-bit 2015-03-29 10:01:41 -07:00
Safiire
2736408a14 Disabled writing the symbol table to a file, as it is not usually nessessary 2015-03-27 16:36:11 -07:00
Safiire
7e5cf3ca48 Updating sound engine source with minor changes 2015-03-27 16:33:53 -07:00
Safiire
97205a826c Updated readme 2015-03-27 15:58:23 -07:00
Safiire
483c4d13d1 Adding first version of a MIDI to NES converter and sound engine 2015-03-27 15:50:13 -07:00
Safiire
1de5b9c8ad Let's change the name of nes.sprite to nes.oam, since it really points to Object Attribute Memory 2015-03-22 16:04:30 -07:00
Safiire
ee643af3ef Binary literals are now working 2015-03-22 15:52:13 -07:00
Safiire
2d0495fc83 Updated the source in the examples to be somewhat more clear 2015-03-22 10:53:45 -07:00
Safiire
a48d10474e Fixed an issue with referencing outer scoped symbols 2015-03-22 00:55:14 -07:00
Safiire
411e8b9873 Added another example 2015-03-21 18:31:44 -07:00
Safiire
e54e5b17fb Still messing with the symbol names in neslib 2015-03-15 03:47:48 -07:00
Safiire
e5ef0fac5f Updated my nes symbol library, register names, fixed a problem with hex numbers 2015-03-14 05:01:27 -07:00
Safiire
1b12e0216d Pointing out a bug for later 2015-03-13 14:55:25 -07:00
Safiire
5579919db5 Minor correction to comment 2015-03-13 13:14:41 -07:00
Safiire
ca8ebf7b9d Removed a mistake in the demo.asm 2015-03-12 18:12:45 -07:00
Safiire
6d3401b2a5 Added .inc directive, and created a NES symbols include file 2015-03-12 11:46:59 -07:00
Safiire
0c6c8ab80e Added zp suffix to explicitly force zero page instructions when using symbols 2015-03-12 08:54:59 -07:00
Safiire
8e788a19d1 We can now create C like structs using .scope and .space, however, when we load zero page values from the symbol table, they create absolute addressed instructions, so that needs to be fixed 2015-03-05 21:55:13 -08:00
Safiire
17dcd185c8 Fixed anonymous scopes 2015-03-05 18:49:44 -08:00
Safiire
4a7445c236 Organizing some of the files 2015-03-05 17:26:29 -08:00
Safiire
dfb4410497 Updated the demo, realized anonymous scopes don't work right :( 2015-03-05 17:21:51 -08:00
Safiire
8f2500dd60 I made it so starting a named scope serves the dual purpose of creating a symbolic reference to the current PC 2015-03-05 16:53:55 -08:00
Safiire
4edbff55a5 Added scope directive 2015-03-05 13:45:19 -08:00
Safiire
419617382b Updating readme 2015-03-05 13:20:58 -08:00
Safiire
2c938f7312 This is s a big rewrite including: A scoped symbol table, segment and
bank management, Use of promises to resolve symbols that are used before
they are defined.  A base class for all instructions and assembler
directives.  Hopefully my scoped symbols can be used to create C like
data structures in the zero page, ie sprite.x   New code to prodce the
final ROM.  Basically everything was rewritten.
2015-03-05 12:33:56 -08:00
Safiire
4235742c7d Creating a symbol table that has scope 2015-03-04 04:20:18 -08:00
Safiire
2dca12a519 Updating the demo.asm 2015-03-02 21:27:53 -08:00
Safiire
d67d1a6693 Adding an example of making noise 2015-02-28 17:44:11 -08:00
Safiire
602ff6754d Updating some of the demo asm files 2015-02-28 17:43:43 -08:00
Safiire
8f01494fbb Trying to re-organize my classes, and add a base class for objects which can emit_bytes to the ROM 2015-02-24 17:37:00 -08:00
Safiire
3dc1c22aae Separated the frontend commandline stuff from the actual assembler 2015-02-24 16:43:50 -08:00
Safiire
dfda652a51 Trying to get the tests working again after some changes 2015-02-24 15:56:38 -08:00
Safiire
4e90b7a250 Moving some things around in the demo code 2015-02-24 01:25:09 -08:00
Safiire
4bc880eb37 Trying to make the demo asm a bit nicer, before moving onto treetop parser 2015-02-23 23:46:53 -08:00
Safiire
337688b456 Made error messages a bit better, error on mapper other than 0, fixed scrolling in demo 2015-02-23 00:24:57 -08:00
Safiire
2cf2680aaa Fixed the scroll demo, made the sprite move correctly 2015-02-22 23:57:05 -08:00
Safiire
8752d7afac A kind of better ROM assembly... 2015-02-22 22:49:30 -08:00
Safiire
eaa80000b2 Can use lower case instruction names and hex now 2015-02-22 18:49:24 -08:00
Safiire
e661393e6e update readme 2015-02-22 18:01:27 -08:00
Safiire
8d3d3a44fb Update readme 2015-02-22 17:52:39 -08:00
Safiire
240f8d4248 Updated readme 2015-02-22 17:51:31 -08:00
Safiire
210cf3c460 Updated the readme, added a version number, and some todos, explaination about the state of banks and mappers 2015-02-22 17:49:45 -08:00