Search found 129 matches
- Wed Dec 15, 2010 6:35 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
As it were, IB CS forces students to use Java. Now I'm not 100% certain, but I've got $20 saying the ca65 is not written in Java. For the curious, the criteria are as follows: 1) Arrays 2) User-Defined Objects 3) Objects As Data Records 4) Simple Selection (if-else) 5) Complex Selection (nested if, ...
- Wed Dec 15, 2010 5:52 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
- Wed Dec 15, 2010 5:48 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
As someone pointed out, you're talking about a assembler, not a compiler. There's already great assemblers out there. You might want to focus just on the optimizations - instead of generating code and warnings, just generate warnings. Much like lint. Then people could run their code through your to...
- Wed Dec 15, 2010 5:20 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
- Wed Dec 15, 2010 4:27 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
I'd be very pissed if my assembler filtered out one of the writes, as that would produce a very hard to find bug. Well to be fair, I could program the optimization to recognize necessary double writes, seemingly useless reads, etc. Also, I'm not necessarily saying the compiler will have carte blanc...
- Wed Dec 15, 2010 4:06 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
- Wed Dec 15, 2010 1:31 pm
- Forum: General Stuff
- Topic: Desired Compiler Features
- Replies: 32
- Views: 7671
Desired Compiler Features
I am currently planning a 6502 compiler for a few reasons: 1) I'm kind of annoyed by different features or the lack thereof with different compilers. 2) I'm in an IB CS class and have to write a program for my final so I figured I'd go with something I might actually use and like. On the note of the...
- Wed Dec 15, 2010 4:27 am
- Forum: nesdevWiki
- Topic: Wiki Error?
- Replies: 7
- Views: 8713
- Tue Dec 14, 2010 5:12 pm
- Forum: nesdevWiki
- Topic: Wiki Error?
- Replies: 7
- Views: 8713
Wiki Error?
http://wiki.nesdev.com/w/index.php/PPU_registers#Mask_.28.242001.29_.3E_write The line states that writing #$30 to $2001 will produce a monochrome display. It seems that is incorrect. Writing #$1F will produce the monochrome display. Writing #$30 will only remove the background rendering and intensi...
- Sun Dec 12, 2010 6:12 pm
- Forum: Newbie Help Center
- Topic: Start Menu
- Replies: 13
- Views: 4290
Re: Start Menu
That is actually what I was talking about doing.tokumaru wrote:In my games, each module (which is a separate ASM file) has an initialization area followed by a loop.67726e wrote:What are the negatives to this approach?
- Sun Dec 12, 2010 12:00 pm
- Forum: Newbie Help Center
- Topic: Start Menu
- Replies: 13
- Views: 4290
Start Menu
How do you typically place your start menu in your code? My start menu is just your typical 'Press Start' so I figured I would just put a small loop at the beginning that ends when the user presses start and from then on, the real code is done unless of course the game ends in which case it all just...
- Fri Dec 10, 2010 3:41 pm
- Forum: Newbie Help Center
- Topic: NESASM3 Doesn't Use Zero-Page?
- Replies: 26
- Views: 8585
I'd say that is kind of iffy. I mean I would very well expect my C++ compiler to make basic optimizations and so I expected the same out of NESASM. I'd never seen anything in the documentation about it so I figured it was one of those trivial little things that the compiler takes care of, but I was ...
- Thu Dec 09, 2010 6:21 pm
- Forum: Newbie Help Center
- Topic: NESASM3 Doesn't Use Zero-Page?
- Replies: 26
- Views: 8585
The OP asked for the source, and I thought he'd just use the source to privately fix it. Indeed I'm not sure what it's going to take for people to actually sit down and read the documentation that's associated with the tools they use. If the tool doesn't come with any documentation, don't use it --...
- Wed Dec 08, 2010 5:53 pm
- Forum: Newbie Help Center
- Topic: NESASM3 Doesn't Use Zero-Page?
- Replies: 26
- Views: 8585
- Wed Dec 08, 2010 5:22 pm
- Forum: Newbie Help Center
- Topic: NESASM3 Doesn't Use Zero-Page?
- Replies: 26
- Views: 8585
I think it requires you to use special syntax with the Low Byte ( < ) operator. Something like #<$40 or something, but this is just what I remember hearing about that tool. I just use ASM6 and not worry about that kind of stuff. That worked like a charm, although in this situation I was using label...